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