C#关闭当前窗口打开新窗口

using System.Threading;

Thread th=new Thread(delegate(){new YourForm().ShowDialog();});
th.Start();
原文地址:https://www.cnblogs.com/JoshuaDreaming/p/1889070.html