none
Button control doesn't appear from the inherited form RRS feed

  • Question

  • I made a base form which have 4 buttons and some other controls.

    And I created a form which inherited from the base form.

    If I open the inherited form, only one button appear and others doesn't.

    Can anybody give me some advice about this?

    Sunday, March 22, 2020 4:23 AM

All replies

  • Hi Jeff0803,

    I think the buttons on the base form will have access modifier protect instead of private, to change access modifier in VS take a look this way



    Please remember to mark the replies as answers if they helped you :) ~

    Sunday, March 22, 2020 12:13 PM
  • Hi Jeff,

    Thank you for posting here.

    I tried it many times according to your description, but did not encounter the problem you said.

    Could you please provide us with a simple code example that can reproduce this problem?

    We don't need real project, a simple test example is enough.

    Looking forward to your reply.

    Best Regards,

    Timon


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, March 23, 2020 6:30 AM