private void ButtonConnect_Click(object sender, EventArgs e) { buttonConnect.Enabled = false; textboxServerAddress.Enabled = false; ConnectRequest?.Invoke(textboxServerAddress.Text); }
private void ConnectTo_Click(object sender, RoutedEventArgs e) { ConnectRequest.Invoke(this, ContainingVertex); }