Example #1
0
 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();
 }
Example #3
0
 public override void Execute(object parameter)
 {
     switch (parameter)
     {
     case "Remove":
         RemoveClicked?.Invoke(this);
         break;
     }
 }
Example #4
0
        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));
        }
Example #5
0
 /// <summary>
 /// Fires the RemoveCLicked event.
 /// </summary>
 protected virtual void OnRemoveClick()
 {
     RemoveClicked?.Invoke(this, EventArgs.Empty);
     OnListChanged();
 }
Example #6
0
        private void Remove_Clicked(TrakHound_UI.Button bt)
        {
            RemoveClicked?.Invoke(this);

            SettingChanged?.Invoke();
        }
 private void Remove_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     RemoveClicked?.Invoke();
 }
Example #8
0
 private void RemoveButtonClicked(object sender, System.EventArgs e)
 {
     RemoveClicked?.Invoke(this);
 }
Example #9
0
 void ClearClicked(object sender, EventArgs e)
 {
     RemoveClicked?.Invoke(this, e);
 }
Example #10
0
 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);
 }
Example #13
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     RemoveClicked?.Invoke();
 }
 private void btnRemove_Click(object sender, EventArgs e)
 {
     RemoveClicked?.Invoke(this, e);
 }
Example #15
0
 private void Remove_Clicked(object sender, Windows.UI.Xaml.RoutedEventArgs e)
 {
     RemoveClicked?.Invoke(this, ViewModel);
 }