Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7784919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:10:21+00:00 2026-06-01T20:10:21+00:00

I have created a windows glass form that inherits from system.windows.forms.form and then I

  • 0

I have created a windows glass form that inherits from system.windows.forms.form and then I have placed it in a class library project.

I would now like to use this form in multiple other windows forms projects. How do I do this?

I have created a reference to the class library but I don’t know how to actually get the form.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T20:10:22+00:00Added an answer on June 1, 2026 at 8:10 pm

    It sounds like you want forms in your project to derive from your Glass Form from what I can tell.

    Make sure that your GlassForm class is public; eg.

    public class GlassForm : System.Windows.Forms.Form
    {
    }
    

    Now that you have verified it is public, for any form you wish to inherit from GlassForm, change the inherited class from Form to GlassForm. eg.

    public class MyForm : Form
    {
    }
    

    To

    public class MyForm : YourClassLibraryNamespace.GlassForm
    {
    }
    

    Your form will now derive from GlassForm and will act as such in the WinForm designer as well. If you just meant that you want to use the form in your project in a calling sense, you can do what Bob Horn stated.

    using YourClassLibraryNamespace;
    
    public class MyForm : Form
    {
        public void ShowGlassFormModal() {
            using (GlassForm form = new GlassForm()) {
                form.ShowDialog();
            }
        }
    
        public void ShowGlassForm() {
            new GlassForm().Show();
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a windows form application: A presentation library with several windows forms
I have created a Windows Forms application in C# that will make use of
I have created a setup project for a Windows Service that was written in
I have created a windows forms app that is very complex. What I am
I have created a Windows Forms Application project by Visual Studio.Net 2008. In order
So i have created Windows Form Application and made a library added a reference
I have created a Windows Forms GUI in C# that can display tabular data
I have created a Windows Service in VB.net for building xML from a database.
I have created a simple windows service that periodically checks a remote database via
I have created an application in windows form. Once I submit the application, the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.