Beispiel #1
0
        private void actionNovi_Click(object sender, EventArgs e)
        {
            NovaBlagajna user = new NovaBlagajna();

            user.ShowDialog();
            PrikaziBlagajne();
        }
Beispiel #2
0
 private void actionUredi_Click(object sender, EventArgs e)
 {
     if (outputBlagajne.CurrentRow != null)
     {
         NovaBlagajna forma = new NovaBlagajna(outputBlagajne.CurrentRow.DataBoundItem as Blagajna);
         forma.ShowDialog();
         PrikaziBlagajne();
     }
     else
     {
         MessageBox.Show("Niste odabrali blagajnu!");
     }
 }