protected void DeleteButon_Click(object sender, EventArgs e) { if (PreparedReportsView.SelectedDataKey != null) { DeleteMessageBox.Show(); } }
/// ------------------------------------------------------------------------------------ private static bool AskUserToVerifyRemovingFieldEverywhere(string id) { var msg = LocalizationManager.GetString("CommonToMultipleViews.FieldsAndValuesGrid.VerifyDeleteFieldQuestion", "Do you want to delete the field '{0}' and its contents from the entire project?"); using (var dlg = new DeleteMessageBox(string.Format(msg, id))) return(dlg.ShowDialog() == DialogResult.OK); }
public bool DeleteMessage() { DeleteMessageBox dbox = new DeleteMessageBox(); dbox.ParentContainer = this; dbox.ShowDialog(); var result = CanDelete; CanDelete = false; return(result); }
public void Delete_Click() { DeleteMessageBox.Show(); }
protected void Delete_Click() { DeleteMessageBox.Show(); }