Example #1
0
        private void newDoctorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewDoctor newDoctor = new NewDoctor();

            newDoctor.ShowDialog();

            if (newDoctor.DialogResult == DialogResult.OK)
            {
                procedureBox.Items.Clear();
                DoctorProceduresList.Clear();
                ProceduresList.Clear();
                clearInfo();
                GetDoctors();
                loadDoctors();
                GetProcedures();
                loadProcedures();
                GetDoctorsProcedures();
                updateProcedure();
            }
        }
Example #2
0
        private void newDoctorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewDoctor newDoctor = new NewDoctor();
            newDoctor.ShowDialog();

            if (newDoctor.DialogResult == DialogResult.OK)
            {
                procedureBox.Items.Clear();
                DoctorProceduresList.Clear();
                ProceduresList.Clear();
                clearInfo();
                GetDoctors();
                loadDoctors();
                GetProcedures();
                loadProcedures();
                GetDoctorsProcedures();
                updateProcedure();
            }
        }