/// <summary>
 /// Closes the form and connects to the server
 /// </summary>
 /// <param name="server"></param>
 private void Connect(Server server)
 {
     ServerConnect?.Invoke(this, new ServerConnectEventArgs()
     {
         Server = server
     });
     DialogResult = DialogResult.OK;
 }
Esempio n. 2
0
 private void InvokeServerConnectEvent()
 {
     ServerConnect?.Invoke(this, EventArgs.Empty);
 }