예제 #1
0
        private void ShowEditReminderForm(int reminderID, int patientID)
        {
            EditReminderForm frmEditReminder = new EditReminderForm(reminderID, patientID);

            if (frmEditReminder.ShowDialog() == DialogResult.OK)
            {
                LoadData();
                if (reminderID > 0)
                {
                    dgvReminder.Rows[m_EditedIndex].Cells[0].Selected = true;
                }
            }
        }
예제 #2
0
        private void btnAddReminder_Click(object sender, EventArgs e)
        {
            EditReminderForm frmEditReminder = new EditReminderForm(0, PatientID);

            frmEditReminder.ShowDialog();
        }