예제 #1
0
 public UCEmployeeEvenEdit(Form_Restaurant form, UCEmployee uCEmployee)
 {
     datagrid    = uCEmployee.GetDataGridView();
     employeeBLL = new EmployeeBLL();
     mainform    = form;
     InitializeComponent();
 }
예제 #2
0
        public void loadUCEmployee()
        {
            _obj = this;
            pnlContainer.Controls.Clear();
            UCEmployee uc = new UCEmployee(this);

            uc.Dock = DockStyle.Fill;
            pnlContainer.Controls.Add(uc);
        }
예제 #3
0
        private void btn_Employee_Click_1(object sender, EventArgs e)
        {
            _obj = this;
            pnlContainer.Controls.Clear();
            UCEmployee uc = new UCEmployee(this);

            uc.Dock = DockStyle.Fill;
            pnlContainer.Controls.Add(uc);
            ucEmployee = uc;
        }