Example #1
0
 private void dataGridView1_DoubleClick(object sender, EventArgs e)
 {
     var f = new FrmAdd();
     f.MemberId = _members.Rows[dataGridView1.SelectedRows[0].Index]["MemberId"].ToString();
     f.OpState = OpStateEnum.Edit;
     f.ShowDialog();
 }
Example #2
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     var f=new FrmAdd();
     f.OpState= OpStateEnum.Add;
     f.Show(this);
 }