Example #1
0
        private void mnuMdEmployee()
        {
            if(!frmEmployee.IsDisposed)
            {
                frmEmployee.Dispose();
            }

            frmEmployee = new ACMS.ACMSManager.MasterData.frmEmployee(this.employee.Id.ToString());
            panel1.Controls.Clear();
            frmEmployee.TopLevel = false;
            frmEmployee.Dock = DockStyle.Fill;
            frmEmployee.Parent = panel1;
            frmEmployee.Show();
            panel1.Refresh();
        }