Exemple #1
0
        private void LOAD_EMPLOYEE_CONTROL()
        {
            pnlops.Controls.Clear();
            emp_ctrl c = new emp_ctrl();

            c.Width  = pnlops.Width;
            c.Height = pnlops.Height;
            pnlops.Controls.Add(c);
        }
Exemple #2
0
        void view_employee_Click(object sender, EventArgs e)
        {
            pnlops.Controls.Clear();
            emp_ctrl eu = new emp_ctrl();

            eu.Width  = pnlops.Width;
            eu.Height = pnlops.Height;
            pnlops.Controls.Add(eu);
            //throw new NotImplementedException();
        }