Esempio n. 1
0
 private void btn_Position_Update_Click(object sender, EventArgs e)
 {
     if (dgv_Position_Manager.RowCount > 0)
     {
         string str = this.dgv_Position_Manager.SelectedCells[0].Value.ToString();
         AddAndUpdatePositionForm addAndUpdateForm = new AddAndUpdatePositionForm("UPDATE", str);
         addAndUpdateForm.Owner = this;
         addAndUpdateForm.ShowDialog();
     }
 }
Esempio n. 2
0
 private void btn_Position_Add_Click(object sender, EventArgs e)
 {
     AddAndUpdatePositionForm addAndUpdateForm = new AddAndUpdatePositionForm("ADD","0");
     addAndUpdateForm.Owner = this;
     addAndUpdateForm.ShowDialog();
 }