示例#1
0
        private void btnUserChange_Click(object sender, EventArgs e)
        {
            frmFirstPage        = null;
            frmSalesPriceManage = null;
            frmMatPriceManage   = null;
            frmProductManage    = null;
            frmBOM = null;
            frmImportInspection = null;
            frmProdInspection   = null;
            frmCheckHistory     = null;
            frmPDStock          = null;
            frmShift            = null;
            frmBOR        = null;
            frmCheckList  = null;
            frmCompany    = null;
            frmDepartment = null;
            frmMachine    = null;
            frmUser       = null;
            frmWarehouse  = null;
            frmIcStatus   = null;
            frmIcWait     = null;
            frmOStatus    = null;
            frmSales      = null;
            frmShipment   = null;
            frmSO         = null;
            frmPS         = null; //생산실적 현황
            frmWOR        = null; //작업지시 등록
            frmDR         = null; //불량관리 등록/수정
            frmDS         = null; //불량처리현황
            frmAuthority  = null; //권한관리

            this.Close();
        }
示例#2
0
 public static frmCheckList CreateCheckList()
 {
     if (frmCheckList == null)
     {
         frmCheckList = new frmCheckList();
     }
     return(frmCheckList);
 }
示例#3
0
        private void btnForm_Click(object sender, EventArgs e)
        {
            Application.OpenForms.OfType <Form>().Where(x => x.Name != "Main").ToList().ForEach(x => x.Close());
            frmCheckList checklist = new frmCheckList();

            checklist.TopLevel = false;
            pnlContent.Controls.Add(checklist);
            checklist.Dock = DockStyle.Fill;
            checklist.Show();

            btnHome.Enabled     = true;
            btnForm.Enabled     = false;
            btnPUI.Enabled      = true;
            btnPUM.Enabled      = true;
            btnSummary.Enabled  = true;
            btnSettings.Enabled = true;
            btnHome.Enabled     = true;
        }