private void Open_Executed(object sender, ExecutedRoutedEventArgs e) { if (OpenClicked != null) { OpenClicked.Invoke(); } }
private async Task Open() { if (EqualityComparer <TValue> .Default.Equals(_value, default(TValue))) { return; } var openArgs = new ComboBoxOpenArgs <TValue>() { Id = Id, Text = _inputValue, Value = _value }; await OpenClicked.InvokeAsync(openArgs); }
private void ToolStripButtonOpenFile_Click(object sender, EventArgs e) { OpenClicked?.Invoke(this, EventArgs.Empty); }
private void ContextMenu_Open_Click(object sender, EventArgs e) { OpenClicked?.Invoke(); }
private void openMenuItem_Click(object sender, RoutedEventArgs e) { OpenClicked?.Invoke(sender, e); }