private void label12_Click(object sender, EventArgs e)
        {
            EmpLoginReg em = new EmpLoginReg();

            em.Show();
            this.Hide();
        }
示例#2
0
        public FrontPage()
        {
            InitializeComponent();
            form   = new LoginReg();
            form1  = new EmpLoginReg();
            handle = form.Handle;
            handle = form1.Handle;

            guna2HtmlLabel1.Parent    = pictureBox1;
            guna2HtmlLabel1.BackColor = Color.Transparent;

            conadminbtn.Parent    = pictureBox1;
            conadminbtn.BackColor = Color.Transparent;

            conEmpbtn.Parent    = pictureBox1;
            conEmpbtn.BackColor = Color.Transparent;

            Minimize.Parent    = pictureBox1;
            Minimize.BackColor = Color.Transparent;

            Close.Parent    = pictureBox1;
            Close.BackColor = Color.Transparent;
        }