Ejemplo n.º 1
0
        private void treeView10_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            if (e.Node.Text == "고객주문별재고현황")
            {
                InventoryStatusByOrder frm = new InventoryStatusByOrder();
                if (ExsistTap(e.Node.Text))
                {
                    return;
                }


                MadeTabMenu(frm);
            }

            else if (e.Node.Text == "매출마감")
            {
                ShipmentClosingMgt frm = new ShipmentClosingMgt();
                if (ExsistTap(e.Node.Text))
                {
                    return;
                }

                MadeTabMenu(frm);
            }
            else if (e.Node.Text == "매출마감현황")
            {
                ShipmentClosingStatusMgt frm = new ShipmentClosingStatusMgt();
                if (ExsistTap(e.Node.Text))
                {
                    return;
                }

                MadeTabMenu(frm);
            }
        }
Ejemplo n.º 2
0
        public void GetoutForm(string name)
        {
            switch (name)
            {
            //자원관리
            case "공장관리":
                FactoryMgt FactoryMgt = new FactoryMgt();
                FactoryMgt = (FactoryMgt)InitForm(FactoryMgt);
                FactoryMgt.SubWindowState = WinState.independ;
                break;

            case "설비관리":
                facilityMgt facilityMgt = new facilityMgt();
                facilityMgt = (facilityMgt)InitForm(facilityMgt);
                facilityMgt.SubWindowState = WinState.independ;
                break;

            case "업체관리":
                businessMgt businessMgt = new businessMgt();
                businessMgt = (businessMgt)InitForm(businessMgt);
                businessMgt.SubWindowState = WinState.independ;
                break;

            case "BOR":
                BOR BOR = new BOR();
                BOR = (BOR)InitForm(BOR);
                BOR.SubWindowState = WinState.independ;
                break;

            case "Shift":
                ShiftMain shiftMain = new ShiftMain();
                shiftMain = (ShiftMain)InitForm(shiftMain);
                shiftMain.SubWindowState = WinState.independ;
                break;

            //품목관리
            case "품목관리":
                ProductMgt ProductMgt = new ProductMgt();
                ProductMgt = (ProductMgt)InitForm(ProductMgt);
                ProductMgt.SubWindowState = WinState.independ;
                break;

            case "BOM":
                BomMgt BomMgt = new BomMgt();
                BomMgt = (BomMgt)InitForm(BomMgt);
                BomMgt.SubWindowState = WinState.independ;
                break;

            //수주/계획관리 - 오더관리
            case "영업마스터업로드(PO)":
                SalesMasterUpload SalesMasterUpload = new SalesMasterUpload();
                SalesMasterUpload = (SalesMasterUpload)InitForm(SalesMasterUpload);
                SalesMasterUpload.SubWindowState = WinState.independ;
                break;

            case "영업마스터":
                SalesMaster SalesMaster = new SalesMaster();
                SalesMaster = (SalesMaster)InitForm(SalesMaster);
                SalesMaster.SubWindowState = WinState.independ;
                break;

            case "수요계획":
                DemandPlan DemandPlan = new DemandPlan();
                DemandPlan = (DemandPlan)InitForm(DemandPlan);
                DemandPlan.SubWindowState = WinState.independ;
                break;

            //수주/생산관리
            case "생산계획":
                ProductPlan ProductPlan = new ProductPlan();
                ProductPlan = (ProductPlan)InitForm(ProductPlan);
                ProductPlan.SubWindowState = WinState.independ;
                break;

            case "자재소요계획":
                MRP MRP = new MRP();
                MRP = (MRP)InitForm(MRP);
                MRP.SubWindowState = WinState.independ;
                break;

            //구매관리-Purchase
            case "정규발주":
                RegularOrder RegularOrder = new RegularOrder();
                RegularOrder = (RegularOrder)InitForm(RegularOrder);
                RegularOrder.SubWindowState = WinState.independ;
                break;

            case "발주현황":
                OrderList OrderList = new OrderList();
                OrderList = (OrderList)InitForm(OrderList);
                OrderList.SubWindowState = WinState.independ;
                break;

            //구매관리-Supplier
            case "입고대기":
                WatingReceiving WatingReceiving = new WatingReceiving();
                WatingReceiving = (WatingReceiving)InitForm(WatingReceiving);
                WatingReceiving.SubWindowState = WinState.independ;
                break;

            //구매관리-Material Ledger
            case "자재입고":
                MaterialReceiving MaterialReceiving = new MaterialReceiving();
                MaterialReceiving = (MaterialReceiving)InitForm(MaterialReceiving);
                MaterialReceiving.SubWindowState = WinState.independ;
                break;

            case "자재입고현황":
                MaterialReceivingList MaterialReceivingList = new MaterialReceivingList();
                MaterialReceivingList = (MaterialReceivingList)InitForm(MaterialReceivingList);
                MaterialReceivingList.SubWindowState = WinState.independ;
                break;

            case "원자재불출":
                RequestRawMaterial_sDistribution RequestRawMaterial_sDistribution = new RequestRawMaterial_sDistribution();
                RequestRawMaterial_sDistribution = (RequestRawMaterial_sDistribution)InitForm(RequestRawMaterial_sDistribution);
                RequestRawMaterial_sDistribution.SubWindowState = WinState.independ;
                break;

            //구매관리-Stock
            case "자재재고현황":
                MaterialStockList MaterialStockList = new MaterialStockList();
                MaterialStockList = (MaterialStockList)InitForm(MaterialStockList);
                MaterialStockList.SubWindowState = WinState.independ;
                break;

            case "입출고현황":
                InOutList InOutList = new InOutList();
                InOutList = (InOutList)InitForm(InOutList);
                InOutList.SubWindowState = WinState.independ;
                break;

            //구매관리-Material
            case "자재불출요청":
                DMRMgt DMRMgt = new DMRMgt();
                DMRMgt = (DMRMgt)InitForm(DMRMgt);
                DMRMgt.SubWindowState = WinState.independ;
                break;

            //공정관리
            case "작업지시생성":
                GOO GOO = new GOO();
                GOO = (GOO)InitForm(GOO);
                GOO.SubWindowState = WinState.independ;
                break;

            case "작업지시현황":
                SOO SOO = new SOO();
                SOO = (SOO)InitForm(SOO);
                SOO.SubWindowState = WinState.independ;
                break;

            //공정등록
            case "작업실적등록":
                Business_showings Business_showings = new Business_showings();
                Business_showings = (Business_showings)InitForm(Business_showings);
                Business_showings.SubWindowState = WinState.independ;
                break;

            case "공정재고현황":
                Process_Inventory Process_Inventory = new Process_Inventory();
                Process_Inventory = (Process_Inventory)InitForm(Process_Inventory);
                Process_Inventory.SubWindowState = WinState.independ;
                break;

            //단가관리
            case "영업단가관리":
                SUPMMgt SUPMMgt = new SUPMMgt();
                SUPMMgt = (SUPMMgt)InitForm(SUPMMgt);
                SUPMMgt.SubWindowState = WinState.independ;
                break;

            case "자재단가관리":
                MUPMMgt MUPMMgt = new MUPMMgt();
                MUPMMgt = (MUPMMgt)InitForm(MUPMMgt);
                MUPMMgt.SubWindowState = WinState.independ;
                break;

            //출하관리
            case "고객주문별재고현황":
                InventoryStatusByOrder InventoryStatusByOrder = new InventoryStatusByOrder();
                InventoryStatusByOrder = (InventoryStatusByOrder)InitForm(InventoryStatusByOrder);
                InventoryStatusByOrder.SubWindowState = WinState.independ;
                break;

            case "매출마감":
                ShipmentClosingMgt ShipmentClosingMgt = new ShipmentClosingMgt();
                ShipmentClosingMgt = (ShipmentClosingMgt)InitForm(ShipmentClosingMgt);
                ShipmentClosingMgt.SubWindowState = WinState.independ;
                break;

            case "매출마감현황":
                ShipmentClosingStatusMgt ShipmentClosingStatusMgt = new ShipmentClosingStatusMgt();
                ShipmentClosingStatusMgt = (ShipmentClosingStatusMgt)InitForm(ShipmentClosingStatusMgt);
                ShipmentClosingStatusMgt.SubWindowState = WinState.independ;
                break;
            }
        }