Beispiel #1
0
 private void BTN_Edit_Click(object sender, EventArgs e)
 {
     if (Form2 == null || Form2.IsDisposed)
     {
         Form2 = new FormAdd(this);
     }
     Form2.Show(dataGridView1.CurrentRow, dataGridView1.CurrentRow.Index);
 }
Beispiel #2
0
 private void BTN_Add_Click(object sender, EventArgs e)
 {
     Form2 = new FormAdd(this);
     Form2.Show();
 }