示例#1
0
        public Host_Server(Server_Browser browser)
        {
            InitializeComponent();
            this.browser = browser;

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

            browser.Hide();
        }
示例#2
0
文件: Lobby.cs 项目: pnill/T4Browser
        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();
 }