Ejemplo n.º 1
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            UCAddEmployee addOrder = new UCAddEmployee();

            panel4.Controls.Add(addOrder);
            addOrder.BringToFront();
            addOrder.Dock = DockStyle.Fill;
        }
Ejemplo n.º 2
0
        private void employeeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            UCEmployee Employee = new UCEmployee();

            this.panel3.Controls.Add(Employee);
            Employee.BringToFront();
            Employee.Dock = DockStyle.Fill;

            UCAddEmployee AddEmployee = new UCAddEmployee();

            Employee.panel4.Controls.Add(AddEmployee);
            AddEmployee.BringToFront();
            AddEmployee.Dock = DockStyle.Fill;
        }