Beispiel #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new Form1());

            //登录窗体
            var login = new FrmLogin();
            login.ShowDialog();
            if (login.DialogResult != DialogResult.OK)
                return;

            //主窗体
            Application.Run(FrmMainClient.Form);
        }