private void removeSlice_Click(object sender, EventArgs e) { if (RemoveClicked != null) { RemoveClicked.Invoke(this, EventArgs.Empty); } }
public PermissionViewBase(IPermission permission) { InitializeComponent(); Permission = permission; btRemove.Click += (o, e) => RemoveClicked?.Invoke(this); btSelect.Click += (o, e) => OnSelectClick(); btAllowRead.Click += (o, e) => ChangeReadAllowed(); Refresh(); }
public override void Execute(object parameter) { switch (parameter) { case "Remove": RemoveClicked?.Invoke(this); break; } }
private async Task OnDeleteTxButtonClicked() { var res = await Application.Current.MainPage.DisplayAlert(AppResources.Warning, AppResources.RemoveTxWarning, AppResources.AcceptButton, AppResources.CancelButton); if (!res) { return; } RemoveClicked?.Invoke(this, new TransactionEventArgs(Transaction)); }
/// <summary> /// Fires the RemoveCLicked event. /// </summary> protected virtual void OnRemoveClick() { RemoveClicked?.Invoke(this, EventArgs.Empty); OnListChanged(); }
private void Remove_Clicked(TrakHound_UI.Button bt) { RemoveClicked?.Invoke(this); SettingChanged?.Invoke(); }
private void Remove_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { RemoveClicked?.Invoke(); }
private void RemoveButtonClicked(object sender, System.EventArgs e) { RemoveClicked?.Invoke(this); }
void ClearClicked(object sender, EventArgs e) { RemoveClicked?.Invoke(this, e); }
private void RemoveClick(object sender, RoutedEventArgs e) { RemoveClicked?.Invoke(this); }
private void removeButton_Click(object sender, EventArgs e) { RemoveClicked?.Invoke(this, e); }
private void Script_RemoveClicked(ScriptItem source) { RemoveClicked?.Invoke(source.Script); }
private void Button_Click(object sender, RoutedEventArgs e) { RemoveClicked?.Invoke(); }
private void btnRemove_Click(object sender, EventArgs e) { RemoveClicked?.Invoke(this, e); }
private void Remove_Clicked(object sender, Windows.UI.Xaml.RoutedEventArgs e) { RemoveClicked?.Invoke(this, ViewModel); }