先后顺序输出

xiaoxiao2021-03-01  10

 

using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace 三层1 { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); loginFrm lFrm = new loginFrm(); //先new一个 lfrm,只有lfrm执行成功后,才能执行Form1 if (lFrm.ShowDialog() == DialogResult.OK) { Application.Run(new Form1(lFrm.CurrentUser)); } } } }

 

转载请注明原文地址: https://www.6miu.com/read-3100232.html

最新回复(0)