Esempio n. 1
0
 private void toolStripMenuEdit_Click(object sender, EventArgs e)
 {
     Form_Edit_New form = new Form_Edit_New(this, this.selectedMembers);
     form.ShowDialog();
 }
Esempio n. 2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (this.selectedMembers.Count == 0)
     {
         ErrorMessageBox errorMessageBox = new ErrorMessageBox(this, "No selection made");
         errorMessageBox.ShowDialog();
     }
     else
     {
         Form_Edit_New form = new Form_Edit_New(this, this.selectedMembers);
         form.ShowDialog();
     }
 }
Esempio n. 3
0
 private void rowDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         this.dataGridView.Rows[e.RowIndex].Selected = true;
         Form_Edit_New form = new Form_Edit_New(this, this.selectedMembers);
         form.ShowDialog();
     }
 }
Esempio n. 4
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     Form_Edit_New form = new Form_Edit_New(this, null);
     form.ShowDialog();
 }