Referencing control on one form from another form

后端 未结 8 2037
轻奢々
轻奢々 2020-12-12 01:30

As you can guess, I\'m kind of new to .NET and just want to reference a control on one form from another.

Usually I would just do Form.Control.Property but that does

8条回答
  •  萌比男神i
    2020-12-12 02:02

    You need to ensure that the properties you add are public, or they will not be accessible by other classes.

提交回复
热议问题