private void newButton_Click(object sender, EventArgs e)
        {
            AddKorisnik frm = new AddKorisnik();

            frm.Show();
            BindGrid();
        }
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            Korisnik    k   = korisniciService.GetResponse2("?id=" + dataGridView1.SelectedRows[0].Cells[0].Value).Content.ReadAsAsync <Korisnik>().Result;
            AddKorisnik frm = new AddKorisnik(k);

            frm.Show();
        }
Beispiel #3
0
        private void addKorisnikToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddKorisnik frm = new AddKorisnik();

            frm.MdiParent = this;
            frm.Show();
        }