Esempio n. 1
0
 private void btn_add_Click(object sender, EventArgs e)
 {
     curr_index = -1;
     LoadAddEditForm ld_add = new LoadAddEditForm(this);
     ld_add.Owner = this;
     ld_add.ShowDialog();
 }
Esempio n. 2
0
 private void btn_edit_Click(object sender, EventArgs e)
 {
     curr_index = listView1.SelectedIndices[0];
     LoadAddEditForm gr_add = new LoadAddEditForm(this);
     gr_add.Owner = this;
     gr_add.ShowDialog();
 }