private void button1_Click(object sender, EventArgs e)
        {
            UC_Appointments app = new UC_Appointments();

            this.Controls.Clear();
            this.Controls.Add(app);
        }
예제 #2
0
        private void btnAppointments_Click(object sender, EventArgs e)
        {
            mainPanel.Controls.Clear();
            UC_Appointments app = new UC_Appointments();

            mainPanel.Controls.Add(app);
        }