Hi lctk,
这里面社交到把一个类作为另外一个类的成员变量。
你可以Comonn这个类作为Helper的成员,然后在main窗体中new一个Helper实例出来。并且为窗体添加tabControl1_SelectedIndexChanged事件处理函数。
这样应该就可以了吧。
Best Regards,
Hart
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.