private void dgvEvents_DoubleClick(object sender, EventArgs e) { var eventId = (int)dgvEvents.SelectedRows[0].Cells[0].Value; var frm = new frmEvent(eventId); frm.Show(); }
private void btnNewEvent_Click(object sender, EventArgs e) { var frm = new frmEvent(); frm.Show(); }