Пример #1
0
        private void DeleteCommand_Click(object sender, EventArgs e)
        {
            PopUpDel popUpDel2 = new PopUpDel(textBoxDel2.Text, "Do you want to delete the command :");

            popUpDel2.ShowDialog();
            this.InitDatagrid();
        }
Пример #2
0
        /***********************************************************************************************************************
        * Pre : receive the type of the winform sender (button,label,...) and the event apply to this sender as parameter     *
        * Post : Call the Delete Pop Up and call the initial datagrid when the popup is closed                                *
        ***********************************************************************************************************************/
        private void RowDelete_Click(object sender, EventArgs e)
        {
            PopUpDel popUpDel = new PopUpDel(textboxDel.Text, "Do you want to delete the part :");

            popUpDel.ShowDialog();
            this.InitDatagrid();
        }