示例#1
0
        private void InHospitalzhu_Load(object sender, EventArgs e)
        {
            label6.Visible = false;
            label7.Visible = false;
            label2.Top     = label2.Top - 72;
            label3.Top     = label3.Top - 72;
            label4.Top     = label4.Top - 72;
            label5.Top     = label5.Top - 72;
            label8.Top     = label8.Top - 72;

            label1_Click(null, null);

            label7.Image = Image.FromFile(Application.StartupPath + "\\imag\\Biaoti-1.png");
            if (lbl.Count != 0)
            {
                lbl[0].Image     = null;
                lbl[0].ForeColor = System.Drawing.Color.DarkSlateBlue;
            }
            lbl.Clear();
            lbl.Add(label7);
            groupBox2.Controls.Clear();
            InHospitalForm ihf = new InHospitalForm();

            yy(ihf);
        }
示例#2
0
        private void label7_Click(object sender, EventArgs e)
        {
            groupBox2.Controls.Clear();
            InHospitalForm ihf = new InHospitalForm();

            yy(ihf);
            xx(((Label)sender));
        }