Ejemplo n.º 1
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedRows.Count != 0)
     {
         Smestaj          s   = (Smestaj)dataGridView1.CurrentRow.DataBoundItem;
         DodajSmestajForm dnf = new DodajSmestajForm(s);
         dnf.Show();
     }
     else
     {
         MessageBox.Show("Izaberite smestaj za izmenu!");
     }
 }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            DodajSmestajForm dsf = new DodajSmestajForm();

            dsf.Show();
        }