Exemple #1
0
        private void bbiNew_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmMjestoEdit fOE = new frmMjestoEdit(0);

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