Пример #1
0
        private void btnDodajStudenta_Click(object sender, EventArgs e)
        {
            NoviStudent frmNoviStudent = new NoviStudent();

            frmNoviStudent.ShowDialog();
            OsvjeziStudente();
        }
Пример #2
0
        private void btnDodajStudenta_Click(object sender, EventArgs e)
        {
            Tim         odabraniTim = dgvTimovi.SelectedRows[0].DataBoundItem as Tim;
            NoviStudent frmNoviTim  = new NoviStudent(odabraniTim.Id);

            frmNoviTim.ShowDialog();
        }
Пример #3
0
 private void btnIzmijeniStudenta_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedRows.Count > 0)
     {
         Student     odabraniStudent = dataGridView1.SelectedRows[0].DataBoundItem as Student;
         NoviStudent frmNoviStudent  = new NoviStudent(odabraniStudent);
         frmNoviStudent.ShowDialog();
         OsvjeziStudente();
     }
 }