private void toolStripMenuEdit_Click(object sender, EventArgs e) { Form_Edit_New form = new Form_Edit_New(this, this.selectedMembers); form.ShowDialog(); }
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(); } }
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(); } }
private void btnAdd_Click(object sender, EventArgs e) { Form_Edit_New form = new Form_Edit_New(this, null); form.ShowDialog(); }