示例#1
0
 protected void DeleteButon_Click(object sender, EventArgs e)
 {
     if (PreparedReportsView.SelectedDataKey != null)
     {
         DeleteMessageBox.Show();
     }
 }
示例#2
0
        /// ------------------------------------------------------------------------------------
        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);
        }
示例#4
0
 public void Delete_Click()
 {
     DeleteMessageBox.Show();
 }
示例#5
0
 protected void Delete_Click()
 {
     DeleteMessageBox.Show();
 }