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

  • Home
  • SEARCH
  • 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 8943405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:45:40+00:00 2026-06-15T11:45:40+00:00

I have two forms Form1 and Form2. Form2 is inheriting from Form1. What I

  • 0

I have two forms Form1 and Form2. Form2 is inheriting from Form1.

What I need to do is have Form2 the same as Form 1 and add some features to it, other labels and textboxes. However this is giving me problems.

  1. I can’t access features of Form1 from Form2

  2. There are certain features which I deleted from form 1 before I created Form 2 and they are still being inherited in my Form2. I can’t delete them from there and I have no idea how they remained there!

  3. Also I don’t know why, from the time I created this inheritance, Visual Studio is stopping working every time.

  • 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-15T11:45:41+00:00Added an answer on June 15, 2026 at 11:45 am

    You can’t access the features of Form1 from Form2 because the designer generates the members with private access modifier. To access you must set for members protected access modifier.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two forms and form1 needs to get data from form2 , i
I have two form classes inheriting from a common base. One of the forms
Lets assume I have two forms Form1 and Form2 . I need to show
I have two forms Form 1 and Form 2. Form 2 is inheriting from
I have two forms Form1 and Form2 I am opening Form2 from Form1 on
Let say I have are two WPF forms: Form1 and Form2 . Form1 contains
I have two forms in my project, form1 and form2. I have added a
I have application in VB.net that have two different form (Form1 and Form2). Now
I have two forms (Form1 and Form2). On Form1 there is a 'public int
I have two forms. Form1 and Form2. SerialPort variable is declared in Form1.cs public

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.