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