private void bCreate_Click(object sender, EventArgs e) { PartnerEditor iEdt = new PartnerEditor(); iEdt.ShowDialog(); LoadData(); }
private void bEdit_Click(object sender, EventArgs e) { PartnerEditor iEdt = new PartnerEditor(); iEdt.PartnerId = GetSelectedItemId(dataGridView1); iEdt.ShowDialog(); LoadData(); }