예제 #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedRows.Count != 0)
     {
         Fakultet          f   = (Fakultet)dataGridView1.CurrentRow.DataBoundItem;
         DodajFakultetForm dnf = new DodajFakultetForm(f);
         dnf.Show();
     }
     else
     {
         MessageBox.Show("Izaberite fakultet za izmenu!");
     }
 }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            DodajFakultetForm dff = new DodajFakultetForm();

            dff.Show();
        }