Esempio n. 1
0
 private void btn_Add_Click(object sender, EventArgs e)
 {
     ViewEvent_Form add = new ViewEvent_Form("add");
     add.ShowDialog();
     ShowAll();
     ButtonEnabler();
 }
Esempio n. 2
0
 private void btn_Update_Click(object sender, EventArgs e)
 {
     ViewEvent_Form edit = new ViewEvent_Form("edit", EventGridView.SelectedRows[0].Cells[0].Value.ToString());
     edit.ShowDialog();
     ShowAll();
 }