private void bbiNew_ItemClick(object sender, ItemClickEventArgs e) { var uc = new XtraFormAddUpdateEducator(); if (uc.ShowDialog() == DialogResult.OK) { } LoadData(); }
private void Edit() { var uc = new XtraFormAddUpdateEducator(); var edu = gridView.GetFocusedRow() as Educator; DataCheck(edu); uc.Pass(edu); if (uc.ShowDialog() == DialogResult.OK) { } }