Пример #1
0
        public Host_Server(Server_Browser browser)
        {
            InitializeComponent();
            this.browser = browser;

            if (browser.lobby != null)
            {
                browser.lobby.Close();
            }

            browser.Hide();
        }
Пример #2
0
        public Lobby(string LobbyName, Server_Browser browser, string ip, int port, bool ishost, Host_Server hostf = null)
        {
            InitializeComponent();

            this.Text        = "Server Lobby - " + LobbyName;
            this.name        = LobbyName;
            this.browser     = browser;
            this.IP_Address  = ip;
            this.remote_port = port;
            this.host        = ishost;
            this.host_form   = hostf;
            this.player_name = browser.PlayerName;
        }
Пример #3
0
 public Player_Options(Server_Browser browser)
 {
     InitializeComponent();
     this.browse = browser;
     browse.Hide();
 }