private void OnAddClick(object sender, EventArgs e) { MainInvestigation obj = new MainInvestigation(); if (MainInvestigationForm.ShowForm(obj)) { this.LoadListData(obj); } }
private void OnOpenClick(object sender, EventArgs e) { MainInvestigation obj = this.GetSelected(); if (obj != null) { obj.RefershData(); } if (MainInvestigationForm.ShowForm(obj)) { this.LoadListData(obj); } }