public void ConnectManually() { int port = 0; if (Int32.TryParse(ManualServerPort, out port)) { ServerConnect.Connect(ManualServerAddress, port); } }
public void ConnectToSelectedServer() { ServerConnect.Connect(SelectedServer.Address, SelectedServer.Port); }