| | |
| | | { |
| | | switch (gnsy.ToLower()) |
| | | { |
| | | case "sc_prodwiptotalreport": |
| | | Sc_ProdWIPTotalReport oSc_ProdWIPTotalReport = new Sc_ProdWIPTotalReport(); |
| | | oSc_ProdWIPTotalReport.MdiParent = oMain; |
| | | oSc_ProdWIPTotalReport.ModCaption = gnmc; |
| | | oSc_ProdWIPTotalReport.Show(); |
| | | oMainForm.AddTabPage(oSc_ProdWIPTotalReport); |
| | | break; |
| | | case "mes_wipprocreport": |
| | | MES_WIPProcReport oMES_WIPProcReport = new MES_WIPProcReport(); |
| | | oMES_WIPProcReport.MdiParent = oMain; |
| | | oMES_WIPProcReport.ModCaption = gnmc; |
| | | oMES_WIPProcReport.Show(); |
| | | oMainForm.AddTabPage(oMES_WIPProcReport); |
| | | break; |
| | | case "mes_icmobillstatusreport": |
| | | MES_ICMOBillStatusReport oMES_ICMOBillStatusReport = new MES_ICMOBillStatusReport(); |
| | | oMES_ICMOBillStatusReport.MdiParent = oMain; |