Exemple #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;
                }
            }
        }
Exemple #2
0
        private void btnAddReminder_Click(object sender, EventArgs e)
        {
            EditReminderForm frmEditReminder = new EditReminderForm(0, PatientID);

            frmEditReminder.ShowDialog();
        }