private void btnAddNewObGroup_Click(object sender, EventArgs e) { FrmObGrInfo.wObGroup = new xObGroup(); var form = new FrmObGrInfo(); form.ShowDialog(); fillLstObGroups(); }
private void obGrEditForm() { try { if (wSelectedIndex == -1) { return; } else { FrmObGrInfo.wObGroup = _Dh.myObGroups[wSelectedIndex]; var frmObGrInfo = new FrmObGrInfo(); frmObGrInfo.ShowDialog(); } fillLstObGroups(); } catch (Exception ex) { _Dh.err_processor(ex); } }