private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmVeteriner frm = new frmVeteriner(gridView1.GetFocusedRow() as VETERINER, this); frm.ShowDialog(); }
private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmVeteriner frm = new frmVeteriner(null, this); frm.ShowDialog(); }