private void bbiNew_ItemClick(object sender, ItemClickEventArgs e) { frmMjestoEdit fOE = new frmMjestoEdit(0); fOE.ShowDialog(); LoadData(); }
private void bbiEdit_ItemClick(object sender, ItemClickEventArgs e) { if (gridView.FocusedRowHandle > -1) { frmMjestoEdit fOE = new frmMjestoEdit((int)gridView.GetFocusedRowCellValue(gcID)); fOE.ShowDialog(); LoadData(); } }