Example #1
0
        private static void deleteColumn(object sender, System.EventArgs e)
        {
            var confirmResult = MessageBox.Show("Are you sure to delete " + colName + " Column?",
                                                "Confirm:",
                                                MessageBoxButtons.YesNo);

            if (confirmResult == DialogResult.Yes)
            {
                DatabaseFunct.RemoveColumn(colName, DGV);
                Program.mainForm.RecenterSubTables();
            }
        }