public Schema() : base() { InstanceType = typeof(__FiFileUplo__); ClassName = "FileUploadFilePage"; Properties.ClearExposed(); FileName = Add <__TString__>("FileName"); FileName.DefaultValue = ""; FileName.SetCustomAccessors((_p_) => { return(((__FiFileUplo__)_p_).__bf__FileName__); }, (_p_, _v_) => { ((__FiFileUplo__)_p_).__bf__FileName__ = (System.String)_v_; }, false); FilePath = Add <__TString__>("FilePath"); FilePath.DefaultValue = ""; FilePath.SetCustomAccessors((_p_) => { return(((__FiFileUplo__)_p_).__bf__FilePath__); }, (_p_, _v_) => { ((__FiFileUplo__)_p_).__bf__FilePath__ = (System.String)_v_; }, false); FileSize = Add <__TLong__>("FileSize"); FileSize.DefaultValue = 0L; FileSize.SetCustomAccessors((_p_) => { return(((__FiFileUplo__)_p_).__bf__FileSize__); }, (_p_, _v_) => { ((__FiFileUplo__)_p_).__bf__FileSize__ = (System.Int64)_v_; }, false); FileSizeString = Add <__TString__>("FileSizeString"); FileSizeString.DefaultValue = ""; FileSizeString.SetCustomAccessors((_p_) => { return(((__FiFileUplo__)_p_).__bf__FileSizeString__); }, (_p_, _v_) => { ((__FiFileUplo__)_p_).__bf__FileSizeString__ = (System.String)_v_; }, false); DeleteClick = Add <__TLong__>("DeleteClick$"); DeleteClick.DefaultValue = 0L; DeleteClick.Editable = true; DeleteClick.SetCustomAccessors((_p_) => { return(((__FiFileUplo__)_p_).__bf__DeleteClick__); }, (_p_, _v_) => { ((__FiFileUplo__)_p_).__bf__DeleteClick__ = (System.Int64)_v_; }, false); DeleteClick.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.DeleteClick() { App = (FileUploadFilePage)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((FileUploadFilePage)pup).Handle((Input.DeleteClick)input); }); }
private void btnDelete_Click(object sender, EventArgs e) { if (DeleteClick != null) { DeleteClick.Invoke(this, new EventArgs()); } }
private void PopupMenu_MenuItemClick(object sender, PopupMenu.MenuItemClickEventArgs e) { popupMenu.Dismiss(); switch (e.Item.ItemId) { case Resource.Id.edit: var intent = new Intent(ItemView.Context, typeof(EditOutcomeActivity)); var content = JsonConvert.SerializeObject(outcomeModel); intent.PutExtra("OutcomeDetail", content); ItemView.Context.StartActivity(intent); break; case Resource.Id.delete: ((Activity)ItemView.Context).RunOnUiThread(() => { ItemView.Context.ShowConfirmDialog(Resource.String.confirm, Resource.String.delete_outcome, () => { var dialog = ItemView.Context.CreateDialog(Resource.String.deleting_outcome, Resource.String.wait); dialog.Show(); ((Activity)ItemView.Context).DoRequest(OutComesController.Instance.Delete(OutcomeModel), () => { dialog.Dismiss(); DeleteClick?.Invoke(OutcomeModel, e); ItemView.Context.ShowMessage(Resource.String.delete_outcome_success); }); }, () => { }).Show(); }); break; } }
private void buttonDelete_Click(object sender, EventArgs e) { var answer = MessageBox.Show("Are you sure?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (answer == DialogResult.Yes) { DeleteClick?.Invoke(this, EventArgs.Empty); } }
private void btnDelete_Click(object sender, EventArgs e) { if (XtraMessageBox.Show("Do you want to delete this word?", "Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes) { if (DeleteClick.IsNotNull()) { DeleteClick(this, Word); } } }
private void DeleteButton_Click(object sender, EventArgs e) { try { DeleteClick?.Invoke(this, new EventArgs()); } catch (BaseException ex) { ExceptionDialog.Show(ex); } }
private async void DeleteButton_OnClick(object sender, RoutedEventArgs e) { if (await new ContentDialog { Title = "Confirm", Content = "Are you sure?", PrimaryButtonText = "Yes", CloseButtonText = "No", DefaultButton = ContentDialogButton.Close }.ShowAsync() != ContentDialogResult.Primary) { return; } DeleteClick?.Invoke(this, _appointmentCalendarAdapter); }
private void PopupMenu_MenuItemClick(object sender, PopupMenu.MenuItemClickEventArgs e) { popupMenu.Dismiss(); switch (e.Item.ItemId) { case Resource.Id.edit: var intent = new Intent(ItemView.Context, typeof(EditFeeActivity)); var content = JsonConvert.SerializeObject(moneyState.MoneyModel); intent.PutExtra("MoneyDetail", content); ItemView.Context.StartActivity(intent); break; case Resource.Id.delete: ((Activity)ItemView.Context).RunOnUiThread(() => { ItemView.Context.ShowConfirmDialog(Resource.String.delete_fee, Resource.String.confirm_delete, () => { var dialog = ItemView.Context.CreateDialog("Deleting fee", "Please wait"); dialog.Show(); // delete ((Activity)ItemView.Context).DoRequest(Task.Run(async() => { await MoneysController.Instance.Delete(moneyState.MoneyModel); foreach (var userMoneyModel in UserMoneysController.Instance.Values.Where(x => x.MoneyId == moneyState.MoneyModel.Id)) { await UserMoneysController.Instance.Delete(userMoneyModel); } }), () => { DeleteClick?.Invoke("Success", null); dialog.Dismiss(); }); }, () => { }).Show(); }); break; } }
protected void Menu1_MenuItemClick(object sender, MenuEventArgs e) { if (ClearClick != null && e.Item.Text == "清除") { ClearClick.Invoke(e.Item, new EventArgs()); } if (EditClick != null && e.Item.Text == "編輯") { EditClick.Invoke(e.Item, new EventArgs()); } if (ExportClick != null && (e.Item.Text == "XLS" || e.Item.Text == "CSV")) { ExportClick.Invoke(e.Item, new EventArgs()); } if (ImportClick != null && e.Item.Text == "導入") { ImportClick.Invoke(e.Item, new EventArgs()); } if (SearchClick != null && e.Item.Text == "查找") { SearchClick.Invoke(e.Item, new EventArgs()); } if (NewClick != null && e.Item.Text == "新增") { NewClick.Invoke(e.Item, new EventArgs()); } if (DeleteClick != null && e.Item.Text == "刪除") { DeleteClick.Invoke(e.Item, new EventArgs()); } if (ApproveClick != null && e.Item.Text == "審核") { ApproveClick.Invoke(e.Item, new EventArgs()); } if (HelpClick != null && e.Item.Text == "幫助") { HelpClick.Invoke(e.Item, new EventArgs()); } }
private void PatternIcon_DeleteClick(object sender, RoutedEventArgs e) { DeleteClick?.Invoke(this, e); }
private void MenuItemDelete_OnClick(object sender, RoutedEventArgs e) { DeleteClick?.Invoke(this.DataListBox.SelectedItems[0] as MusicNotifyChanged); }
private void DeleteButton_Click(object sender, RoutedEventArgs e) { e.Handled = true; DeleteClick?.Invoke(this, e); }
protected virtual void OnDeleteClick(EventArgs e) { EditorSelector?.CurrentEditor.Delete(); DeleteClick?.Invoke(this, e); }
void OnDeletClick(DonorsAdapterClickEventArgs args) => DeleteClick?.Invoke(this, args);
void OnDeleteClick(InvitationAdapterClickEventArgs args) => DeleteClick?.Invoke(this, args);
protected virtual void OnDeleteClick(EditorEventArgs e) { DeleteClick?.Invoke(this, e); }
private void pictureBox5_Click(object sender, EventArgs e) // Delete test { DeleteClick?.Invoke(this); }
private void DeleteItem_Click(object sender, RoutedEventArgs e) { DeleteClick?.Invoke(sender, this.DataContext as AdminPlayerProfile); }
private void buttonDelete_Click(object sender, EventArgs e) { DeleteClick?.Invoke(sender, e); }
private void Delete(object sender, RoutedEventArgs e) { DeleteClick.Invoke(sender, e); }
private void btnDelete_Click(object sender, RoutedEventArgs e) { DeleteClick?.Invoke(); }
private void OccurrenceIcon_DeleteClick(object sender, RoutedEventArgs e) { DeleteClick?.Invoke(this, e); }
private void DeleteButtonOnClick(object sender, RoutedEventArgs e) { DeleteClick?.Invoke(sender, e); }
private void btnDelete_Click(object sender, EventArgs e) { DeleteClick?.Invoke(this, e); }
void OnDeleteClick(UserAdapterClickEventArgs args) => DeleteClick?.Invoke(this, args);
private void OnDeleteClick(int position) { DeleteClick?.Invoke(this, position); }
protected virtual void btnDelete_Click(object sender, EventArgs e) { DeleteClick?.Invoke(sender, InitPageabledEventArgs()); }