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