Beispiel #1
0
        private void btnDodajTim_Click(object sender, EventArgs e)
        {
            NoviTim frmNoviTim = new NoviTim();

            frmNoviTim.ShowDialog();
            OsvjeziTimove();
        }
Beispiel #2
0
 private void btnIzmijeniTim_Click(object sender, EventArgs e)
 {
     if (dgvTimovi.SelectedRows.Count > 0)
     {
         Tim     odabraniTim = dgvTimovi.SelectedRows[0].DataBoundItem as Tim;
         NoviTim frmNoviTim  = new NoviTim(odabraniTim);
         frmNoviTim.ShowDialog();
         OsvjeziTimove();
     }
 }