Ejemplo n.º 1
0
        private void dodajToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DodajLigu dlform = new DodajLigu();

            dlform.ShowDialog();
            ucitajDGV();
        }
Ejemplo n.º 2
0
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            if (!Provera.chkIfSelected(dataGridView1))
            {
                return;
            }

            Liga l = dataGridView1.CurrentRow.DataBoundItem as Liga;

            DodajLigu lform = new DodajLigu();

            lform.UpdateItem = l;
            lform.ShowDialog();
            ucitajDGV();
        }