1
yangle
2023-05-26 301e6a60651ad026c3d9773e7bf6d9c76e936ca5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Windows.Forms;
 
namespace HuanXin.ERP
{
    class ClsShowMod
    {
        public  void Zxxymk(string gnsy, string gnbm,Form oMain)
        {
            //ȨÏÞ
            if (!Pub_Class.ClsPub.Security_Log(gnsy.Trim(), 1, true))
            {
                return;
            }
            //
            switch (gnbm.Trim().Substring(0, 2))
            {
                case "01":
                    //
                    break;
                case "02":
                    //
                    break;
                case "03":
                    //
                    break;
                case "11":
                case "cg":
                    //²É¹ºÏµÍ³
                    Zxxymk_CGXT(gnsy, oMain);
                    break;
                case "12":
                case "kf":
                    //²Ö¿âϵͳ
                    Zxxymk_CKXT(gnsy, oMain);
                    break;
                case "14":
                case "xs":
                    //ÏúÊÛϵͳ
                    Zxxymk_XSXT(gnsy, oMain);
                    break;
                case "18":
                case "cb":
                    //³É±¾ÏµÍ³
                    Zxxymk_CBXT(gnsy, oMain);
                    break;
                case "20":
                case "ys":
                    //Ó¦ÊÕϵͳ
                    Zxxymk_YSXT(gnsy, oMain);
                    break;
                case "21":
                case "yf":
                    //Ó¦¸¶ÏµÍ³
                    Zxxymk_YFXT(gnsy, oMain);
                    break;
                case "22":
                case "pa":
                    //¹¤×Êϵͳ
                    Zxxymk_GZXT(gnsy,oMain);
                    break;
                case "33":
                case "gy":
                    //»ù´¡×ÊÁÏ
                    Zxxymk_JCSJ(gnsy,oMain);
                    break;
                case "36":
                    //ͳ¼Æ±¨±í
                    Zxxymk_TJBB(gnsy,oMain);
                    break;
                case "37":
                case "sc":
                    //Éú²úϵͳ
                    Zxxymk_SCXT(gnsy, oMain);
                    break;
                case "cu":
                    //¿Í»§¹ÜÀí
                    Zxxymk_KHGL(gnsy, oMain);
                    break;
                case "su":
                    //¹©Ó¦É̹ÜÀí
                    Zxxymk_GFGL(gnsy, oMain);
                    break;
                case "88":
                case "xt":
                    //ϵͳ¹ÜÀí
                    Zxxymk_XTGL(gnsy, oMain);
                    break;
                default:
                    break;
            }
        }
        #region ¹©Ó¦É̹ÜÀí
        public void Zxxymk_GFGL(string gnsy, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "sup_askpricebilllist":
                        //ȨÏÞ
                        Sup_AskPriceBillList oSup_AskPriceBillList = new Sup_AskPriceBillList();
                        oSup_AskPriceBillList.MdiParent = oMain;
                        oSup_AskPriceBillList.Show();
                        break;
                    case "sup_askpricebill":
                        //
                        Sup_AskPriceBill oSup_AskPriceBill = new Sup_AskPriceBill();
                        oSup_AskPriceBill.ShowDialog();
                        break;
 
                    case "sup_quotepricebilllist":
                        //ȨÏÞ
                        Sup_QuotePriceBillList oSup_QuotePriceBillList = new Sup_QuotePriceBillList();
                        oSup_QuotePriceBillList.MdiParent = oMain;
                        oSup_QuotePriceBillList.Show();
                        break;
                    case "sup_quotepricebill":
                        //
                        Sup_QuotePriceBill oSup_QuotePriceBill = new Sup_QuotePriceBill();
                        oSup_QuotePriceBill.ShowDialog();
                        break;
 
                    case "sup_supplyfilelist":
                        //ȨÏÞ
                        Sup_SupplyFileList oSup_SupplyFileList = new Sup_SupplyFileList();
                        oSup_SupplyFileList.MdiParent = oMain;
                        oSup_SupplyFileList.Show();
                        break;
                    case "sup_supplyfile":
                        //
                        Sup_SupplyFile oSup_SupplyFile = new Sup_SupplyFile();
                        oSup_SupplyFile.ShowDialog();
                        break;
                    case "sup_evaluatebilllist":
                        //ȨÏÞ
                        Sup_EvaluateBillList oSup_EvaluateBillList = new Sup_EvaluateBillList();
                        oSup_EvaluateBillList.MdiParent = oMain;
                        oSup_EvaluateBillList.Show();
                        break;
                    case "sup_evaluatebill":
                        //
                        Sup_EvaluateBill oSup_EvaluateBill = new Sup_EvaluateBill();
                        oSup_EvaluateBill.ShowDialog();
                        break;
                    case "sup_supplyrequtbilllist":
                        //ȨÏÞ
                        Sup_SupplyRequtBillList oSup_SupplyRequtBillList = new Sup_SupplyRequtBillList();
                        oSup_SupplyRequtBillList.MdiParent = oMain;
                        oSup_SupplyRequtBillList.Show();
                        break;
                    case "sup_supplyrequtbill":
                        //
                        Sup_SupplyRequtBill oSup_SupplyRequtBill = new Sup_SupplyRequtBill();
                        oSup_SupplyRequtBill.ShowDialog();
                        break;
                    case "sup_evaluateschemebilllist":
                        //ȨÏÞ
                        Sup_EvaluateSchemeBillList oSup_EvaluateSchemeBillList = new Sup_EvaluateSchemeBillList();
                        oSup_EvaluateSchemeBillList.MdiParent = oMain;
                        oSup_EvaluateSchemeBillList.Show();
                        break;
                    case "sup_evaluateschemebill":
                        //
                        Sup_EvaluateSchemeBill oSup_EvaluateSchemeBill = new Sup_EvaluateSchemeBill();
                        oSup_EvaluateSchemeBill.ShowDialog();
                        break;
                    //case "sec_servicesendworkbilllist":
                    //    //ȨÏÞ
                    //    Sec_ServiceSendWorkBillList oSec_ServiceSendWorkBillList = new Sec_ServiceSendWorkBillList();
                    //    oSec_ServiceSendWorkBillList.MdiParent = oMain;
                    //    oSec_ServiceSendWorkBillList.Show();
                    //    break;
                    //case "sec_servicesendworkbill":
                    //    //
                    //    Sec_ServiceSendWorkBill oSec_ServiceSendWorkBill = new Sec_ServiceSendWorkBill();
                    //    oSec_ServiceSendWorkBill.ShowDialog();
                    //    break;
                    //case "cg_porequestbilllist":
                    //    //ȨÏÞ
                    //    Cg_PORequestBillList oCg_PORequestBillList = new Cg_PORequestBillList();
                    //    oCg_PORequestBillList.MdiParent = oMain;
                    //    oCg_PORequestBillList.Show();
                    //    break;
                    //case "cg_porequestbill":
                    //    //
                    //    Cg_PORequestBill oCg_PORequestBill = new Cg_PORequestBill();
                    //    oCg_PORequestBill.ShowDialog();
                    //    break;
                    //case "cg_invoicebilllist":
                    //    //ȨÏÞ
                    //    Cg_InvoiceBillList oCg_InvoiceBillList = new Cg_InvoiceBillList();
                    //    oCg_InvoiceBillList.MdiParent = oMain;
                    //    oCg_InvoiceBillList.Show();
                    //    break;
                    //case "cg_invoicebill":
                    //    //
                    //    Cg_InvoiceBill oCg_InvoiceBill = new Cg_InvoiceBill();
                    //    oCg_InvoiceBill.ShowDialog();
                    //    oCg_InvoiceBill.Dispose();
                    //    break;
                    //case "cg_contractbilllist":
                    //    //ȨÏÞ
                    //    Cg_ContractBillList oCg_ContractBillList = new Cg_ContractBillList();
                    //    oCg_ContractBillList.MdiParent = oMain;
                    //    oCg_ContractBillList.Show();
 
                    //    break;
                    //case "cg_contractbill":
                    //    //
                    //    Cg_ContractBill oCg_ContractBill = new Cg_ContractBill();
                    //    oCg_ContractBill.ShowDialog();
                    //    oCg_ContractBill.Dispose();
                    //    break;
                    //case "cg_invoicespecbilllist":
                    //    //ȨÏÞ
                    //    Cg_InvoiceSpecBillList oCg_InvoiceSpecBillList = new Cg_InvoiceSpecBillList();
                    //    oCg_InvoiceSpecBillList.MdiParent = oMain;
                    //    oCg_InvoiceSpecBillList.Show();
                    //    break;
                    //case "cg_invoicespecbill":
                    //    //
                    //    Cg_InvoiceSpecBill oCg_InvoiceSpecBill = new Cg_InvoiceSpecBill();
                    //    oCg_InvoiceSpecBill.ShowDialog();
                    //    break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region ¿Í»§¹ÜÀí
        public void Zxxymk_KHGL(string gnsy, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "k3_mateoutbackbilllist":
                        //ȨÏÞ
                        K3_MateOutBackBillList oK3_MateOutBackBillList = new K3_MateOutBackBillList();
                        oK3_MateOutBackBillList.MdiParent = oMain;
                        oK3_MateOutBackBillList.Show();
                        break;
                    case "k3_mateoutbackbill":
                        //
                        K3_MateOutBackBill oK3_MateOutBackBill = new K3_MateOutBackBill();
                        oK3_MateOutBackBill.ShowDialog();
                        break;
                    case "k3_mateoutbilllist":
                        //ȨÏÞ
                        K3_MateOutBillList oK3_MateOutBillList = new K3_MateOutBillList();
                        oK3_MateOutBillList.MdiParent = oMain;
                        oK3_MateOutBillList.Show();
                        break;
                    case "k3_mateoutbill":
                        //
                        K3_MateOutBill oK3_MateOutBill = new K3_MateOutBill();
                        oK3_MateOutBill.ShowDialog();
                        break;
                    case "sec_complainbackvisitbilllist":
                        //ȨÏÞ
                        Sec_ComplainBackVisitBillList oSec_ComplainBackVisitBillList = new Sec_ComplainBackVisitBillList();
                        oSec_ComplainBackVisitBillList.MdiParent = oMain;
                        oSec_ComplainBackVisitBillList.Show();
                        break;
                    case "sec_complainbackvisitbill":
                        //
                        Sec_ComplainBackVisitBill oSec_ComplainBackVisitBill = new Sec_ComplainBackVisitBill();
                        oSec_ComplainBackVisitBill.ShowDialog();
                        break;
                    case "cus_customerfilelist":
                        //ȨÏÞ
                        Cus_CustomerFileList oCus_CustomerFileList = new Cus_CustomerFileList();
                        oCus_CustomerFileList.MdiParent = oMain;
                        oCus_CustomerFileList.Show();
                        break;
                    case "cus_customerfile":
                        //
                        Cus_CustomerFile oCus_CustomerFile = new Cus_CustomerFile();
                        oCus_CustomerFile.ShowDialog();
                        break;
                    case "gy_productfilelist":
                        //ȨÏÞ
                        Gy_ProductFileList oGy_ProductFileList = new Gy_ProductFileList();
                        oGy_ProductFileList.MdiParent = oMain;
                        oGy_ProductFileList.Show();
                        break;
                    case "gy_productfile":
                        //
                        Gy_ProductFile oGy_ProductFile = new Gy_ProductFile();
                        oGy_ProductFile.ShowDialog();
                        break;
                    case "sec_servicebalbilllist":
                        //ȨÏÞ
                        Sec_ServiceBalBillList oSec_ServiceBalBillList = new Sec_ServiceBalBillList();
                        oSec_ServiceBalBillList.MdiParent = oMain;
                        oSec_ServiceBalBillList.Show();
                        break;
                    case "sec_servicebalbill":
                        //
                        Sec_ServiceBalBill oSec_ServiceBalBill = new Sec_ServiceBalBill();
                        oSec_ServiceBalBill.ShowDialog();
                        break;
                    case "sec_servicebilllist":
                        //ȨÏÞ
                        Sec_ServiceBillList oSec_ServiceBillList = new Sec_ServiceBillList();
                        oSec_ServiceBillList.MdiParent = oMain;
                        oSec_ServiceBillList.Show();
                        break;
                    case "sec_servicebill":
                        //
                        Sec_ServiceBill oSec_ServiceBill = new Sec_ServiceBill();
                        oSec_ServiceBill.ShowDialog();
                        break;
                    case "sec_servicesendworkbilllist":
                        //ȨÏÞ
                        Sec_ServiceSendWorkBillList oSec_ServiceSendWorkBillList = new Sec_ServiceSendWorkBillList();
                        oSec_ServiceSendWorkBillList.MdiParent = oMain;
                        oSec_ServiceSendWorkBillList.Show();
                        break;
                    case "sec_servicesendworkbill":
                        //
                        Sec_ServiceSendWorkBill oSec_ServiceSendWorkBill = new Sec_ServiceSendWorkBill();
                        oSec_ServiceSendWorkBill.ShowDialog();
                        break;
                    //case "cg_porequestbilllist":
                    //    //ȨÏÞ
                    //    Cg_PORequestBillList oCg_PORequestBillList = new Cg_PORequestBillList();
                    //    oCg_PORequestBillList.MdiParent = oMain;
                    //    oCg_PORequestBillList.Show();
                    //    break;
                    //case "cg_porequestbill":
                    //    //
                    //    Cg_PORequestBill oCg_PORequestBill = new Cg_PORequestBill();
                    //    oCg_PORequestBill.ShowDialog();
                    //    break;
                    //case "cg_invoicebilllist":
                    //    //ȨÏÞ
                    //    Cg_InvoiceBillList oCg_InvoiceBillList = new Cg_InvoiceBillList();
                    //    oCg_InvoiceBillList.MdiParent = oMain;
                    //    oCg_InvoiceBillList.Show();
                    //    break;
                    //case "cg_invoicebill":
                    //    //
                    //    Cg_InvoiceBill oCg_InvoiceBill = new Cg_InvoiceBill();
                    //    oCg_InvoiceBill.ShowDialog();
                    //    oCg_InvoiceBill.Dispose();
                    //    break;
                    //case "cg_contractbilllist":
                    //    //ȨÏÞ
                    //    Cg_ContractBillList oCg_ContractBillList = new Cg_ContractBillList();
                    //    oCg_ContractBillList.MdiParent = oMain;
                    //    oCg_ContractBillList.Show();
 
                    //    break;
                    //case "cg_contractbill":
                    //    //
                    //    Cg_ContractBill oCg_ContractBill = new Cg_ContractBill();
                    //    oCg_ContractBill.ShowDialog();
                    //    oCg_ContractBill.Dispose();
                    //    break;
                    //case "cg_invoicespecbilllist":
                    //    //ȨÏÞ
                    //    Cg_InvoiceSpecBillList oCg_InvoiceSpecBillList = new Cg_InvoiceSpecBillList();
                    //    oCg_InvoiceSpecBillList.MdiParent = oMain;
                    //    oCg_InvoiceSpecBillList.Show();
                    //    break;
                    //case "cg_invoicespecbill":
                    //    //
                    //    Cg_InvoiceSpecBill oCg_InvoiceSpecBill = new Cg_InvoiceSpecBill();
                    //    oCg_InvoiceSpecBill.ShowDialog();
                    //    break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region Éú²úϵͳ
        public void Zxxymk_SCXT(string gnsy, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "sb_equiprepairworkbilllist":
                        //ȨÏÞ
                        Sb_EquipRepairWorkBillList oSb_EquipRepairWorkBillList = new Sb_EquipRepairWorkBillList();
                        oSb_EquipRepairWorkBillList.MdiParent = oMain;
                        oSb_EquipRepairWorkBillList.Show();
                        break;
                    case "sb_equiprepairworkbill":
                        //
                        Sb_EquipRepairWorkBill oSb_EquipRepairWorkBill = new Sb_EquipRepairWorkBill();
                        oSb_EquipRepairWorkBill.ShowDialog();
                        break;
                    case "sb_equiprepaircheckbilllist":
                        //ȨÏÞ
                        Sb_EquipRepairCheckBillList oSb_EquipRepairCheckBillList = new Sb_EquipRepairCheckBillList();
                        oSb_EquipRepairCheckBillList.MdiParent = oMain;
                        oSb_EquipRepairCheckBillList.Show();
                        break;
                    case "sb_equiprepaircheckbill":
                        //
                        Sb_EquipRepairCheckBill oSb_EquipRepairCheckBill = new Sb_EquipRepairCheckBill();
                        oSb_EquipRepairCheckBill.ShowDialog();
                        break;
 
                    case "sb_equipconkbookbilllist":
                        //ȨÏÞ
                        Sb_EquipConkBookBillList oSb_EquipConkBookBillList = new Sb_EquipConkBookBillList();
                        oSb_EquipConkBookBillList.MdiParent = oMain;
                        oSb_EquipConkBookBillList.Show();
                        break;
                    case "sb_equipconkbookbill":
                        //
                        Sb_EquipConkBookBill oSb_EquipConkBookBill = new Sb_EquipConkBookBill();
                        oSb_EquipConkBookBill.ShowDialog();
                        break;
 
                    case "sb_equiplubricatebilllist":
                        //ȨÏÞ
                        Sb_EquipLubricateBillList oSb_EquipLubricateBillList = new Sb_EquipLubricateBillList();
                        oSb_EquipLubricateBillList.MdiParent = oMain;
                        oSb_EquipLubricateBillList.Show();
                        break;
                    case "sb_equiplubricatebill":
                        //
                        Sb_EquipLubricateBill oSb_EquipLubricateBill = new Sb_EquipLubricateBill();
                        oSb_EquipLubricateBill.ShowDialog();
                        break;
                    case "sb_equiplubricateplanbilllist":
                        //ȨÏÞ
                        Sb_EquipLubricatePlanBillList oSb_EquipLubricatePlanBillList = new Sb_EquipLubricatePlanBillList();
                        oSb_EquipLubricatePlanBillList.MdiParent = oMain;
                        oSb_EquipLubricatePlanBillList.Show();
                        break;
                    case "sb_equiplubricateplanbill":
                        //
                        Sb_EquipLubricatePlanBill oSb_EquipLubricatePlanBill = new Sb_EquipLubricatePlanBill();
                        oSb_EquipLubricatePlanBill.ShowDialog();
                        break;
                    case "sb_equipdotcheckbilllist":
                        //ȨÏÞ
                        Sb_EquipDotCheckBillList oSb_EquipDotCheckBillList = new Sb_EquipDotCheckBillList();
                        oSb_EquipDotCheckBillList.MdiParent = oMain;
                        oSb_EquipDotCheckBillList.Show();
                        break;
                    case "sb_equipdotcheckbill":
                        //
                        Sb_EquipDotCheckBill oSb_EquipDotCheckBill = new Sb_EquipDotCheckBill();
                        oSb_EquipDotCheckBill.ShowDialog();
                        break;
                    case "sb_equipdotcheckplanbilllist":
                        //ȨÏÞ
                        Sb_EquipDotCheckPlanBillList oSb_EquipDotCheckPlanBillList = new Sb_EquipDotCheckPlanBillList();
                        oSb_EquipDotCheckPlanBillList.MdiParent = oMain;
                        oSb_EquipDotCheckPlanBillList.Show();
                        break;
                    case "sb_equipdotcheckplanbill":
                        //
                        Sb_EquipDotCheckPlanBill oSb_EquipDotCheckPlanBill = new Sb_EquipDotCheckPlanBill();
                        oSb_EquipDotCheckPlanBill.ShowDialog();
                        break;
                    case "sb_equipmaintainplanbilllist":
                        //ȨÏÞ
                        Sb_EquipMaintainPlanBillList oSb_EquipMaintainPlanBillList = new Sb_EquipMaintainPlanBillList();
                        oSb_EquipMaintainPlanBillList.MdiParent = oMain;
                        oSb_EquipMaintainPlanBillList.Show();
                        break;
                    case "sb_equipmaintainplanbill":
                        //
                        Sb_EquipMaintainPlanBill oSb_EquipMaintainPlanBill = new Sb_EquipMaintainPlanBill();
                        oSb_EquipMaintainPlanBill.ShowDialog();
                        break;
 
                    case "sb_equipmaintainbilllist":
                        //ȨÏÞ
                        Sb_EquipMaintainBillList oSb_EquipMaintainBillList = new Sb_EquipMaintainBillList();
                        oSb_EquipMaintainBillList.MdiParent = oMain;
                        oSb_EquipMaintainBillList.Show();
                        break;
                    case "sc_energyusebilllist":
                        //ȨÏÞ
                        Sc_EnergyUseBillList oSc_EnergyUseBillList = new Sc_EnergyUseBillList();
                        oSc_EnergyUseBillList.MdiParent = oMain;
                        oSc_EnergyUseBillList.Show();
                        break;
                    case "sc_producesafetybilllist":
                        //ȨÏÞ
                        Sc_ProduceSafetyBillList oSc_ProduceSafetyBillList = new Sc_ProduceSafetyBillList();
                        oSc_ProduceSafetyBillList.MdiParent = oMain;
                        oSc_ProduceSafetyBillList.Show();
                        break;
                    case "sc_worknotebilllist":
                        //ȨÏÞ
                        Sc_WorkNoteBillList oSc_WorkNoteBillList = new Sc_WorkNoteBillList();
                        oSc_WorkNoteBillList.MdiParent = oMain;
                        oSc_WorkNoteBillList.Show();
                        break;
                    case "sb_equipmaintainbill":
                        //
                        Sb_EquipMaintainBill oSb_EquipMaintainBill = new Sb_EquipMaintainBill();
                        oSb_EquipMaintainBill.ShowDialog();
                        break;
                    case "sc_energyusebill":
                        //
                        Sc_EnergyUseBill oSc_EnergyUseBill = new Sc_EnergyUseBill();
                        oSc_EnergyUseBill.ShowDialog();
                        break;
                    case "sc_producesafetybill":
                        //
                        Sc_ProduceSafetyBill oSc_ProduceSafetyBill = new Sc_ProduceSafetyBill();
                        oSc_ProduceSafetyBill.ShowDialog();
                        break;
                    case "sc_worknotebill":
                        //
                        Sc_WorkNoteBill oSc_WorkNoteBill = new Sc_WorkNoteBill();
                        oSc_WorkNoteBill.ShowDialog();
                        break;
 
                    case "sc_processsendworklist":
                        //ȨÏÞ
                        Sc_ProcessSendWorkList oSc_ProessSendWorkList = new Sc_ProcessSendWorkList();
                        oSc_ProessSendWorkList.MdiParent = oMain;
                        oSc_ProessSendWorkList.Show();
                        break;
                    case "sc_processsendwork":
                        //
                        Sc_ProcessSendWork oSc_ProessSendWork = new Sc_ProcessSendWork();
                        oSc_ProessSendWork.ShowDialog();
                        break;
                    case "sc_processreportlist":
                        //ȨÏÞ
                        Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList();
                        oSc_ProcessReportList.MdiParent = oMain;
                        oSc_ProcessReportList.Show();
                        break;
                    case "sc_processreport":
                        //
                        Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport();
                        oSc_ProcessReport.ShowDialog();
                        break;
                    case "sc_processplanlist":
                        //ȨÏÞ
                        Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList();
                        oSc_ProcessPlanList.MdiParent = oMain;
                        oSc_ProcessPlanList.Show();
                        break;
                    case "sc_processplan":
                        //
                        Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan();
                        oSc_ProcessPlan.ShowDialog();
                        break;
                    case "sc_icmobilllist":
                        //ȨÏÞ
                        Sc_ICMOBillList oSc_ICMOBillList = new Sc_ICMOBillList();
                        oSc_ICMOBillList.MdiParent = oMain;
                        oSc_ICMOBillList.Show();
                        break;
                    case "sc_icmobill":
                        //
                        Sc_ICMOBill oSc_ICMOBill = new Sc_ICMOBill();
                        oSc_ICMOBill.ShowDialog();
                        break;
                    case "sc_icmosortbilllist":
                        //ȨÏÞ
                        Sc_ICMOSortBillList oSc_ICMOSortBillList = new Sc_ICMOSortBillList();
                        oSc_ICMOSortBillList.MdiParent = oMain;
                        oSc_ICMOSortBillList.Show();
                        break;
                    case "sc_icmosortbill":
                        //ȨÏÞ
                        Sc_ICMOSortBill oSc_ICMOSortBill = new Sc_ICMOSortBill();
                        oSc_ICMOSortBill.MdiParent = oMain;
                        oSc_ICMOSortBill.Show();
                        break;
                    case "sc_icmoreportbilllist":
                        //ȨÏÞ
                        Sc_ICMOReportBillList oSc_ICMOReportBillList = new Sc_ICMOReportBillList();
                        oSc_ICMOReportBillList.MdiParent = oMain;
                        oSc_ICMOReportBillList.Show();
                        break;
                    case "sc_icmoreportbill":
                        //
                        Sc_ICMOReportBill oSc_ICMOReportBill = new Sc_ICMOReportBill();
                        oSc_ICMOReportBill.ShowDialog();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region Ó¦ÊÕϵͳ
        public void Zxxymk_YSXT(string gnsy, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "ys_receivebilllist":
                        //ȨÏÞ
                        YS_ReceiveBillList oYS_ReceiveBillList = new YS_ReceiveBillList();
                        oYS_ReceiveBillList.MdiParent = oMain;
                        oYS_ReceiveBillList.Show();
                        break;
                    case "ys_receivebill":
                        //
                        YS_ReceiveBill oYS_ReceiveBill = new YS_ReceiveBill();
                        oYS_ReceiveBill.ShowDialog();
                        break;
                    case "ys_receivebackbilllist":
                        //ȨÏÞ
                        YS_ReceiveBackBillList oYS_ReceiveBackBillList = new YS_ReceiveBackBillList();
                        oYS_ReceiveBackBillList.MdiParent = oMain;
                        oYS_ReceiveBackBillList.Show();
                        break;
                    case "ys_receivebackbill":
                        //
                        YS_ReceiveBackBill oYS_ReceiveBackBill = new YS_ReceiveBackBill();
                        oYS_ReceiveBackBill.ShowDialog();
                        break;
                    case "ys_receivebeforebilllist":
                        //ȨÏÞ
                        YS_ReceiveBeforeBillList oYS_ReceiveBeforeBillList = new YS_ReceiveBeforeBillList();
                        oYS_ReceiveBeforeBillList.MdiParent = oMain;
                        oYS_ReceiveBeforeBillList.Show();
                        break;
                    case "ys_receivebeforebill":
                        //
                        YS_ReceiveBeforeBill oYS_ReceiveBeforeBill = new YS_ReceiveBeforeBill();
                        oYS_ReceiveBeforeBill.ShowDialog();
                        break;
                    case "ys_receiveshouldbilllist":
                        //ȨÏÞ
                        YS_ReceiveShouldBillList oYS_ReceiveShouldBillList = new YS_ReceiveShouldBillList();
                        oYS_ReceiveShouldBillList.MdiParent = oMain;
                        oYS_ReceiveShouldBillList.Show();
                        break;
                    case "ys_receiveshouldbill":
                        //
                        YS_ReceiveShouldBill oYS_ReceiveShouldBill = new YS_ReceiveShouldBill();
                        oYS_ReceiveShouldBill.ShowDialog();
                        break;
                    case "ys_receiveotherbilllist":
                        //ȨÏÞ
                        YS_ReceiveOtherBillList oYS_ReceiveOtherBillList = new YS_ReceiveOtherBillList();
                        oYS_ReceiveOtherBillList.MdiParent = oMain;
                        oYS_ReceiveOtherBillList.Show();
                        break;
                    case "ys_receiveotherbill":
                        //
                        YS_ReceiveOtherBill oYS_ReceiveOtherBill = new YS_ReceiveOtherBill();
                        oYS_ReceiveOtherBill.ShowDialog();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region Ó¦¸¶ÏµÍ³
        public void Zxxymk_YFXT(string gnsy, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "yf_paymentbilllist":
                        //ȨÏÞ
                        YF_PayMentBillList oYF_PayMentBillList = new YF_PayMentBillList();
                        oYF_PayMentBillList.MdiParent = oMain;
                        oYF_PayMentBillList.Show();
                        break;
                    case "yf_paymentbill":
                        //
                        YF_PayMentBill oYF_PayMentBill = new YF_PayMentBill();
                        oYF_PayMentBill.ShowDialog();
                        break;
                    case "yf_paymentbackbilllist":
                        //ȨÏÞ
                        YF_PayMentBackBillList oYF_PayMentBackBillList = new YF_PayMentBackBillList();
                        oYF_PayMentBackBillList.MdiParent = oMain;
                        oYF_PayMentBackBillList.Show();
                        break;
                    case "yf_paymentbackbill":
                        //
                        YF_PayMentBackBill oYF_PayMentBackBill = new YF_PayMentBackBill();
                        oYF_PayMentBackBill.ShowDialog();
                        break;
                    case "yf_paymentbeforebilllist":
                        //ȨÏÞ
                        YF_PayMentBeforeBillList oYF_PayMentBeforeBillList = new YF_PayMentBeforeBillList();
                        oYF_PayMentBeforeBillList.MdiParent = oMain;
                        oYF_PayMentBeforeBillList.Show();
                        break;
                    case "yf_paymentbeforebill":
                        //
                        YF_PayMentBeforeBill oYF_PayMentBeforeBill = new YF_PayMentBeforeBill();
                        oYF_PayMentBeforeBill.ShowDialog();
                        break;
                    case "yf_paymentshouldbill":
                        //
                        YF_PayMentShouldBill oYF_PayMentShouldBill = new YF_PayMentShouldBill();
                        oYF_PayMentShouldBill.ShowDialog();
                        break;
                    case "yf_paymentshouldbilllist":
                        //ȨÏÞ
                        YF_PayMentShouldBillList oYF_PayMentShouldBillList = new YF_PayMentShouldBillList();
                        oYF_PayMentShouldBillList.MdiParent = oMain;
                        oYF_PayMentShouldBillList.Show();
                        break;
                    case "yf_paymentotherbilllist":
                        //ȨÏÞ
                        YF_PayMentOtherBillList oYF_PayMentOtherBillList = new YF_PayMentOtherBillList();
                        oYF_PayMentOtherBillList.MdiParent = oMain;
                        oYF_PayMentOtherBillList.Show();
                        break;
                    case "yf_paymentotherbill":
                        //
                        YF_PayMentOtherBill oYF_PayMentOtherBill = new YF_PayMentOtherBill();
                        oYF_PayMentOtherBill.ShowDialog();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region ³É±¾ÏµÍ³
        public void Zxxymk_CBXT(string gnsy, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
 
                    case "cb_setmatestdpricelist":
                        //ȨÏÞ
                        CB_SetMateStdPriceList oCB_SetMateStdPriceList = new CB_SetMateStdPriceList();
                        oCB_SetMateStdPriceList.MdiParent = oMain;
                        oCB_SetMateStdPriceList.Show();
                        break;
                    case "cb_accmateoutpricelist":
                        //ȨÏÞ
                        CB_AccMateOutPriceList oCB_AccMateOutPriceList = new CB_AccMateOutPriceList();
                        oCB_AccMateOutPriceList.MdiParent = oMain;
                        oCB_AccMateOutPriceList.Show();
                        break;
                    case "cb_sharepayment":
                        //ȨÏÞ
                        CB_SharePayment oCB_SharePayment = new CB_SharePayment();
                        oCB_SharePayment.MdiParent = oMain;
                        oCB_SharePayment.Show();
                        break;
                    case "cb_sharefees":
                        //ȨÏÞ
                        CB_ShareFees oCB_ShareFees = new CB_ShareFees();
                        oCB_ShareFees.MdiParent = oMain;
                        oCB_ShareFees.Show();
                        break;
                    case "cb_accprodinpricelist":
                        //ȨÏÞ
                        CB_AccProdInPriceList oCB_AccProdInPriceList = new CB_AccProdInPriceList();
                        oCB_AccProdInPriceList.MdiParent = oMain;
                        oCB_AccProdInPriceList.Show();
                        break;
                    case "cb_itemmoneybill":
                        //
                        CB_ItemMoneyBill oCB_ItemMoneyBill = new CB_ItemMoneyBill();
                        oCB_ItemMoneyBill.ShowDialog();
                        break;
                    case "cb_itemmoneybilllist":
                        //ȨÏÞ
                        CB_ItemMoneyBillList oCB_ItemMoneyBillList = new CB_ItemMoneyBillList();
                        oCB_ItemMoneyBillList.MdiParent = oMain;
                        oCB_ItemMoneyBillList.Show();
                        break;
                    case "kf_auxproductinbill":
                        //
                        Kf_AuxProductInBill oKf_AuxProductInBill = new Kf_AuxProductInBill();
                        oKf_AuxProductInBill.ShowDialog();
                        break;
                    case "kf_auxproductinbilllist":
                        //ȨÏÞ
                        Kf_AuxProductInBillList oKf_AuxProductInBillList = new Kf_AuxProductInBillList();
                        oKf_AuxProductInBillList.MdiParent = oMain;
                        oKf_AuxProductInBillList.Show();
                        break;
                    case "gy_itemmoney":
                        //ȨÏÞ
                        Gy_ItemMoney oGy_ItemMoney = new Gy_ItemMoney();
                        oGy_ItemMoney.MdiParent = oMain;
                        oGy_ItemMoney.Show();
                        break;
                    case "gy_itemtax":
                        //ȨÏÞ
                        Gy_ItemTax oGy_ItemTax = new Gy_ItemTax();
                        oGy_ItemTax.MdiParent = oMain;
                        oGy_ItemTax.Show();
                        break;
                    //case "gy_proccomm":
                    //    //ȨÏÞ
                    //    Gy_ProcComm oGy_ProcComm = new Gy_ProcComm();
                    //    oGy_ProcComm.MdiParent = oMain;
                    //    oGy_ProcComm.Show();
                    //    break;
                    case "gy_process":
                        //ȨÏÞ
                        Gy_Process oGy_Process = new Gy_Process();
                        oGy_Process.MdiParent = oMain;
                        oGy_Process.Show();
                        break;
                    case "cb_puritemprice":
                        //ȨÏÞ
                        CB_PurItemPrice oCB_PurItemPrice = new CB_PurItemPrice();
                        oCB_PurItemPrice.MdiParent = oMain;
                        oCB_PurItemPrice.Show();
                        break;
                    //case "cb_commitemprice":
                    //    //ȨÏÞ
                    //    CB_CommItemPrice oCB_CommItemPrice = new CB_CommItemPrice();
                    //    oCB_CommItemPrice.MdiParent = oMain;
                    //    oCB_CommItemPrice.Show();
                    //    break;
                    case "cb_prditemprice":
                        //ȨÏÞ
                        CB_PrdItemPrice oCB_PrdItemPrice = new CB_PrdItemPrice();
                        oCB_PrdItemPrice.MdiParent = oMain;
                        oCB_PrdItemPrice.Show();
                        break;
                    case "gy_procprice":
                        //ȨÏÞ
                        Gy_ProcPriceList oGy_ProcPrice = new Gy_ProcPriceList();
                        oGy_ProcPrice.MdiParent = oMain;
                        oGy_ProcPrice.Show();
                        break;
                    //case "gy_proccommprice":
                    //    //ȨÏÞ
                    //    Gy_ProcCommPrice oGy_ProcCommPrice = new Gy_ProcCommPrice();
                    //    oGy_ProcCommPrice.MdiParent = oMain;
                    //    oGy_ProcCommPrice.Show();
                    //    break;
                    case "cb_deptbalacebill":
                        //
                        CB_DeptBalaceBill oCB_DeptBalaceBill = new CB_DeptBalaceBill();
                        oCB_DeptBalaceBill.ShowDialog();
                        break;
                    case "cb_deptbalacebilllist":
                        //ȨÏÞ
                        CB_DeptBalaceBillList oCB_DeptBalaceBillList = new CB_DeptBalaceBillList();
                        oCB_DeptBalaceBillList.MdiParent = oMain;
                        oCB_DeptBalaceBillList.Show();
                        break;
                    case "cb_stdcostreport":
                        //ȨÏÞ
                        //CB_StdCostReport oCB_StdCostReport = new CB_StdCostReport();
                        //oCB_StdCostReport.MdiParent = oMain;
                        //oCB_StdCostReport.Show();
                        break;
                    case "cb_stdbomcost":
                        //ȨÏÞ
                        CB_StdBOMCost oCB_StdBOMCost = new CB_StdBOMCost();
                        oCB_StdBOMCost.MdiParent = oMain;
                        oCB_StdBOMCost.Show();
                        break;
                    case "cb_batchcostreport":
                        //ȨÏÞ
                        CB_BatchCostReport oCB_BatchCostReport = new CB_BatchCostReport();
                        oCB_BatchCostReport.MdiParent = oMain;
                        oCB_BatchCostReport.Show();
                        break;
                    case "cb_monthcostreport":
                        //ȨÏÞ
                        CB_MonthCostReport oCB_MonthCostReport = new CB_MonthCostReport();
                        oCB_MonthCostReport.MdiParent = oMain;
                        oCB_MonthCostReport.Show();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region ²Ö¿âϵͳ
        public void Zxxymk_CKXT(string gnsy, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "hg_stdbominterface":
                        //ȨÏÞ
                        HG_stdBomInterFace oHG_stdBomInterFace = new HG_stdBomInterFace();
                        oHG_stdBomInterFace.MdiParent = oMain;
                        oHG_stdBomInterFace.Show();
                        break;
                    case "kf_cailiao":
                        //ȨÏÞ
                        Kf_Cailiao oKf_Cailiao = new Kf_Cailiao();
                        oKf_Cailiao.MdiParent = oMain;
                        oKf_Cailiao.Show();
                        break;
                    case "kf_materback":
                        //ȨÏÞ
                        KF_MaterBack oKF_MaterBack = new KF_MaterBack();
                        oKF_MaterBack.MdiParent = oMain;
                        oKF_MaterBack.Show();
                        break;
                    case "k3_productinbilllist":
                        //ȨÏÞ
                        K3_ProductInBillList oK3_ProductInBillList = new K3_ProductInBillList();
                        oK3_ProductInBillList.MdiParent = oMain;
                        oK3_ProductInBillList.Show();
                        break;
                    case "k3_selloutbilllist":
                        //ȨÏÞ
                        K3_SellOutBillList oK3_SellOutBillList = new K3_SellOutBillList();
                        oK3_SellOutBillList.MdiParent = oMain;
                        oK3_SellOutBillList.Show();
                        break;
                    case "kf_inceptentinbilllist":
                        //ȨÏÞ
                        Kf_InceptEntInBillList oKf_InceptEntInBillList = new Kf_InceptEntInBillList();
                        oKf_InceptEntInBillList.MdiParent = oMain;
                        oKf_InceptEntInBillList.Show();
                        break;
                    case "kf_inceptentinbill":
                        //
                        Kf_InceptEntInBill oKf_InceptEntInBill = new Kf_InceptEntInBill();
                        oKf_InceptEntInBill.ShowDialog();
                        break;
                    case "kf_inceptentoutbilllist":
                        //ȨÏÞ
                        Kf_InceptEntOutBillList oKf_InceptEntOutBillList = new Kf_InceptEntOutBillList();
                        oKf_InceptEntOutBillList.MdiParent = oMain;
                        oKf_InceptEntOutBillList.Show();
                        break;
                    case "kf_inceptentoutbill":
                        //
                        Kf_InceptEntOutBill oKf_InceptEntOutBill = new Kf_InceptEntOutBill();
                        oKf_InceptEntOutBill.ShowDialog();
                        break;
 
                    case "kf_entrustinbilllist":
                        //ȨÏÞ
                        Kf_EntrustInBillList oKf_EntrustInBillList = new Kf_EntrustInBillList();
                        oKf_EntrustInBillList.MdiParent = oMain;
                        oKf_EntrustInBillList.Show();
                        break;
                    case "kf_entrustinbill":
                        //
                        Kf_EntrustInBill oKf_EntrustInBill = new Kf_EntrustInBill();
                        oKf_EntrustInBill.ShowDialog();
                        break;
 
                    case "kf_entrustoutbilllist":
                        //ȨÏÞ
                        Kf_EntrustOutBillList oKf_EntrustOutBillList = new Kf_EntrustOutBillList();
                        oKf_EntrustOutBillList.MdiParent = oMain;
                        oKf_EntrustOutBillList.Show();
                        break;
                    case "kf_entrustoutbill":
                        //
                        Kf_EntrustOutBill oKf_EntrustOutBill = new Kf_EntrustOutBill();
                        oKf_EntrustOutBill.ShowDialog();
                        break;
 
                    case "kf_selloutbilllist":
                        //ȨÏÞ
                        Kf_SellOutBillList oKf_SellOutBillList = new Kf_SellOutBillList();
                        oKf_SellOutBillList.MdiParent = oMain;
                        oKf_SellOutBillList.Show();
                        break;
                    case "kf_selloutbill":
                        //
                        Kf_SellOutBill oKf_SellOutBill = new Kf_SellOutBill();
                        oKf_SellOutBill.ShowDialog();
                        break;
                    case "kf_mateoutbilllist":
                        //ȨÏÞ
                        Kf_MateOutBillList oKf_MateOutBillList = new Kf_MateOutBillList();
                        oKf_MateOutBillList.MdiParent = oMain;
                        oKf_MateOutBillList.Show();
                        break;
                    case "kf_mateoutbill":
                        //
                        Kf_MateOutBill oKf_MateOutBill = new Kf_MateOutBill();
                        oKf_MateOutBill.ShowDialog();
                        break;
                    case "kf_productinbilllist":
                        //ȨÏÞ
                        Kf_ProductInBillList oKf_ProductInBillList = new Kf_ProductInBillList();
                        oKf_ProductInBillList.MdiParent = oMain;
                        oKf_ProductInBillList.Show();
                        break;
                    case "kf_productinbill":
                        //
                        Kf_ProductInBill oKf_ProductInBill = new Kf_ProductInBill();
                        oKf_ProductInBill.ShowDialog();
                        break;
                    case "kf_postockinbilllist":
                        //ȨÏÞ
                        Kf_POStockInBillList oKf_POStockInBillList = new Kf_POStockInBillList();
                        oKf_POStockInBillList.MdiParent = oMain;
                        oKf_POStockInBillList.Show();
                        break;
                    case "kf_postockinbill":
                        //
                        Kf_POStockInBill oKf_POStockInBill = new Kf_POStockInBill();
                        oKf_POStockInBill.ShowDialog();
                        break;
                    case "kf_otherinbilllist":
                        //ȨÏÞ
                        Kf_OtherInBillList oKf_OtherInBillList = new Kf_OtherInBillList();
                        oKf_OtherInBillList.MdiParent = oMain;
                        oKf_OtherInBillList.Show();
                        break;
                    case "kf_otherinbill":
                        //
                        Kf_OtherInBill oKf_OtherInBill = new Kf_OtherInBill();
                        oKf_OtherInBill.ShowDialog();
                        break;
                    case "kf_otheroutbilllist":
                        //ȨÏÞ
                        Kf_OtherOutBillList oKf_OtherOutBillList = new Kf_OtherOutBillList();
                        oKf_OtherOutBillList.MdiParent = oMain;
                        oKf_OtherOutBillList.Show();
                        break;
                    case "kf_otheroutbill":
                        //
                        Kf_OtherOutBill oKf_OtherOutBill = new Kf_OtherOutBill();
                        oKf_OtherOutBill.ShowDialog();
                        break;
                    case "kf_movestockbilllist":
                        //ȨÏÞ
                        Kf_MoveStockBillList oKf_MoveStockBillList = new Kf_MoveStockBillList();
                        oKf_MoveStockBillList.MdiParent = oMain;
                        oKf_MoveStockBillList.Show();
                        break;
                    case "kf_movestockbill":
                        //
                        Kf_MoveStockBill oKf_MoveStockBill = new Kf_MoveStockBill();
                        oKf_MoveStockBill.ShowDialog();
                        break;
                    case "kf_checkstockbilllist":
                        //ȨÏÞ
                        Kf_CheckStockBillList oKf_CheckStockBillList = new Kf_CheckStockBillList();
                        oKf_CheckStockBillList.MdiParent = oMain;
                        oKf_CheckStockBillList.Show();
                        break;
                    case "kf_checkstockbill":
                        //
                        Kf_CheckStockBill oKf_CheckStockBill = new Kf_CheckStockBill();
                        oKf_CheckStockBill.ShowDialog();
                        break;
                    
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
        
        #region ²É¹ºÏµÍ³
        public void Zxxymk_CGXT(string gnsy, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "kf_postockinbilllist":
                        //ȨÏÞ
                        Kf_POStockInBillList oKf_POStockInBillList = new Kf_POStockInBillList();
                        oKf_POStockInBillList.MdiParent = oMain;
                        oKf_POStockInBillList.Show();
                        break;
                    case "kf_postockinbill":
                        //
                        Kf_POStockInBill oKf_POStockInBill = new Kf_POStockInBill();
                        oKf_POStockInBill.ShowDialog();
                        break;
                    case "cg_poorderbilllist":
                        //ȨÏÞ
                        Cg_POOrderBillList oCg_POOrderBillList = new Cg_POOrderBillList();
                        oCg_POOrderBillList.MdiParent = oMain;
                        oCg_POOrderBillList.Show();
                        break;
                    case "cg_poorderbill":
                        //
                        Cg_POOrderBill oCg_POOrderBill = new Cg_POOrderBill();
                        oCg_POOrderBill.ShowDialog();
                        break;
                    case "cg_poinstockbilllist":
                        //ȨÏÞ
                        Cg_POInStockBillList oCg_POInStockBillList = new Cg_POInStockBillList();
                        oCg_POInStockBillList.MdiParent = oMain;
                        oCg_POInStockBillList.Show();
                        break;
                    case "cg_poinstockbill":
                        //
                        Cg_POInStockBill oCg_POInStockBill = new Cg_POInStockBill();
                        oCg_POInStockBill.ShowDialog();
                        break;
                    case "cg_poinstockbackbilllist":
                        //ȨÏÞ
                        Cg_POInStockBackBillList oCg_POInStockBackBillList = new Cg_POInStockBackBillList();
                        oCg_POInStockBackBillList.MdiParent = oMain;
                        oCg_POInStockBackBillList.Show();
                        break;
                    case "cg_poinstockbackbill":
                        //
                        Cg_POInStockBackBill oCg_POInStockBackBill = new Cg_POInStockBackBill();
                        oCg_POInStockBackBill.ShowDialog();
                        break;
                    case "cg_porequestbilllist":
                        //ȨÏÞ
                        Cg_PORequestBillList oCg_PORequestBillList = new Cg_PORequestBillList();
                        oCg_PORequestBillList.MdiParent = oMain;
                        oCg_PORequestBillList.Show();
                        break;
                    case "cg_porequestbill":
                        //
                        Cg_PORequestBill oCg_PORequestBill = new Cg_PORequestBill();
                        oCg_PORequestBill.ShowDialog();
                        break;
                    case "cg_invoicebilllist":
                        //ȨÏÞ
                        Cg_InvoiceBillList oCg_InvoiceBillList = new Cg_InvoiceBillList();
                        oCg_InvoiceBillList.MdiParent = oMain;
                        oCg_InvoiceBillList.Show();
                        break;
                    case "cg_invoicebill":
                        //
                        Cg_InvoiceBill oCg_InvoiceBill = new Cg_InvoiceBill();
                        oCg_InvoiceBill.ShowDialog();
                        oCg_InvoiceBill.Dispose();
                        break;
                    case "cg_contractbilllist":
                        //ȨÏÞ
                        Cg_ContractBillList oCg_ContractBillList = new Cg_ContractBillList();
                        oCg_ContractBillList.MdiParent = oMain;
                        oCg_ContractBillList.Show();
                        
                        break;
                    case "cg_contractbill":
                        //
                        Cg_ContractBill oCg_ContractBill = new Cg_ContractBill();
                        oCg_ContractBill.ShowDialog();
                        oCg_ContractBill.Dispose();
                        break;
                    case "cg_invoicespecbilllist":
                        //ȨÏÞ
                        Cg_InvoiceSpecBillList oCg_InvoiceSpecBillList = new Cg_InvoiceSpecBillList();
                        oCg_InvoiceSpecBillList.MdiParent = oMain;
                        oCg_InvoiceSpecBillList.Show();
                        break;
                    case "cg_invoicespecbill":
                        //
                        Cg_InvoiceSpecBill oCg_InvoiceSpecBill = new Cg_InvoiceSpecBill();
                        oCg_InvoiceSpecBill.ShowDialog();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
        
        #region ÏúÊÛϵͳ
        public void Zxxymk_XSXT(string gnsy, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "k3_seorderbilllist":
                        //ȨÏÞ
                        K3_SeOrderBillList oK3_SeOrderBillList = new K3_SeOrderBillList();
                        oK3_SeOrderBillList.MdiParent = oMain;
                        oK3_SeOrderBillList.Show();
                        break;
                    case "k3_seorderbill":
                        //
                        K3_SeOrderBill oK3_SeOrderBill = new K3_SeOrderBill();
                        oK3_SeOrderBill.ShowDialog();
                        break;
 
                    case "kf_selloutbilllist":
                        //ȨÏÞ
                        Kf_SellOutBillList oKf_SellOutBillList = new Kf_SellOutBillList();
                        oKf_SellOutBillList.MdiParent = oMain;
                        oKf_SellOutBillList.Show();
                        break;
                    case "kf_selloutbill":
                        //
                        Kf_SellOutBill oKf_SellOutBill = new Kf_SellOutBill();
                        oKf_SellOutBill.ShowDialog();
                        break;
                    case "xs_contractbilllist":
                        //ȨÏÞ
                        Xs_ContractBillList oXs_ContractBillList = new Xs_ContractBillList();
                        oXs_ContractBillList.MdiParent = oMain;
                        oXs_ContractBillList.Show();
                        break;
                    case "xs_contractbill":
                        //
                        Xs_ContractBill oXs_ContractBill = new Xs_ContractBill();
                        oXs_ContractBill.ShowDialog();
                        break;
                    case "xs_seorderbilllist":
                        //ȨÏÞ
                        Xs_SeOrderBillList oXs_SeOrderBillList = new Xs_SeOrderBillList();
                        oXs_SeOrderBillList.MdiParent = oMain;
                        oXs_SeOrderBillList.Show();
                        break;
                    case "xs_seorderbill":
                        //
                        Xs_SeOrderBill oXs_SeOrderBill = new Xs_SeOrderBill();
                        oXs_SeOrderBill.ShowDialog();
                        break;
                    case "xs_seoutstockbilllist":
                        //ȨÏÞ
                        Xs_SeOutStockBillList oXs_SeOutStockBillList = new Xs_SeOutStockBillList();
                        oXs_SeOutStockBillList.MdiParent = oMain;
                        oXs_SeOutStockBillList.Show();
                        break;
                    case "xs_seoutstockbill":
                        //
                        Xs_SeOutStockBill oXs_SeOutStockBill = new Xs_SeOutStockBill();
                        oXs_SeOutStockBill.ShowDialog();
                        break;
                    case "xs_seoutstockbackbilllist":
                        //ȨÏÞ
                        Xs_SeOutStockBackBillList oXs_SeOutStockBackBillList = new Xs_SeOutStockBackBillList();
                        oXs_SeOutStockBackBillList.MdiParent = oMain;
                        oXs_SeOutStockBackBillList.Show();
                        break;
                    case "xs_seoutstockbackbill":
                        //
                        Xs_SeOutStockBackBill oXs_SeOutStockBackBill = new Xs_SeOutStockBackBill();
                        oXs_SeOutStockBackBill.ShowDialog();
                        break;
                    case "xs_invoicebilllist":
                        //ȨÏÞ
                        Xs_InvoiceBillList oXs_InvoiceBillList = new Xs_InvoiceBillList();
                        oXs_InvoiceBillList.MdiParent = oMain;
                        oXs_InvoiceBillList.Show();
                        break;
                    case "xs_invoicebill":
                        //
                        Xs_InvoiceBill oXs_InvoiceBill = new Xs_InvoiceBill();
                        oXs_InvoiceBill.ShowDialog();
                        break;
                    case "xs_invoicespecbilllist":
                        //ȨÏÞ
                        Xs_InvoiceSpecBillList oXs_InvoiceSpecBillList = new Xs_InvoiceSpecBillList();
                        oXs_InvoiceSpecBillList.MdiParent = oMain;
                        oXs_InvoiceSpecBillList.Show();
                        break;
                    case "xs_invoicespecbill":
                        //
                        Xs_InvoiceSpecBill oXs_InvoiceSpecBill = new Xs_InvoiceSpecBill();
                        oXs_InvoiceSpecBill.ShowDialog();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
        
        #region ¹¤×Êϵͳ
        public void Zxxymk_GZXT(string gnsy, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "pay_outapplybilllist":
                        //ȨÏÞ
                        Pay_OutApplyBillList oPay_OutApplyBillList = new Pay_OutApplyBillList();
                        oPay_OutApplyBillList.MdiParent = oMain;
                        oPay_OutApplyBillList.Show();
                        break;
                    case "pay_outapplybill":
                        //
                        Pay_OutApplyBill oPay_OutApplyBill = new Pay_OutApplyBill();
                        oPay_OutApplyBill.ShowDialog();
                        break;
 
                    case "pay_procpricerequestbilllist":
                        //ȨÏÞ
                        Pay_ProcPriceRequestBillList oPay_ProcPriceRequestBillList = new Pay_ProcPriceRequestBillList();
                        oPay_ProcPriceRequestBillList.MdiParent = oMain;
                        oPay_ProcPriceRequestBillList.Show();
                        break;
                    case "pay_procpricerequestbill":
                        //
                        Pay_ProcPriceRequestBill oPay_ProcPriceRequestBill = new Pay_ProcPriceRequestBill();
                        oPay_ProcPriceRequestBill.ShowDialog();
                        break;
                    //case "pay_exambalbilllist":
                    //    //ȨÏÞ
                    //    Pay_ExamBalBillList oPay_ExamBalBillList = new Pay_ExamBalBillList();
                    //    oPay_ExamBalBillList.MdiParent = oMain;
                    //    oPay_ExamBalBillList.Show();
                    //    break;
                    //case "pay_exambalbill":
                    //    //
                    //    Pay_ExamBalBill oPay_ExamBalBill = new Pay_ExamBalBill();
                    //    oPay_ExamBalBill.ShowDialog();
                    //    break;
                    case "pay_worktimesbilllist":
                        //ȨÏÞ
                        Pay_WorkTimesBillList oPay_WorkTimesBillList = new Pay_WorkTimesBillList();
                        oPay_WorkTimesBillList.MdiParent = oMain;
                        oPay_WorkTimesBillList.Show();
                        break;
                    case "pay_worktimesbill":
                        //
                        Pay_WorkTimesBill oPay_WorkTimesBill = new Pay_WorkTimesBill();
                        oPay_WorkTimesBill.ShowDialog();
                        break;
                    case "pay_paymentbilllist":
                        //ȨÏÞ
                        Pay_PayMentBillList oPay_PayMentBillList = new Pay_PayMentBillList();
                        oPay_PayMentBillList.MdiParent = oMain;
                        oPay_PayMentBillList.Show();
                        break;
                    case "pay_paymentbill":
                        //
                        Pay_PayMentBill oPay_PayMentBill = new Pay_PayMentBill();
                        oPay_PayMentBill.MdiParent = oMain;
                        oPay_PayMentBill.Show();
                        break;
                    case "pay_groupbalbilllist":
                        //ȨÏÞ
                        Pay_GroupBalBillList oPay_GroupBalBillList = new Pay_GroupBalBillList();
                        oPay_GroupBalBillList.MdiParent = oMain;
                        oPay_GroupBalBillList.Show();
                        break;
                    case "pay_groupbalbill":
                        //
                        Pay_GroupBalBill oPay_GroupBalBill = new Pay_GroupBalBill();
                        oPay_GroupBalBill.ShowDialog();
                        break;
                    case "pay_singlebalbilllist":
                        //ȨÏÞ
                        Pay_SingleBalBillList oPay_SingleBalBillList = new Pay_SingleBalBillList();
                        oPay_SingleBalBillList.MdiParent = oMain;
                        oPay_SingleBalBillList.Show();
                        break;
                    case "pay_singlebalbill":
                        //
                        Pay_SingleBalBill oPay_SingleBalBill = new Pay_SingleBalBill();
                        oPay_SingleBalBill.ShowDialog();
                        break;
                    case "pay_otherbalbilllist":
                        //ȨÏÞ
                        Pay_OtherBalBillList oPay_OtherBalBillList = new Pay_OtherBalBillList();
                        oPay_OtherBalBillList.MdiParent = oMain;
                        oPay_OtherBalBillList.Show();
                        break;
                    case "pay_otherbalbill":
                        //
                        Pay_OtherBalBill oPay_OtherBalBill = new Pay_OtherBalBill();
                        oPay_OtherBalBill.ShowDialog();
                        break;
                    case "pay_overapplybill":
                        //
                        Pay_OverApplyBill oPay_OverApplyBill = new Pay_OverApplyBill();
                        oPay_OverApplyBill.ShowDialog();
                        break;
                    case "pay_overapplybilllist":
                        //ȨÏÞ
                        Pay_OverApplyBillList oPay_OverApplyBillList = new Pay_OverApplyBillList();
                        oPay_OverApplyBillList.MdiParent = oMain;
                        oPay_OverApplyBillList.Show();
                        break;
 
                    case "pay_timeschangebilllist":
                        //ȨÏÞ
                        Pay_TimesChangeBillList oPay_TimesChangeBillList = new Pay_TimesChangeBillList();
                        oPay_TimesChangeBillList.MdiParent = oMain;
                        oPay_TimesChangeBillList.Show();
                        break;
                    case "pay_timeschangebill":
                        //
                        Pay_TimesChangeBill oPay_TimesChangeBill = new Pay_TimesChangeBill();
                        oPay_TimesChangeBill.ShowDialog();
                        break;
                    //case "pay_paymoneybilldatain":
                    //    //ȨÏÞ
                    //    Pay_PayMoneyBillDataIn oPay_PayMoneyBill = new Pay_PayMoneyBillDataIn();
                    //    oPay_PayMoneyBill.MdiParent = oMain;
                    //    oPay_PayMoneyBill.Show();
                    //    break;
                    //case "pay_monthworktimedatain":
                    //    //ȨÏÞ
                    //    Pay_MonthWorkTimeDataIn oPay_MonthWorkTimeDataIn = new Pay_MonthWorkTimeDataIn();
                    //    //oPay_MonthWorkTimeDataIn.MdiParent = oMain;
                    //    oPay_MonthWorkTimeDataIn.ShowDialog();
                    //    break;
                    //case "pay_monthworktimedatain2":
                    //    //ȨÏÞ
                    //    Pay_MonthWorkTimeDataIn2 oPay_MonthWorkTimeDataIn2 = new Pay_MonthWorkTimeDataIn2();
                    //    //oPay_MonthWorkTimeDataIn.MdiParent = oMain;
                    //    oPay_MonthWorkTimeDataIn2.ShowDialog();
                    //    break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
        
        #region »ù´¡ÉèÖÃ
        public void Zxxymk_JCSJ(string gnsy, Form oMain)
        {
            Form sFrm;
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "gy_conkreason":  // 
                        Gy_ConkReason oGy_ConkReason = new Gy_ConkReason();
                        oGy_ConkReason.MdiParent = oMain;
                        oGy_ConkReason.Show();
                        break;
                    case "gy_conktype":  // 
                        Gy_ConkType oGy_ConkType = new Gy_ConkType();
                        oGy_ConkType.MdiParent = oMain;
                        oGy_ConkType.Show();
                        break;
                    case "gy_repair":  // 
                        Gy_Repair oGy_Repair = new Gy_Repair();
                        oGy_Repair.MdiParent = oMain;
                        oGy_Repair.Show();
                        break;
                    case "gy_repaircheck":  // 
                        Gy_RepairCheck oGy_RepairCheck = new Gy_RepairCheck();
                        oGy_RepairCheck.MdiParent = oMain;
                        oGy_RepairCheck.Show();
                        break;
 
                    case "gy_stockplace":  //²Öλ
                        Gy_StockPlace oGy_StockPlace = new Gy_StockPlace();
                        oGy_StockPlace.MdiParent = oMain;
                        oGy_StockPlace.Show();
                        break;
                    case "gy_suptarget":  //
                        Gy_SupTarget oGy_SupTarget = new Gy_SupTarget();
                        oGy_SupTarget.MdiParent = oMain;
                        oGy_SupTarget.Show();
                        break;
                    case "gy_consume":  //Ïû·ÑÏîÄ¿
                        Gy_Consume oGy_Consume = new Gy_Consume();
                        oGy_Consume.MdiParent = oMain;
                        oGy_Consume.Show();
                        break;
                    case "gy_present":  //ÀñÆ·ÉèÖÃ
                        Gy_Present oGy_Present = new Gy_Present();
                        oGy_Present.MdiParent = oMain;
                        oGy_Present.Show();
                        break;
                    case "gy_viplevel":  //»áÔ±µÈ¼¶
                        Gy_VipLevel oGy_VipLevel = new Gy_VipLevel();
                        oGy_VipLevel.MdiParent = oMain;
                        oGy_VipLevel.Show();
                        break;
                    case "gy_vip":  //»áÔ±ÉèÖÃ
                        Gy_Vip oGy_Vip = new Gy_Vip();
                        oGy_Vip.MdiParent = oMain;
                        oGy_Vip.Show();
                        break;
                    case "gy_paytype":  //¸¶¿î·½Ê½
                        Gy_PayType oGy_PayType = new Gy_PayType();
                        oGy_PayType.MdiParent = oMain;
                        oGy_PayType.Show();
                        break;
                    case "gy_markrule":  //»ý·Ö¹æÔò
                        Gy_MarkRule oGy_MarkRule = new Gy_MarkRule();
                        oGy_MarkRule.MdiParent = oMain;
                        oGy_MarkRule.Show();
                        break;
                    case "gy_payrule":  //³äÖµ¹æÔò
                        Gy_PayRule oGy_PayRule = new Gy_PayRule();
                        oGy_PayRule.MdiParent = oMain;
                        oGy_PayRule.Show();
                        break;
                    case "k3_warehouse":
                        K3_Warehouse oK3_Warehouse = new K3_Warehouse();
                        oK3_Warehouse.MdiParent = oMain;
                        oK3_Warehouse.Show();
                        break;
                    case "k3_supplier":
                        K3_Supplier oK3_Supplier = new K3_Supplier();
                        oK3_Supplier.MdiParent = oMain;
                        oK3_Supplier.Show();
                        break;
                    case "k3_customer":
                        K3_Customer oK3_Customer = new K3_Customer();
                        oK3_Customer.MdiParent = oMain;
                        oK3_Customer.Show();
                        break;
                    case "k3_area":
                        K3_Area oK3_Area = new K3_Area();
                        oK3_Area.MdiParent = oMain;
                        oK3_Area.Show();
                        break;
                    case "k3_currency":
                        K3_Currency oK3_Currency = new K3_Currency();
                        oK3_Currency.MdiParent = oMain;
                        oK3_Currency.Show();
                        break;
                    case "k3_unit":
                        K3_Unit oK3_Unit = new K3_Unit();
                        oK3_Unit.MdiParent = oMain;
                        oK3_Unit.Show();
                        break;
                    case "gy_repairtype":
                        Gy_RepairType oGy_RepairType = new Gy_RepairType();
                        oGy_RepairType.MdiParent = oMain;
                        oGy_RepairType.Show();
                        break;
                    case "gy_trade":
                        Gy_Trade oGy_Trade = new Gy_Trade();
                        oGy_Trade.MdiParent = oMain;
                        oGy_Trade.Show();
                        break;
                    case "gy_evaluatestatus":
                        Gy_EvaluateStatus oGy_EvaluateStatus = new Gy_EvaluateStatus();
                        oGy_EvaluateStatus.MdiParent = oMain;
                        oGy_EvaluateStatus.Show();
                        break;
                    case "gy_expensestatus":
                        Gy_ExpenseStatus oGy_ExpenseStatus = new Gy_ExpenseStatus();
                        oGy_ExpenseStatus.MdiParent = oMain;
                        oGy_ExpenseStatus.Show();
                        break;
                    case "gy_sectype":
                        Gy_SecType oGy_SecType = new Gy_SecType();
                        oGy_SecType.MdiParent = oMain;
                        oGy_SecType.Show();
                        break;
 
                    case "gy_comkind":
                        Gy_ComKind oGy_ComKind = new Gy_ComKind();
                        oGy_ComKind.MdiParent = oMain;
                        oGy_ComKind.Show();
                        break;
                    case "gy_comscope":
                        Gy_ComScope oGy_ComScope = new Gy_ComScope();
                        oGy_ComScope.MdiParent = oMain;
                        oGy_ComScope.Show();
                        break;
                    case "gy_comsort":
                        Gy_ComSort oGy_ComSort = new Gy_ComSort();
                        oGy_ComSort.MdiParent = oMain;
                        oGy_ComSort.Show();
                        break;
                    case "gy_comtype":
                        Gy_ComType oGy_ComType = new Gy_ComType();
                        oGy_ComType.MdiParent = oMain;
                        oGy_ComType.Show();
                        break;
                    case "gy_supsort":
                        Gy_SupSort oGy_SupSort = new Gy_SupSort();
                        oGy_SupSort.MdiParent = oMain;
                        oGy_SupSort.Show();
                        break;
                    case "gy_supstatus":
                        Gy_SupStatus oGy_SupStatus = new Gy_SupStatus();
                        oGy_SupStatus.MdiParent = oMain;
                        oGy_SupStatus.Show();
                        break;
                    case "k3_department":
                        K3_Department oK3_Department = new K3_Department();
                        oK3_Department.MdiParent = oMain;
                        oK3_Department.Show();
                        break;
                    case "hg_currency":
                        HG_Currency oHG_Currency = new HG_Currency();
                        oHG_Currency.MdiParent = oMain;
                        oHG_Currency.Show();
                        break;
                    case "hg_countryarea":
                        HG_CountryArea oHG_CountryArea = new HG_CountryArea();
                        oHG_CountryArea.MdiParent = oMain;
                        oHG_CountryArea.Show();
                        break;
                    case "hg_unit":
                        HG_Unit oHG_Unit = new HG_Unit();
                        oHG_Unit.MdiParent = oMain;
                        oHG_Unit.Show();
                        break;
                    case "hg_use":
                        HG_Use oHG_Use = new HG_Use();
                        oHG_Use.MdiParent = oMain;
                        oHG_Use.Show();
                        break;
                    case "hg_freetaxitem":
                        HG_FreeTaxItem oHG_FreeTaxItem = new HG_FreeTaxItem();
                        oHG_FreeTaxItem.MdiParent = oMain;
                        oHG_FreeTaxItem.Show();
                        break;
                    case "gy_worktimes":
                        Gy_WorkTimes oGy_WorkTimes = new Gy_WorkTimes();
                        oGy_WorkTimes.MdiParent = oMain;
                        oGy_WorkTimes.Show();
                        break;
                    case "gy_equipfile":
                        Gy_EquipFile oGy_EquipFile = new Gy_EquipFile();
                        oGy_EquipFile.ShowDialog();
                        break;
                    case "gy_equipfilelist":
                        Gy_EquipFileList oGy_EquipFileList = new Gy_EquipFileList();
                        oGy_EquipFileList.MdiParent = oMain;
                        oGy_EquipFileList.Show();
                        break;
                    case "gy_maintain":  //»ÃÐÄ
                        Gy_PaperSort oGy_Maintain = new Gy_PaperSort();
                        oGy_Maintain.MdiParent = oMain;
                        oGy_Maintain.Show();
                        break;
                    case "gy_energy":
                        Gy_Energy oGy_Energy = new Gy_Energy();
                        oGy_Energy.MdiParent = oMain;
                        oGy_Energy.Show();
                        break;
                    case "gy_safety":
                        Gy_Safety oGy_Safety = new Gy_Safety();
                        oGy_Safety.MdiParent = oMain;
                        oGy_Safety.Show();
                        break;
 
                    case "gy_procpricerela":
                        Gy_ProcPriceRela oGy_ProcPriceRela = new Gy_ProcPriceRela();
                        oGy_ProcPriceRela.MdiParent = oMain;
                        oGy_ProcPriceRela.Show();
                        break;
                    case "gy_workpaytype":
                        Gy_WorkPayType oGy_WorkPayType = new Gy_WorkPayType();
                        oGy_WorkPayType.MdiParent = oMain;
                        oGy_WorkPayType.Show();
                        break;
                    case "gy_dusubsidyitem":
                        Gy_DuSubsidyItem oGy_DuSubsidyItem = new Gy_DuSubsidyItem();
                        oGy_DuSubsidyItem.MdiParent = oMain;
                        oGy_DuSubsidyItem.Show();
                        break;
                    case "gy_custype":
                        Gy_CusType oGy_CusType = new Gy_CusType();
                        oGy_CusType.MdiParent = oMain;
                        oGy_CusType.Show();
                        break;
                    case "gy_suptype":
                        Gy_SupType oGy_SupType = new Gy_SupType();
                        oGy_SupType.MdiParent = oMain;
                        oGy_SupType.Show();
                        break;
                    case "gy_process":
                        Gy_Process oFrm = new Gy_Process();
                        oFrm.MdiParent = oMain;
                        oFrm.Show();
                        break;
                    case "gy_proccomm":
                        Gy_ProcComm oGy_ProcComm = new Gy_ProcComm();
                        oGy_ProcComm.MdiParent = oMain;
                        oGy_ProcComm.Show();
                        break;
                    case "gy_department":
                        //ȨÏÞ
                        Gy_Department oDept = new Gy_Department();
                        oDept.MdiParent = oMain;
                        oDept.Show();
                        break;
                    case "gy_currency":
                        //ȨÏÞ
                        Gy_Currency oCur = new Gy_Currency();
                        oCur.MdiParent = oMain;
                        oCur.Show();
                        break;
                    case "gy_customer":
                        //ȨÏÞ
                        Gy_Customer oCus = new Gy_Customer();
                        oCus.MdiParent = oMain;
                        oCus.Show();
                        break;
                    case "gy_supplier":
                        //ȨÏÞ
                        Gy_Supplier oSup = new Gy_Supplier();
                        oSup.MdiParent = oMain;
                        oSup.Show();
                        break;
                    case "gy_unit":
                        //ȨÏÞ
                        Gy_Unit oUnit = new Gy_Unit();
                        oUnit.MdiParent = oMain;
                        oUnit.Show();
                        break;
                    case "gy_material":
                        //ȨÏÞ
                        Gy_Material oMater = new Gy_Material();
                        oMater.MdiParent = oMain;
                        oMater.Show();
                        break;
                    case "gy_planshifts":
                        //ȨÏÞ
                        Gy_PlanShifts oGy_PlanShifts = new Gy_PlanShifts();
                        oGy_PlanShifts.MdiParent = oMain;
                        oGy_PlanShifts.Show();
                        break;
                    case "gy_warehouse":
                        //ȨÏÞ
                        Gy_Warehouse oWareHouse = new Gy_Warehouse();
                        oWareHouse.MdiParent = oMain;
                        oWareHouse.Show();
                        break;
                    case "gy_matepricecuslist":
                        Gy_MatePriceCusList oMatePriecCus=new Gy_MatePriceCusList();
                        oMatePriecCus.MdiParent=oMain;
                        oMatePriecCus.Show();
                        break;
                    case "gy_matepricesuplist":
                        Gy_MatePriceSupList oGy_MatePriceSupList = new Gy_MatePriceSupList();
                        oGy_MatePriceSupList.MdiParent = oMain;
                        oGy_MatePriceSupList.Show();
                        break;
                    case "gy_procpricelist":
                        Gy_ProcPriceList oGy_ProcPriceList = new Gy_ProcPriceList();
                        oGy_ProcPriceList.MdiParent = oMain;
                        oGy_ProcPriceList.Show();
                        break;
                    case "gy_proccommpricelist":
                        Gy_ProcCommPriceList oGy_ProcCommPriceList = new Gy_ProcCommPriceList();
                        oGy_ProcCommPriceList.MdiParent = oMain;
                        oGy_ProcCommPriceList.Show();
                        break;
                    case "gy_post":
                        Gy_Post oPost = new Gy_Post();
                        oPost.MdiParent = oMain;
                        oPost.Show();
                        break;
                    case "gy_areaset":
                        Gy_AreaSet oAreaSet = new Gy_AreaSet();
                        oAreaSet.MdiParent = oMain;
                        oAreaSet.Show();
                        break;
                    case "gy_group":
                        Gy_Group oGroup = new Gy_Group();
                        oGroup.MdiParent = oMain;
                        oGroup.Show();
                        break;
                    case "gy_shifts":
                        Gy_Shifts oGy_Shifts = new Gy_Shifts();
                        oGy_Shifts.MdiParent = oMain;
                        oGy_Shifts.Show();
                        break;
                    case "gy_worktype":
                        Gy_WorkType oGy_WorkType = new Gy_WorkType();
                        oGy_WorkType.MdiParent = oMain;
                        oGy_WorkType.Show();
                        break;
                    case "gy_prodtype":
                        Gy_ProdType oGy_ProdType = new Gy_ProdType();
                        oGy_ProdType.MdiParent = oMain;
                        oGy_ProdType.Show();
                        break;
                    case "gy_workcenter":
                        Gy_WorkCenter oGy_WorkCenter = new Gy_WorkCenter();
                        oGy_WorkCenter.MdiParent = oMain;
                        oGy_WorkCenter.Show();
                        break;
                    case "gy_source":
                        Gy_Source oGy_Source = new Gy_Source();
                        oGy_Source.MdiParent = oMain;
                        oGy_Source.Show();
                        break;
                    case "gy_employee":
                        Gy_Employee oEmp = new Gy_Employee();
                        oEmp.MdiParent = oMain;
                        oEmp.Show();
                        break;
                    case "gy_settlestyle":
                        Gy_SettleStyle oSS = new Gy_SettleStyle();
                        oSS.MdiParent = oMain;
                        oSS.Show();
                        break;
                    case "gy_sellstyle":
                        Gy_SellStyle oGy_SellStyle = new Gy_SellStyle();
                        oGy_SellStyle.MdiParent = oMain;
                        oGy_SellStyle.Show();
                        break;
                    case "gy_postockstyle":
                        Gy_PoStockStyle oGy_PoStockStyle = new Gy_PoStockStyle();
                        oGy_PoStockStyle.MdiParent = oMain;
                        oGy_PoStockStyle.Show();
                        break;
                    case "gy_stockinstyle":
                        Gy_StockInStyle oGy_StockInStyle = new Gy_StockInStyle();
                        oGy_StockInStyle.MdiParent = oMain;
                        oGy_StockInStyle.Show();
                        break;
                    case "gy_stockoutstyle":
                        Gy_StockOutStyle oGy_StockOutStyle = new Gy_StockOutStyle();
                        oGy_StockOutStyle.MdiParent = oMain;
                        oGy_StockOutStyle.Show();
                        break;
                    case "gy_badreason":
                        Gy_BadReason oGy_BadReason = new Gy_BadReason();
                        oGy_BadReason.MdiParent = oMain;
                        oGy_BadReason.Show();
                        break;
                    case "gy_scrapreason":
                        Gy_ScrapReason oGy_ScrapReason = new Gy_ScrapReason();
                        oGy_ScrapReason.MdiParent = oMain;
                        oGy_ScrapReason.Show();
                        break;
                    case "gy_port":
                        Gy_Port oGy_Port = new Gy_Port();
                        oGy_Port.MdiParent = oMain;
                        oGy_Port.Show();
                        break;
                    case "gy_bank":
                        Gy_Bank oGy_Bank = new Gy_Bank();
                        oGy_Bank.MdiParent = oMain;
                        oGy_Bank.Show();
                        break;
                    case "gy_classtimeprj":
                        Gy_ClassTimePrj oGy_ClassTimePrj = new Gy_ClassTimePrj();
                        oGy_ClassTimePrj.MdiParent = oMain;
                        oGy_ClassTimePrj.Show();
                        break;
                    case "gy_classtimeprjsub":
                        Gy_ClassTimePrjSub oGy_ClassTimePrjSub = new Gy_ClassTimePrjSub();
                        oGy_ClassTimePrjSub.MdiParent = oMain;
                        oGy_ClassTimePrjSub.Show();
                        break;
                    case "gy_icbombill":
                        Gy_ICBomBill oGy_ICBomBill = new Gy_ICBomBill();
                        oGy_ICBomBill.ShowDialog();
                        break;
                    case "gy_icbombilllist":
                        Gy_ICBomBillList oGy_ICBomBillList = new Gy_ICBomBillList();
                        oGy_ICBomBillList.MdiParent = oMain;
                        oGy_ICBomBillList.Show();
                        break;
                    case "gy_routingbill":
                        Gy_RoutingBill oGy_RoutingBill = new Gy_RoutingBill();
                        oGy_RoutingBill.ShowDialog();
                        break;
                    case "gy_routingbilllist":
                        Gy_RoutingBillList oGy_RoutingBillList = new Gy_RoutingBillList();
                        oGy_RoutingBillList.MdiParent = oMain;
                        oGy_RoutingBillList.Show();
                        break;
                    case "":
                        //
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, "Ìáʾ");
            }
        }
        #endregion
 
        #region Í³¼Æ±¨±í
        public void Zxxymk_TJBB(string gnsy, Form oMain)
        {
 
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "kf_mateoutsumreport":
                        //ȨÏÞ
                        Kf_MateOutSumReport oKf_MateOutSumReport = new Kf_MateOutSumReport();
                        oKf_MateOutSumReport.MdiParent = oMain;
                        oKf_MateOutSumReport.Show();
                        break;
                    case "frm_reporttemplet":
                        //ȨÏÞ
                        Frm_ReportTemplet oFrm = new Frm_ReportTemplet();
                        oFrm.MdiParent = oMain;
                        oFrm.Show();
                        break;
                    case "frm_reporttemplet2":
                        Frm_ScReport oScReport = new Frm_ScReport();
                        oScReport.MdiParent = oMain;
                        oScReport.Show();
                        break;
                    case "frm_datagridview":
                        Rtp_GridViewReport oGDReport = new Rtp_GridViewReport();
                        oGDReport.MdiParent = oMain;
                        oGDReport.Show();
                        break;
                    case "kf_icinventorylist":
                        KF_ICInventoryList oKF_ICInventoryList = new KF_ICInventoryList();
                        oKF_ICInventoryList.MdiParent = oMain;
                        oKF_ICInventoryList.Show();
                        break;
                    case "kf_safestock":
                        Kf_SafeStock oKf_SafeStock = new Kf_SafeStock();
                        oKf_SafeStock.MdiParent = oMain;
                        oKf_SafeStock.Show();
                        break;
                    case "cg_cgpoorderbilllist":
                        Cg_CgPOOrderBillList oCg_CgPOOrderBillList = new Cg_CgPOOrderBillList();
                        oCg_CgPOOrderBillList.MdiParent = oMain;
                        oCg_CgPOOrderBillList.Show();
                        break;
                    case "cg_poentryreport":
                        Cg_PoEntryReport oCg_PoEntryReport = new Cg_PoEntryReport();
                        oCg_PoEntryReport.MdiParent = oMain;
                        oCg_PoEntryReport.Show();
                        break;
                    case "cg_posumreport":
                        Cg_PoSumReport oCg_PoSumReport = new Cg_PoSumReport();
                        oCg_PoSumReport.MdiParent = oMain;
                        oCg_PoSumReport.Show();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, "Ìáʾ");
            }
        }
        #endregion
 
        #region ÏµÍ³¹ÜÀí
        public void Zxxymk_XTGL(string gnsy, Form oMain)
        {
 
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "xt_xtgnb":
                        Xt_Xtgnb oXt_Xtgnb = new Xt_Xtgnb();
                        oXt_Xtgnb.MdiParent = oMain;
                        oXt_Xtgnb.Show();
                        break;
                    case "xt_accountperiod":
                        Xt_AccountPeriod oXt_AccountPeriod = new Xt_AccountPeriod();
                        oXt_AccountPeriod.MdiParent = oMain;
                        oXt_AccountPeriod.Show();
                        break;
                    case "kf_initstockbill":
                        Kf_InitStockBill oKf_InitStockBill = new Kf_InitStockBill();
                        oKf_InitStockBill.MdiParent = oMain;
                        oKf_InitStockBill.Show();
                        break;
                    case "kf_initstockbilllist":
                        Kf_InitStockBillList oKf_InitStockBillList = new Kf_InitStockBillList();
                        oKf_InitStockBillList.MdiParent = oMain;
                        oKf_InitStockBillList.Show();
                        break;
                    case "xt_systemlog":
                        Xt_SystemLog oXt_SystemLog = new Xt_SystemLog();
                        oXt_SystemLog.MdiParent = oMain;
                        oXt_SystemLog.Show();
                        break;
                    case "xt_checkitem":
                        Xt_CheckItem oXt_CheckItem = new Xt_CheckItem();
                        oXt_CheckItem.MdiParent = oMain;
                        oXt_CheckItem.Show();
                        break;
                    case "xt_billtype":
                        Xt_BillType oXt_BillType = new Xt_BillType();
                        oXt_BillType.MdiParent = oMain;
                        oXt_BillType.Show();
                        break;
                    case "xt_checkflow":
                        Xt_CheckFlow oXt_CheckFlow = new Xt_CheckFlow();
                        oXt_CheckFlow.ShowDialog();
                        break;
                    case "xt_checkflowlist":
                        Xt_CheckFlowList oXt_CheckFlowList = new Xt_CheckFlowList();
                        oXt_CheckFlowList.MdiParent = oMain;
                        oXt_CheckFlowList.Show();
                        break;
                    case "xt_checkuserright":
                        Xt_CheckUserRight oXt_CheckUserRight = new Xt_CheckUserRight();
                        oXt_CheckUserRight.MdiParent = oMain;
                        oXt_CheckUserRight.Show();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, "Ìáʾ");
            }
        }
        #endregion
    }
}