C#多窗体框架的窗体切换方法可以使用以下几种方式:
ChildForm childForm = new ChildForm();
childForm.Show();
this.Hide();
ChildForm childForm = new ChildForm();
childForm.ShowDialog();
ChildForm childForm = new ChildForm();
childForm.BringToFront();
ChildForm childForm = new ChildForm();
childForm.Visible = true;
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读:C#多窗体框架的窗体状态管理方法是什么