Exemplo n.º 1
0
        private void label1_Click(object sender, EventArgs e)
        {
            pancontrols.Controls.Clear();
            Register_UI reg = new Register_UI();

            reg.TopLevel = false;
            pancontrols.Controls.Add(reg);
            reg.Show();
        }
Exemplo n.º 2
0
        private void clinic_Load(object sender, EventArgs e)
        {
            lbl.Add(((Label)label1));

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

            reg.TopLevel = false;
            pancontrols.Controls.Add(reg);
            reg.Show();
        }
Exemplo n.º 3
0
        private void clinic_Load(object sender, EventArgs e)
        {
            lbl.Add(((Label)label1));

            lbl[0].Image = Image.FromFile(Application.StartupPath + "\\imag\\" + lbl[0].Tag);
            pancontrols.Controls.Clear();
            Register_UI reg = new Register_UI();

            reg.TopLevel = false;
            pancontrols.Controls.Add(reg);
            reg.Show();
        }
Exemplo n.º 4
0
        private void label7_Click(object sender, EventArgs e)
        {
            if (lbl.Count != 0)
            {
                string str = (lbl[0].Tag + "").Replace('-', ' ');
                //lbl[0].Image = Image.FromFile(Application.StartupPath + "\\imag\\" + str);
                lbl.Clear();
            }
            lbl.Add(((Label)sender));
            //((Label)sender).Image = Image.FromFile(Application.StartupPath + "\\imag\\" + ((Label)sender).Tag);
            pancontrols.Controls.Clear();
            Register_UI reg = new Register_UI();

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