예제 #1
0
        private void clinic_Load(object sender, EventArgs e)
        {
            lbl.Add(((Label)label1));

            pancontrols.Controls.Clear();
            xiaoxitongzhi1 reg = new xiaoxitongzhi1();

            reg.TopLevel = false;
            pancontrols.Controls.Add(reg);
            reg.Show();
        }
예제 #2
0
        private void label8_Click(object sender, EventArgs e)
        {
            lbl.Add(((Label)sender));
            //((Label)sender).Image = Image.FromFile(Application.StartupPath + "\\imag\\" + ((Label)sender).Tag);
            pancontrols.Controls.Clear();
            xiaoxitongzhi1 reg = new xiaoxitongzhi1();

            reg.TopLevel = false;
            pancontrols.Controls.Add(reg);
            reg.Show();
        }