private void dgvKorisnici_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { var item = dgvKorisnici.SelectedRows[0].DataBoundItem; // frmKorisniciDetails frm = new frmKorisniciDetails(item as Korisnici); frm.ShowDialog(); }
private void noviKorisnikToolStripMenuItem_Click(object sender, EventArgs e) { frmKorisniciDetails frm = new frmKorisniciDetails(); frm.Show(); }
private void btnNoviKorisnik_Click(object sender, EventArgs e) { frmKorisniciDetails frm = new frmKorisniciDetails(); frm.ShowDialog(); }