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

            Select_Server_UI loginForm = new Select_Server_UI();

            Application.Run(loginForm);
            if (loginForm.DialogResult == DialogResult.OK)
            {
                Test_Client do_Login = new Test_Client();
                do_Login.clientSocket  = loginForm.clientSocket;
                do_Login.strServerName = loginForm.strServerName;

                do_Login.ShowDialog();
            }
        }
Beispiel #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Select_Server_UI loginForm = new Select_Server_UI();

            Application.Run(loginForm);
            if (loginForm.DialogResult == DialogResult.OK)
            {
                Test_Client do_Login = new Test_Client();
                do_Login.clientSocket = loginForm.clientSocket;
                do_Login.strServerName = loginForm.strServerName;

                do_Login.ShowDialog();
            }
        }