private void button3_Click(object sender, EventArgs e)
 {
     if (dogadjajBunifuCustomDataGrid.SelectedRows.Count > 0)
     {
         poddogadjaj             podd = (poddogadjaj)poddogadjajBindingSource.Current;
         KreirajPoddogadjajForma kpf  = new KreirajPoddogadjajForma(podd);
         kpf.Show();
     }
     else
     {
         MessageBox.Show("Niste selektovali nijedan poddogađaj.");
     }
 }
        private void button1_Click_1(object sender, EventArgs e)
        {
            KreirajPoddogadjajForma kppf = new KreirajPoddogadjajForma(dog);

            kppf.Show();
        }