Exemplo n.º 1
0
        // Will display the patient's insurance information
        private void insuranceInformationButton_Click(object sender, EventArgs e)
        {
            // Clear contents of Panel2
            Program.myForm.splitContainer1.Panel2.Controls.Clear();

            InsuranceForm insuranceForm = new InsuranceForm();

            // Add InsuranceGrid to Panel2
            Program.myForm.splitContainer1.Panel2.Controls.Add(insuranceForm);

            insuranceForm.makeReadOnly();
        }
Exemplo n.º 2
0
        // Will display the patient's insurance information
        private void insuranceInformationButton_Click(object sender, EventArgs e)
        {
            // Clear contents of Panel2
            Program.myForm.splitContainer1.Panel2.Controls.Clear();

            InsuranceForm insuranceForm = new InsuranceForm();

            // Add InsuranceGrid to Panel2
            Program.myForm.splitContainer1.Panel2.Controls.Add(insuranceForm);

            insuranceForm.makeReadOnly();
        }