且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

c#中其他表单的访问选项卡控件

更新时间:2023-11-04 22:24:58

在构造函数中将 Form1 的实例传递给 Form2.现在使用 form1 实例调用 form2 按钮事件中的公共方法.

Pass the instance of Form1 to Form2 in the constructor. Now call the public method in form2 button event by using form1 instance.