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(); }
public static frmBOM CreateBOM(bool Authority) { if (frmBOM == null) { frmBOM = new frmBOM(Authority); } return(frmBOM); }