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

            frm.Show();
        }
Example #2
0
        private void btnNewEvent_Click(object sender, EventArgs e)
        {
            var frm = new frmEvent();

            frm.Show();
        }