[英]Open new child form from onother child Form By Button Click Event Windows application c#
先生,我在Windows应用程序C#.net中有一个MDI窗体和两个子窗体Form1和Form2,并且我想转到Form2。在MDI Conainer Plese中,必须单击Form1和Form2的Button单击事件。解决方案...。在此先感谢
Get Form1 to tell its parent to create or go to Form2. 获取Form1告诉其父级创建或转到Form2。 If it needs information from Form1 you'll need to send that along with the request or keep the information globally (eg static field). 如果它需要来自Form1的信息,则需要将其与请求一起发送,或将信息全局保存(例如,静态字段)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.