Beispiel #1
0
        private void btn_add_Click(object sender, EventArgs e)
        {
            Namirnice kalorije = new Namirnice(1);

            kalorije.ShowDialog();
            RefreshData();
        }
Beispiel #2
0
 private void btn_namirnice_Click(object sender, EventArgs e)
 {
     if (namirnice == null || namirnice.IsDisposed)
     {
         namirnice = new Namirnice();
         namirnice.Show();
     }
     else
     {
         namirnice.BringToFront();
     }
 }
Beispiel #3
0
        //eventi
        private void btn_namirnice_Click(object sender, EventArgs e)
        {
            Namirnice kalorije = new Namirnice();

            kalorije.ShowDialog();
        }