Пример #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            ServerSideMenu serverForm = new ServerSideMenu();

            //Run the server startup form
            Application.Run(serverForm);

            if (serverForm.confirm.answer == 1)
            {
                //Start the server
                Application.Run(new GameServerForm());
            }
        }
 public ServerSideConfirm(ServerSideMenu _sMenu)
 {
     SMenu = _sMenu;
     InitializeComponent();
 }