Communicate between two windows forms in C#

后端 未结 12 1763
温柔的废话
温柔的废话 2020-11-21 04:40

I have two forms, one is the main form and the other is an options form. So say for example that the user clicks on my menu on the main form: Tools -> Options

12条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-21 05:39

    Create a Class and put all your properties inside the class .. Create a Property in the parent class and set it from your child (options) form

提交回复
热议问题