private void dgvHoteli_MouseDoubleClick(object sender, MouseEventArgs e) { var id = dgvHoteli.SelectedRows[0].Cells[0].Value; frmHoteliDetalji frm = new frmHoteliDetalji(int.Parse(id.ToString())); frm.Show(); }
private void btnNovihotel_Click(object sender, EventArgs e) { frmHoteliDetalji frm = new frmHoteliDetalji(); frm.Show(); }