Beispiel #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();
            }
        }
Beispiel #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();
            }
        }