jinghz
2023-12-22 e8d4e76155d3eebf4c6f176c7e7e59cb23c46383
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
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Windows.Forms;
using BaseSet;
using AccRecM;
using AccPayM;
using ProM;
using WarM;
using SelM;
using WorkM;
using PlanM; 
using DBUtility;
using BLL; 
using OAM;
 
namespace NETERP
{
    class ClsShowMod
    {
        public  void Zxxymk(string gnsy, string gnbm,string gnmc,Form oMain)
        {
            //ȨÏÞ
            if (!DBUtility.ClsPub.Security_Log(gnsy.Trim(), 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            //
            switch (gnbm.Trim().Substring(0, 2))
            {
                //case "cj":
                //    //³µ¼ä¹ÜÀí
                //    Zxxymk_CJGL(gnsy, gnmc, oMain);
                //    break;
                //case "pa":
                //    //¹¤×ʹÜÀí
                //    Zxxymk_GZXT(gnsy, gnmc, oMain);
                //    break;
                //case "jh":
                //    //¼Æ»®¹ÜÀí
                //    Zxxymk_JHGL(gnsy, gnmc, oMain);
                //    break; 
                case "gy":
                    //»ù´¡×ÊÁÏ
                    Zxxymk_JCSJ(gnsy, gnmc, oMain);
                    break;
                case "tx":
                    //ͼÐᨱí
                    Zxxymk_TJBB(gnsy, gnmc, oMain);
                    break; 
                //case "sc":
                //    //Éú²úϵͳ
                //    Zxxymk_SCXT(gnsy, gnmc, oMain);
                //    break;
                case "cr":
                    //¿Í»§¹ÜÀí
                    Zxxymk_KHGL(gnsy, gnmc, oMain);
                    break;
                case "su":
                    //¹©Ó¦É̹ÜÀí
                    Zxxymk_GFGL(gnsy, gnmc, oMain);
                    break;
                case "ch":
                    //´æ»õºËËã
                    Zxxymk_CHHS(gnsy, gnmc, oMain);
                    break;
                case "kf":
                    //²Ö´æ¹ÜÀí
                    Zxxymk_CKXT(gnsy, gnmc, oMain);
                    break;
                case "sb":
                    //É豸¹ÜÀí
                    Zxxymk_SBGL(gnsy, gnmc, oMain);
                    break;
                case "hr":
                    //ÈËʹÜÀí
                    Zxxymk_HRGL(gnsy, gnmc, oMain);
                    break; 
                case "xt":
                    //ϵͳ¹ÜÀí
                    Zxxymk_XTGL(gnsy, gnmc, oMain);
                    break;
                //case "oa":
                //    //ÐÅϢƽ̨
                //    Zxxymk_XXPT(gnsy, gnmc, oMain);
                //    break;
                case "bb":
                    //±¨±í·ÖÎö
                    Zxxymk_BBFX(gnsy, gnmc, oMain);
                    break;
                case "yf":
                    //Ó¦¸¶¹ÜÀí
                    Zxxymk_YFGL(gnsy, gnmc, oMain);
                    break;
                case "ys":
                    //Ó¦ÊÕ¹ÜÀí
                    Zxxymk_YSGL(gnsy, gnmc, oMain);
                    break;
                case "cg":
                    //²É¹º¹ÜÀí
                    Zxxymk_CGXT(gnsy, gnmc, oMain);
                    break;
                case "xs":
                    //ÏúÊÛ¹ÜÀí
                    Zxxymk_XSXT(gnsy, gnmc, oMain);
                    break;
                case "cb":
                    //³É±¾¹ÜÀí
                    Zxxymk_CBXT(gnsy, gnmc, oMain);
                    break;
                //case "se":
                //    //ÊÛºó¹ÜÀí
                //    Zxxymk_SHXT(gnsy, gnmc, oMain);
                //    break;
                case "mak":
                    //Êг¡ÓªÏú¹ÜÀí
                    Zxxymk_Public(gnsy, gnmc, oMain);
                    break;
                case "kq":
                    //¿¼ÇÚ¹ÜÀí
                    Zxxymk_Public(gnsy, gnmc, oMain);
                    break;
                case "pct":
                    //ÊÛºó¹ÜÀí
                    Zxxymk_Public(gnsy, gnmc, oMain);
                    break;
                default:
                    break;
            }
        }
 
        #region ¹©Ó¦É̹ÜÀí
 
        public void Zxxymk_GFGL(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                     
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region ¿Í»§¹ÜÀí
        public void Zxxymk_KHGL(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                 
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        //#region Éú²úϵͳ
        //public void Zxxymk_SCXT(string gnsy,string gnmc, Form oMain)
        //{
        //    if (gnsy.Length == 0)
        //        return;
        //    try
        //    {
        //        switch (gnsy.ToLower())
        //        {
                     
        //            case "sc_icmobill":
        //                Sc_ICMOBill oSc_ICMOBill = new Sc_ICMOBill();
        //                oSc_ICMOBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ICMOBill.ModCaption = gnmc;
        //                oSc_ICMOBill.ShowDialog();
        //                break;
        //            case "sc_icmobilllist":
        //                Sc_ICMOBillList oSc_ICMOBillList = new Sc_ICMOBillList();
        //                oSc_ICMOBillList.MdiParent = oMain;
        //                oSc_ICMOBillList.ModCaption = gnmc;
        //                oSc_ICMOBillList.Show();
        //                break;
        //            case "sc_ppbombilllist":
        //                Sc_PPBomBillList oSc_PPBomBillList = new Sc_PPBomBillList();
        //                oSc_PPBomBillList.MdiParent = oMain;
        //                oSc_PPBomBillList.ModCaption = gnmc;
        //                oSc_PPBomBillList.Show();
        //                break;
        //            case "sc_icmoreportbill":
        //                Sc_ICMOReportBill oSc_ICMOReportBill = new Sc_ICMOReportBill();
        //                oSc_ICMOReportBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ICMOReportBill.ModCaption = gnmc;
        //                oSc_ICMOReportBill.ShowDialog();
        //                break;
        //            case "sc_icmoreportbilllist":
        //                Sc_ICMOReportBillList oSc_ICMOReportBillList = new Sc_ICMOReportBillList();
        //                oSc_ICMOReportBillList.MdiParent = oMain;
        //                oSc_ICMOReportBillList.ModCaption = gnmc;
        //                oSc_ICMOReportBillList.Show();
        //                break;
                     
 
        //            case "sc_processplanchangelist":
        //                //ȨÏÞ
        //                Sc_ProcessPlanChangeList oSc_ProcessPlanChangeList = new Sc_ProcessPlanChangeList();
        //                oSc_ProcessPlanChangeList.MdiParent = oMain;
        //                oSc_ProcessPlanChangeList.Show();
        //                break;
        //            case "sc_processplanchangesec":
        //                //
        //                Sc_ProcessPlanChangeSec oSc_ProcessPlanChangeSec = new Sc_ProcessPlanChangeSec();
        //                oSc_ProcessPlanChangeSec.ShowDialog();
        //                break;
        //            case "sc_processplan":
        //                Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan();
        //                oSc_ProcessPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessPlan.ModCaption = gnmc;
        //                oSc_ProcessPlan.ShowDialog();
        //                break;
        //            case "sc_processplanlist":
        //                Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList();
        //                oSc_ProcessPlanList.MdiParent = oMain;
        //                oSc_ProcessPlanList.ModCaption = gnmc;
        //                oSc_ProcessPlanList.Show();
        //                break;
        //            case "sc_processreport":
        //                Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport();
        //                oSc_ProcessReport.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessReport.ModCaption = gnmc;
        //                oSc_ProcessReport.ShowDialog();
        //                break;
        //            case "sc_processreportlist":
        //                Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList();
        //                oSc_ProcessReportList.MdiParent = oMain;
        //                oSc_ProcessReportList.ModCaption = gnmc;
        //                oSc_ProcessReportList.Show();
        //                break;
                     
        //            case "sc_processbackplan":
        //                Sc_ProcessBackPlan oSc_ProcessBackPlan = new Sc_ProcessBackPlan();
        //                oSc_ProcessBackPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessBackPlan.ShowDialog();
        //                break;
        //            case "sc_processbackplanlist":
        //                Sc_ProcessBackPlanList oSc_ProcessBackPlanList = new Sc_ProcessBackPlanList();
        //                oSc_ProcessBackPlanList.MdiParent = oMain;
        //                oSc_ProcessBackPlanList.Show();
        //                break;
        //            //======================±¨±í
                  
        //            case "sc_workprocreport":
        //                //Sc_WorkProcReport oSc_WorkProcReport = new Sc_WorkProcReport();
        //                //oSc_WorkProcReport.MdiParent = oMain;
        //                //oSc_WorkProcReport.ModCaption = gnmc;
        //                //oSc_WorkProcReport.Show();
        //                break;
        //            case "sc_workbillreport":
        //                //Sc_WorkBillReport oSc_WorkBillReport = new Sc_WorkBillReport();
        //                //oSc_WorkBillReport.MdiParent = oMain;
        //                //oSc_WorkBillReport.ModCaption = gnmc;
        //                //oSc_WorkBillReport.Show();
        //                break;
                   
        //            default:
        //                break;
        //        }
        //    }
        //    catch (Exception e)
        //    {
        //        MessageBox.Show(e.Message);
        //    }
        //}
        //#endregion
 
        #region  ×°Åä³µ¼ä
 
        public void Zxxymk_ZPCJ(string gnsy,string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    //case "sc_icmosortchangebilllist":
                    //    Sc_ICMOSortChangeBillList oSc_ICMOSortChangeBillList = new Sc_ICMOSortChangeBillList();
                    //    oSc_ICMOSortChangeBillList.MdiParent = oMain;
                    //    oSc_ICMOSortChangeBillList.ModCaption = gnmc;
                    //    oSc_ICMOSortChangeBillList.Show();
                    //    break;
                    //case "sc_icmosortclosebill":
                    //    Sc_ICMOSortCloseBill oSc_ICMOSortCloseBill = new Sc_ICMOSortCloseBill(); 
                    //    oSc_ICMOSortCloseBill.ModCaption = gnmc;
                    //    oSc_ICMOSortCloseBill.ShowDialog();
                    //    break;
                    //case "sc_icmosortbilllist_pay":
                    //    Sc_ICMOSortBillList_Pay oSc_ICMOSortBillList_Pay = new Sc_ICMOSortBillList_Pay();
                    //    oSc_ICMOSortBillList_Pay.MdiParent = oMain;
                    //    oSc_ICMOSortBillList_Pay.ModCaption = gnmc;
                    //    oSc_ICMOSortBillList_Pay.Show();
                    //    break;
                    //case "sc_dayreportbydept_bcp":
                    //    Sc_DayReportByDept_BCP oSc_DayReportByDept_BCP = new Sc_DayReportByDept_BCP();
                    //    oSc_DayReportByDept_BCP.MdiParent = oMain;
                    //    oSc_DayReportByDept_BCP.ModCaption = gnmc;
                    //    oSc_DayReportByDept_BCP.Show();
                    //    break;
                    //case "sc_dayreportbydept":
                    //    Sc_DayReportByDept oSc_DayReportByDept = new Sc_DayReportByDept();
                    //    oSc_DayReportByDept.MdiParent = oMain;
                    //    oSc_DayReportByDept.ModCaption = gnmc;
                    //    oSc_DayReportByDept.Show();
                    //    break;
                   
                    //case "sc_icmosortbill":
                    //    Sc_ICMOSortBill oSc_ICMOSortBill = new Sc_ICMOSortBill();
                    //    oSc_ICMOSortBill.MdiParent = oMain;
                    //    oSc_ICMOSortBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //    oSc_ICMOSortBill.ModCaption = gnmc;
                    //    oSc_ICMOSortBill.Show();
                    //    break;
                    //case "sc_icmosortbilllist":
                    //    Sc_ICMOSortBillList oSc_ICMOSortBillList = new Sc_ICMOSortBillList();
                    //    oSc_ICMOSortBillList.MdiParent = oMain;
                    //    oSc_ICMOSortBillList.ModCaption = gnmc;
                    //    oSc_ICMOSortBillList.Show();
                    //    break;
                    //case "sc_icmosortbillhistorylist":
                    //    Sc_ICMOSortBillHistoryList oSc_ICMOSortBillHistoryList = new Sc_ICMOSortBillHistoryList();
                    //    oSc_ICMOSortBillHistoryList.MdiParent = oMain;
                    //    oSc_ICMOSortBillHistoryList.ModCaption = gnmc;
                    //    oSc_ICMOSortBillHistoryList.Show();
                    //    break;
                    //case "gy_worktimes":
                    //    Gy_WorkTimes oGy_WorkTimes = new Gy_WorkTimes();
                    //    oGy_WorkTimes.MdiParent = oMain;
                    //    oGy_WorkTimes.Show();
                    //    break;
                    //case "kf_lackmaterialanalyse":
                    //    KF_LackMaterialAnalyse oKF_LackMaterialAnalyse = new KF_LackMaterialAnalyse();
                    //    oKF_LackMaterialAnalyse.MdiParent = oMain;
                    //    oKF_LackMaterialAnalyse.ModCaption = gnmc;
                    //    oKF_LackMaterialAnalyse.Show();
                    //    break;
                    //case "sc_planmaterreadyanalyse":
                    //    Sc_PlanMaterReadyAnalyse oSc_PlanMaterReadyAnalyse = new Sc_PlanMaterReadyAnalyse();
                    //    oSc_PlanMaterReadyAnalyse.MdiParent = oMain;
                    //    oSc_PlanMaterReadyAnalyse.ModCaption = gnmc;
                    //    oSc_PlanMaterReadyAnalyse.Show();
                    //    break;
                    //case "k3_icmosetworkcenterlist":
                    //    K3_ICMOSetWorkCenterList oK3_ICMOSetWorkCenterList = new K3_ICMOSetWorkCenterList();
                    //    oK3_ICMOSetWorkCenterList.MdiParent = oMain;
                    //    oK3_ICMOSetWorkCenterList.ModCaption = gnmc;
                    //    oK3_ICMOSetWorkCenterList.Show();
                    //    break;
                    //case "sc_icmoreportbill":
                    //    Sc_ICMOReportBill oSc_ICMOReportBill = new Sc_ICMOReportBill();
                    //    oSc_ICMOReportBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //    oSc_ICMOReportBill.ModCaption = gnmc;
                    //    oSc_ICMOReportBill.ShowDialog();
                    //    break;
                    //case "sc_icmoreportbilllist":
                    //    Sc_ICMOReportBillList oSc_ICMOReportBillList = new Sc_ICMOReportBillList();
                    //    oSc_ICMOReportBillList.MdiParent = oMain;
                    //    oSc_ICMOReportBillList.ModCaption = gnmc;
                    //    oSc_ICMOReportBillList.Show();
                    //    break;
                    //case "sc_icmopausebill":
                    //    Sc_ICMOPauseBill oSc_ICMOPauseBill = new Sc_ICMOPauseBill();
                    //    oSc_ICMOPauseBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //    oSc_ICMOPauseBill.ModCaption = gnmc;
                    //    oSc_ICMOPauseBill.ShowDialog();
                    //    break;
                    //case "sc_icmopausebilllist":
                    //    Sc_ICMOPauseBillList oSc_ICMOPauseBillList = new Sc_ICMOPauseBillList();
                    //    oSc_ICMOPauseBillList.MdiParent = oMain;
                    //    oSc_ICMOPauseBillList.ModCaption = gnmc;
                    //    oSc_ICMOPauseBillList.Show();
                    //    break;
                    //case "sc_dayreport":
                    //    Sc_DayReport oSc_DayReport = new Sc_DayReport();
                    //    oSc_DayReport.MdiParent = oMain;
                    //    oSc_DayReport.ModCaption = gnmc;
                    //    oSc_DayReport.Show();
                    //    break;
                    //case "sc_monthreport":
                    //    Sc_MonthReport oSc_MonthReport = new Sc_MonthReport();
                    //    oSc_MonthReport.MdiParent = oMain;
                    //    oSc_MonthReport.ModCaption = gnmc;
                    //    oSc_MonthReport.Show();
                    //    break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region É豸¹ÜÀí
 
        public void Zxxymk_SBGL(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            { 
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region Ó¦ÊÕϵͳ
        public void Zxxymk_YSGL(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "ys_receivebill":
                        YS_ReceiveBill oYS_ReceiveBill = new YS_ReceiveBill();
                        oYS_ReceiveBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oYS_ReceiveBill.ShowDialog();
                        break;
                    case "ys_receivebilllist":
                        YS_ReceiveBillList oYS_ReceiveBillList = new YS_ReceiveBillList();
                        oYS_ReceiveBillList.MdiParent = oMain;
                        oYS_ReceiveBillList.Show();
                        break;
 
                    case "xs_shouldincomereport":
                        Xs_ShouldIncomeReport oXs_ShouldIncomeReport = new Xs_ShouldIncomeReport();
                        oXs_ShouldIncomeReport.MdiParent = oMain;
                        oXs_ShouldIncomeReport.Show();
                        break;
                    //
                    case "ys_receivebeforebill":
                        YS_ReceiveBeforeBill oYS_ReceiveBeforeBill = new YS_ReceiveBeforeBill();
                        oYS_ReceiveBeforeBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oYS_ReceiveBeforeBill.ShowDialog();
                        break;
                    case "ys_receivebeforebilllist":
                        YS_ReceiveBeforeBillList oYS_ReceiveBeforeBillList = new YS_ReceiveBeforeBillList();
                        oYS_ReceiveBeforeBillList.MdiParent = oMain;
                        oYS_ReceiveBeforeBillList.Show();
                        break;
                    //
                    case "ys_receivebackbill":
                        YS_ReceiveBackBill oYS_ReceiveBackBill = new YS_ReceiveBackBill();
                        oYS_ReceiveBackBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oYS_ReceiveBackBill.ShowDialog();
                        break;
                    case "ys_receivebackbilllist":
                        YS_ReceiveBackBillList oYS_ReceiveBackBillList = new YS_ReceiveBackBillList();
                        oYS_ReceiveBackBillList.MdiParent = oMain;
                        oYS_ReceiveBackBillList.Show();
                        break;
                    //
                    case "ys_receiveotherbill":
                        YS_ReceiveOtherBill oYS_ReceiveOtherBill = new YS_ReceiveOtherBill();
                        oYS_ReceiveOtherBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oYS_ReceiveOtherBill.ShowDialog();
                        break;
                    case "ys_receiveotherbilllist":
                        YS_ReceiveOtherBillList oYS_ReceiveOtherBillList = new YS_ReceiveOtherBillList();
                        oYS_ReceiveOtherBillList.MdiParent = oMain;
                        oYS_ReceiveOtherBillList.Show();
                        break;
                    //
                    case "ys_receiveshouldbill":
                        YS_ReceiveShouldBill oYS_ReceiveShouldBill = new YS_ReceiveShouldBill();
                        oYS_ReceiveShouldBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oYS_ReceiveShouldBill.ShowDialog();
                        break;
                    case "ys_receiveshouldbilllist":
                        YS_ReceiveShouldBillList oYS_ReceiveShouldBillList = new YS_ReceiveShouldBillList();
                        oYS_ReceiveShouldBillList.MdiParent = oMain;
                        oYS_ReceiveShouldBillList.Show();
                        break;
                         
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region Ó¦¸¶ÏµÍ³
        public void Zxxymk_YFGL(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "yf_paymentotherbill":
                        YF_PayMentOtherBill oYF_PayMentOtherBill = new YF_PayMentOtherBill();
                        oYF_PayMentOtherBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oYF_PayMentOtherBill.ShowDialog();
                        break;
                    case "yf_paymentotherbilllist":
                        YF_PayMentOtherBillList oYF_PayMentOtherBillList = new YF_PayMentOtherBillList();
                        oYF_PayMentOtherBillList.MdiParent = oMain;
                        oYF_PayMentOtherBillList.Show();
                        break;
                    //
                    case "yf_paymentshouldbill":
                        YF_PayMentShouldBill oYF_PayMentShouldBill = new YF_PayMentShouldBill();
                        oYF_PayMentShouldBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oYF_PayMentShouldBill.ShowDialog();
                        break;
                    case "yf_paymentshouldbilllist":
                        YF_PayMentShouldBillList oYF_PayMentShouldBillList = new YF_PayMentShouldBillList();
                        oYF_PayMentShouldBillList.MdiParent = oMain;
                        oYF_PayMentShouldBillList.Show();
                        break;
 
                    case "yf_paymentbill":
                        YF_PayMentBill oYF_PayMentBill = new YF_PayMentBill();
                        oYF_PayMentBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oYF_PayMentBill.ShowDialog();
                        break;
                    case "yf_paymentbilllist":
                        YF_PayMentBillList oYF_PayMentBillList = new YF_PayMentBillList();
                        oYF_PayMentBillList.MdiParent = oMain;
                        oYF_PayMentBillList.Show();
                        break;
                    //
                    case "yf_paymentbeforebill":
                        YF_PayMentBeforeBill oYF_PayMentBeforeBill = new YF_PayMentBeforeBill();
                        oYF_PayMentBeforeBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oYF_PayMentBeforeBill.ShowDialog();
                        break;
                    case "yf_paymentbeforebilllist":
                        YF_PayMentBeforeBillList oYF_PayMentBeforeBillList = new YF_PayMentBeforeBillList();
                        oYF_PayMentBeforeBillList.MdiParent = oMain;
                        oYF_PayMentBeforeBillList.Show();
                        break;
                    //
                    case "yf_paymentbackbill":
                        YF_PayMentBackBill oYF_PayMentBackBill = new YF_PayMentBackBill();
                        oYF_PayMentBackBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oYF_PayMentBackBill.ShowDialog();
                        break;
                    case "yf_paymentbackbilllist":
                        YF_PayMentBackBillList oYF_PayMentBackBillList = new YF_PayMentBackBillList();
                        oYF_PayMentBackBillList.MdiParent = oMain;
                        oYF_PayMentBackBillList.Show();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region ³É±¾ÏµÍ³
        public void Zxxymk_CBXT(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region ²Ö¿âϵͳ
        public void Zxxymk_CKXT(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    
 
                    case "kf_selloutbilllist":
                        //ȨÏÞ
                        Kf_SellOutBillList oKf_SellOutBillList = new Kf_SellOutBillList();
                        oKf_SellOutBillList.MdiParent = oMain;
                        oKf_SellOutBillList.Show();
                        break;
                    case "kf_selloutbillquery":
                        //ȨÏÞ
                        Kf_SellOutBillQuery oKf_SellOutBillQuery = new Kf_SellOutBillQuery();
                        //oKf_SellOutBillQuery.MdiParent = oMain;
                        oKf_SellOutBillQuery.ModCaption = gnmc;
                        oKf_SellOutBillQuery.Show();
                        break;
                    case "kf_selloutbill":
                        //
                        Kf_SellOutBill oKf_SellOutBill = new Kf_SellOutBill();
                        oKf_SellOutBill.ShowDialog();
                        break;
                    
                     
                    case "kf_postockinbilllist":
                        //ȨÏÞ
                        Kf_POStockInBillList oKf_POStockInBillList = new Kf_POStockInBillList();
                        oKf_POStockInBillList.MdiParent = oMain;
                        oKf_POStockInBillList.Show();
                        break;
                    case "kf_postockinbillquery":
                        //ȨÏÞ
                        Kf_POStockInBillQuery oKf_POStockInBillQuery = new Kf_POStockInBillQuery();
                        //oKf_POStockInBillQuery.MdiParent = oMain;
                        oKf_POStockInBillQuery.ModCaption = gnmc;
                        oKf_POStockInBillQuery.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_movestockbillquery":
                        //ȨÏÞ
                        Kf_MoveStockBillQuery oKf_MoveStockBillQuery = new Kf_MoveStockBillQuery();
                        //oKf_MoveStockBillQuery.MdiParent = oMain;
                        oKf_MoveStockBillQuery.ModCaption = gnmc;
                        oKf_MoveStockBillQuery.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;
                    
 
                    //===================================±¨±í·ÖÎö
 
                    case "kf_icinventorybymaterlist":
                        KF_ICInventoryByMaterList oKF_ICInventoryByMaterList = new KF_ICInventoryByMaterList();
                        oKF_ICInventoryByMaterList.MdiParent = oMain;
                        oKF_ICInventoryByMaterList.Show();
                        break;
                    case "kf_icinventorylist":
                        //ȨÏÞ
                        WarM.KF_ICInventoryList oKF_ICInventoryList = new WarM.KF_ICInventoryList();
                        oKF_ICInventoryList.MdiParent = oMain;
                        oKF_ICInventoryList.Show();
                        break;
                    case "kf_mateoutinbookreport":
                        //ȨÏÞ
                        Kf_MateOutInBookReport oKf_MateOutInBookReport = new Kf_MateOutInBookReport();
                        oKf_MateOutInBookReport.MdiParent = oMain;
                        oKf_MateOutInBookReport.Show();
                        break;
                    case "kf_mateoutsumreport":
                        //ȨÏÞ
                        Kf_MateOutSumReport oKf_MateOutSumReport = new Kf_MateOutSumReport();
                        oKf_MateOutSumReport.MdiParent = oMain;
                        oKf_MateOutSumReport.Show();
                        break;
                    case "kf_matestockaccount":
                        //ȨÏÞ
                        Kf_MateStockAccount oKf_MateStockAccount = new Kf_MateStockAccount();
                        oKf_MateStockAccount.MdiParent = oMain;
                        oKf_MateStockAccount.Show();
                        break;
                    case "kf_pstockinoutreport":
                        //ȨÏÞ
                        Kf_PStockInOutReport oKf_PStockInOutReport = new Kf_PStockInOutReport();
                        oKf_PStockInOutReport.MdiParent = oMain;
                        oKf_PStockInOutReport.Show();
                        break;
                    case "kf_pstockinoutsumreport":
                        //ȨÏÞ
                        Kf_PStockInOutSumReport oKf_PStockInOutSumReport = new Kf_PStockInOutSumReport();
                        oKf_PStockInOutSumReport.MdiParent = oMain;
                        oKf_PStockInOutSumReport.Show();
                        break;
                    case "kf_safestockreport":
                        //ȨÏÞ
                        Kf_SafeStockReport oKf_SafeStockReport = new Kf_SafeStockReport();
                        oKf_SafeStockReport.MdiParent = oMain;
                        oKf_SafeStockReport.Show();
                        break;
                    //========================ÌõÂë
                    case "gy_barcodebilllist":
                        //ȨÏÞ
                        Gy_BarCodeBillList oGy_BarCodeBillList = new Gy_BarCodeBillList();
                        oGy_BarCodeBillList.MdiParent = oMain;
                        oGy_BarCodeBillList.Show();
                        break;
                    case "sc_icmolist":
                        //
                        Sc_ICMOList oSc_ICMOList = new Sc_ICMOList();
                        oSc_ICMOList.ShowDialog();
                        break;
                    case "cg_poinstocklist":
                        //
                        Cg_PoinStockList oCg_PoinStockList = new Cg_PoinStockList();
                        oCg_PoinStockList.ShowDialog();
                        break;
                    case "kf_postockinbilllist_sec":
                        //ȨÏÞ
                        Kf_POStockInBillList_Sec oKf_POStockInBillList_Sec = new Kf_POStockInBillList_Sec();
                        oKf_POStockInBillList_Sec.MdiParent = oMain;
                        oKf_POStockInBillList_Sec.Show();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region ´æ»õºËËã
        public void Zxxymk_CHHS(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                         
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region ²É¹ºÏµÍ³
        public void Zxxymk_CGXT(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "kf_postockinbilllist_seclist":
                        //ȨÏÞ
                        Kf_POStockInBillQuery_Sec oKf_POStockInBillQuery_Sec = new Kf_POStockInBillQuery_Sec();
                        oKf_POStockInBillQuery_Sec.MdiParent = oMain;
                        oKf_POStockInBillQuery_Sec.Show();
                        break;
                    case "cg_poorderbillquery":
                        //ȨÏÞ
                        Cg_POOrderBillQuery oCg_POOrderBillQuery = new Cg_POOrderBillQuery();
                        oCg_POOrderBillQuery.MdiParent = oMain;
                        oCg_POOrderBillQuery.Show();
                        break;
                    //==========================
                    case "ww_entrustorderbilllist":
                        //ȨÏÞ
                        WW_EntrustOrderBillList oWW_EntrustOrderBillList = new WW_EntrustOrderBillList();
                        oWW_EntrustOrderBillList.MdiParent = oMain;
                        oWW_EntrustOrderBillList.Show();
                        break;
                    case "ww_entrustorderbill":
                        //
                        WW_EntrustOrderBill oWW_EntrustOrderBill = new WW_EntrustOrderBill();
                        oWW_EntrustOrderBill.ShowDialog();
                        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();
                        break;
                    case "cg_porequestpricebilllist":
                        //ȨÏÞ
                        Cg_PORequestPriceBillList oCg_PORequestPriceBillList = new Cg_PORequestPriceBillList();
                        oCg_PORequestPriceBillList.MdiParent = oMain;
                        oCg_PORequestPriceBillList.Show();
                        break;
                    case "cg_porequestpricebill":
                        //
                        Cg_PORequestPriceBill oCg_PORequestPriceBill = new Cg_PORequestPriceBill();
                        oCg_PORequestPriceBill.ShowDialog();
                        break;
                    case "kf_postockinbilllist":
                        //ȨÏÞ
                        Kf_POStockInBillList oKf_POStockInBillList = new Kf_POStockInBillList();
                        oKf_POStockInBillList.MdiParent = oMain;
                        oKf_POStockInBillList.Show();
                        break;
                    case "kf_postockinbillquery":
                        //ȨÏÞ
                        Kf_POStockInBillQuery oKf_POStockInBillQuery = new Kf_POStockInBillQuery();
                        oKf_POStockInBillQuery.MdiParent = oMain;
                        oKf_POStockInBillQuery.Show();
                        break;
                    case "kf_postockinbilllist_sec":
                        //ȨÏÞ
                        Kf_POStockInBillList_Sec oKf_POStockInBillList_Sec = new Kf_POStockInBillList_Sec();
                        oKf_POStockInBillList_Sec.MdiParent = oMain;
                        oKf_POStockInBillList_Sec.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;
 
                    case "cg_cgdetailreport":
                        //ȨÏÞ
                        Cg_CgDetailReport oCg_CgDetailReport = new Cg_CgDetailReport();
                        oCg_CgDetailReport.MdiParent = oMain;
                        oCg_CgDetailReport.Show();
                        break;
                    case "cg_cgpoorderbilllist":
                        //ȨÏÞ
                        Cg_CgPOOrderBillList oCg_CgPOOrderBillList = new Cg_CgPOOrderBillList();
                        oCg_CgPOOrderBillList.MdiParent = oMain;
                        oCg_CgPOOrderBillList.Show();
                        break;
                    case "cg_cgpoorderprocreport":
                        //ȨÏÞ
                        Cg_CgPOOrderProcReport oCg_CgPOOrderProcReport = new Cg_CgPOOrderProcReport();
                        oCg_CgPOOrderProcReport.MdiParent = oMain;
                        oCg_CgPOOrderProcReport.Show();
                        break;
                    case "cg_cgpriceanalysereport":
                        //ȨÏÞ
                        Cg_CgPriceAnalyseReport oCg_CgPriceAnalyseReport = new Cg_CgPriceAnalyseReport();
                        oCg_CgPriceAnalyseReport.MdiParent = oMain;
                        oCg_CgPriceAnalyseReport.Show();
                        break;
                    case "cg_cgsumreport":
                        //ȨÏÞ
                        Cg_CgSumReport oCg_CgSumReport = new Cg_CgSumReport();
                        oCg_CgSumReport.MdiParent = oMain;
                        oCg_CgSumReport.Show();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
        
        #region ÏúÊÛϵͳ
        public void Zxxymk_XSXT(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "kf_selloutbillquery_seclist":
                        Kf_SellOutBillQuery_Sec oKf_SellOutBillQuery_Sec = new Kf_SellOutBillQuery_Sec();
                        oKf_SellOutBillQuery_Sec.MdiParent = oMain;
                        oKf_SellOutBillQuery_Sec.ModCaption = gnmc;
                        oKf_SellOutBillQuery_Sec.Show();
                        break;
                        ///
                    case "xs_sellplanexecutebill":
                        Xs_SellPlanExecuteBill oXs_SellPlanExecuteBill = new Xs_SellPlanExecuteBill();
                        oXs_SellPlanExecuteBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oXs_SellPlanExecuteBill.ModCaption = gnmc;
                        oXs_SellPlanExecuteBill.ShowDialog();
                        break;
                    case "xs_sellplanexecutebilllist":
                        Xs_SellPlanExecuteBillList oXs_SellPlanExecuteBillList = new Xs_SellPlanExecuteBillList();
                        oXs_SellPlanExecuteBillList.MdiParent = oMain;
                        oXs_SellPlanExecuteBillList.ModCaption = gnmc;
                        oXs_SellPlanExecuteBillList.Show();
                        break;
                    //=========================
                    case "sc_sellsumreportbymater":
                        Sc_SellSumReportByMater oSc_SellSumReportByMater = new Sc_SellSumReportByMater();
                        oSc_SellSumReportByMater.MdiParent = oMain;
                        oSc_SellSumReportByMater.ModCaption = gnmc;
                        oSc_SellSumReportByMater.Show();
                        break;
                    case "sc_polastpricereport":
                        Sc_POLastPriceReport oSc_POLastPriceReport = new Sc_POLastPriceReport();
                        oSc_POLastPriceReport.MdiParent = oMain;
                        oSc_POLastPriceReport.ModCaption = gnmc;
                        oSc_POLastPriceReport.Show();
                        break;
                    case "sc_posumreportbycus":
                        Sc_POSumReportByCus oSc_POSumReportByCus = new Sc_POSumReportByCus();
                        oSc_POSumReportByCus.MdiParent = oMain;
                        oSc_POSumReportByCus.ModCaption = gnmc;
                        oSc_POSumReportByCus.Show();
                        break;
                    case "sc_posumreportbymater":
                        Sc_POSumReportByMater oSc_POSumReportByMater = new Sc_POSumReportByMater();
                        oSc_POSumReportByMater.MdiParent = oMain;
                        oSc_POSumReportByMater.ModCaption = gnmc;
                        oSc_POSumReportByMater.Show();
                        break;
                    case "sc_posumreportbymonth":
                        Sc_POSumReportByMonth oSc_POSumReportByMonth = new Sc_POSumReportByMonth();
                        oSc_POSumReportByMonth.MdiParent = oMain;
                        oSc_POSumReportByMonth.ModCaption = gnmc;
                        oSc_POSumReportByMonth.Show();
                        break;
                    case "sc_sellgainreportbycus":
                        Sc_SellGainReportByCus oSc_SellGainReportByCus = new Sc_SellGainReportByCus();
                        oSc_SellGainReportByCus.MdiParent = oMain;
                        oSc_SellGainReportByCus.ModCaption = gnmc;
                        oSc_SellGainReportByCus.Show();
                        break;
                    case "sc_sellgainreportbycusmater":
                        Sc_SellGainReportByCusMater oSc_SellGainReportByCusMater = new Sc_SellGainReportByCusMater();
                        oSc_SellGainReportByCusMater.MdiParent = oMain;
                        oSc_SellGainReportByCusMater.ModCaption = gnmc;
                        oSc_SellGainReportByCusMater.Show();
                        break;
                    case "sc_selllastpricereport":
                        Sc_SellLastPriceReport oSc_SellLastPriceReport = new Sc_SellLastPriceReport();
                        oSc_SellLastPriceReport.MdiParent = oMain;
                        oSc_SellLastPriceReport.ModCaption = gnmc;
                        oSc_SellLastPriceReport.Show();
                        break;
                    case "sc_sellsumreportbycus":
                        Sc_SellSumReportByCus oSc_SellSumReportByCus = new Sc_SellSumReportByCus();
                        oSc_SellSumReportByCus.MdiParent = oMain;
                        oSc_SellSumReportByCus.ModCaption = gnmc;
                        oSc_SellSumReportByCus.Show();
                        break;
                    case "sc_sellsumreportbycusmater":
                        Sc_SellSumReportByCusMater oSc_SellSumReportByCusMater = new Sc_SellSumReportByCusMater();
                        oSc_SellSumReportByCusMater.MdiParent = oMain;
                        oSc_SellSumReportByCusMater.ModCaption = gnmc;
                        oSc_SellSumReportByCusMater.Show();
                        break;
                    case "sc_sellsumreportbysumcusmater":
                        Sc_SellSumReportBySumCusMater oSc_SellSumReportBySumCusMater = new Sc_SellSumReportBySumCusMater();
                        oSc_SellSumReportBySumCusMater.MdiParent = oMain;
                        oSc_SellSumReportBySumCusMater.ModCaption = gnmc;
                        oSc_SellSumReportBySumCusMater.Show();
                        break;
                    //========================================================
                    case "kf_selloutbilllist_sec":
                        //ȨÏÞ
                        Kf_SellOutBillList_Sec oKf_SellOutBillList_Sec = new Kf_SellOutBillList_Sec();
                        oKf_SellOutBillList_Sec.MdiParent = oMain;
                        oKf_SellOutBillList_Sec.Show();
                        break;
 
                    case "kf_selloutbillquery":
                        //ȨÏÞ
                        Kf_SellOutBillQuery oKf_SellOutBillQuery = new Kf_SellOutBillQuery();
                        //oKf_SellOutBillQuery.MdiParent = oMain;
                        oKf_SellOutBillQuery.Show();
                        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.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oKf_SellOutBill.ModCaption = gnmc;
                        oKf_SellOutBill.ShowDialog();
                        break;
                    case "xs_sellplanbilllist":
                        //ȨÏÞ
                        Xs_SellPlanBillList oXs_SellPlanBillList = new Xs_SellPlanBillList();
                        oXs_SellPlanBillList.MdiParent = oMain;
                        oXs_SellPlanBillList.Show();
                        break;
                    case "xs_sellplanbill":
                        //
                        Xs_SellPlanBill oXs_SellPlanBill = new Xs_SellPlanBill();
                        oXs_SellPlanBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oXs_SellPlanBill.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.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oXs_ContractBill.ShowDialog();
                        break;
             
                    case "xs_seorderbilllist":
                        //ȨÏÞ
                        Xs_SeOrderBillList oXs_SeOrderBillList = new Xs_SeOrderBillList();
                        oXs_SeOrderBillList.MdiParent = oMain;
                        oXs_SeOrderBillList.Show();
                        break;
                    case "xs_seorderbillquery":
                        //ȨÏÞ
                        Xs_SeOrderBillQuery oXs_SeOrderBillQuery = new Xs_SeOrderBillQuery();
                        oXs_SeOrderBillQuery.MdiParent = oMain;
                        oXs_SeOrderBillQuery.Show();
                        break;
                    case "xs_seorderbill":
                        //
                        Xs_SeOrderBill oXs_SeOrderBill = new Xs_SeOrderBill();
                        oXs_SeOrderBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        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.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        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.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        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.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oXs_InvoiceSpecBill.ShowDialog();
                        break;
                    
 
                        //=====================================================
 
                    case "xs_cussellreport":
                        //ȨÏÞ
                        Xs_CusSellReport oXs_CusSellReport = new Xs_CusSellReport();
                        oXs_CusSellReport.MdiParent = oMain;
                        oXs_CusSellReport.Show();
                        break;
                    //case "xs_invoicespecbilllist":
                    //    //ȨÏÞ
                    //    Xs_InvoiceSpecBillList oXs_InvoiceSpecBillList = new Xs_InvoiceSpecBillList();
                    //    oXs_InvoiceSpecBillList.MdiParent = oMain;
                    //    oXs_InvoiceSpecBillList.Show();
                    //    break;
                    case "crm_complainvisitbilllist":
                        //ȨÏÞ
                        Crm_ComplainVisitBillList oCrm_ComplainVisitBillList = new Crm_ComplainVisitBillList();
                        oCrm_ComplainVisitBillList.MdiParent = oMain;
                        oCrm_ComplainVisitBillList.Show();
                        break;
                    case "crm_complainvisitbill":
                        //
                        Crm_ComplainVisitBill oCrm_ComplainVisitBill = new Crm_ComplainVisitBill();
                        oCrm_ComplainVisitBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oCrm_ComplainVisitBill.ModCaption = gnmc;
                        oCrm_ComplainVisitBill.ShowDialog();
                        break;
 
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        #region ÈËʹÜÀí
        public void Zxxymk_HRGL(string gnsy, string gnmc, Form oMain)
        {
            if (gnsy.Length == 0)
                return;
            try
            {
                 
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
        #endregion
 
        //#region ÊÛºó¹ÜÀí
        //public void Zxxymk_SHXT(string gnsy, string gnmc, Form oMain)
        //{
        //    if (gnsy.Length == 0)
        //        return;
        //    try
        //    { 
        //    }
        //    catch (Exception e)
        //    {
        //        MessageBox.Show(e.Message);
        //    }
        //}
        //#endregion
 
        //#region ¼Æ»®¹ÜÀí
        //public void Zxxymk_JHGL(string gnsy, string gnmc, Form oMain)
        //{
        //    if (gnsy.Length == 0)
        //        return;
        //    try
        //    {
        //        switch (gnsy.ToLower())
        //        {
                        
        //            //====================================================
        //            case "gy_routingbill":
        //                Gy_RoutingBill oGy_RoutingBill = new Gy_RoutingBill();
        //                oGy_RoutingBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oGy_RoutingBill.ModCaption = gnmc;
        //                oGy_RoutingBill.ShowDialog();
        //                break;
        //            case "gy_routingbilllist":
        //                Gy_RoutingBillList oGy_RoutingBillList = new Gy_RoutingBillList();
        //                oGy_RoutingBillList.MdiParent = oMain;
        //                oGy_RoutingBillList.ModCaption = gnmc;
        //                oGy_RoutingBillList.Show();
        //                break;
 
        //            case "gy_icbombill":
        //                Gy_ICBomBill oGy_ICBomBill = new Gy_ICBomBill();
        //                oGy_ICBomBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oGy_ICBomBill.ModCaption = gnmc;
        //                oGy_ICBomBill.ShowDialog();
        //                break;
        //            case "gy_icbombilllist":
        //                Gy_ICBomBillList oGy_ICBomBillList = new Gy_ICBomBillList();
        //                oGy_ICBomBillList.MdiParent = oMain;
        //                oGy_ICBomBillList.ModCaption = gnmc;
        //                oGy_ICBomBillList.Show();
        //                break;
        //            case "sc_icbombillmuilist":
        //                Sc_ICBomBillMuiList oSc_ICBomBillMuiList = new Sc_ICBomBillMuiList();
        //                oSc_ICBomBillMuiList.MdiParent = oMain;
        //                //oSc_ICBomBillMuiList.ModCaption = gnmc;
        //                oSc_ICBomBillMuiList.Show();
        //                break; 
        //            case "gy_group":
        //                Gy_Group oGy_Group = new Gy_Group();
        //                oGy_Group.MdiParent = oMain;
        //                oGy_Group.Show();
        //                break;
        //            case "gy_process":
        //                Gy_Process oGy_Process = new Gy_Process();
        //                oGy_Process.MdiParent = oMain;
        //                oGy_Process.Show();
        //                break;
        //            case "gy_source":
        //                Gy_Source oGy_Source = new Gy_Source();
        //                oGy_Source.MdiParent = oMain;
        //                oGy_Source.Show();
        //                break;
        //            case "gy_workcenter":
        //                Gy_WorkCenter oGy_WorkCenter = new Gy_WorkCenter();
        //                oGy_WorkCenter.MdiParent = oMain;
        //                oGy_WorkCenter.Show();
        //                break;
        //            default:
        //                break;
        //        }
        //    }
        //    catch (Exception e)
        //    {
        //        MessageBox.Show(e.Message);
        //    }
        //}
        //#endregion
 
        //#region ³µ¼ä¹ÜÀí
        //public void Zxxymk_CJGL(string gnsy, string gnmc, Form oMain)
        //{
        //    if (gnsy.Length == 0)
        //        return;
        //    try
        //    {
        //        switch (gnsy.ToLower())
        //        {
        //            //---------------------------
 
 
        //            case "sc_processplanchangelist":
        //                //ȨÏÞ
        //                Sc_ProcessPlanChangeList oSc_ProcessPlanChangeList = new Sc_ProcessPlanChangeList();
        //                oSc_ProcessPlanChangeList.MdiParent = oMain;
        //                oSc_ProcessPlanChangeList.Show();
        //                break;
        //            case "sc_processplanchange":
        //                //
        //                Sc_ProcessPlanChange oSc_ProcessPlanChange = new Sc_ProcessPlanChange();
        //                oSc_ProcessPlanChange.ShowDialog();
        //                break;
                   
        //            case "kf_procinbill":
        //                Kf_ProcInBill oKf_ProcInBill = new Kf_ProcInBill();
        //                oKf_ProcInBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_ProcInBill.ModCaption = gnmc;
        //                oKf_ProcInBill.ShowDialog();
        //                break;
        //            case "kf_procinbilllist":
        //                Kf_ProcInBillList oKf_ProcInBillList = new Kf_ProcInBillList();
        //                oKf_ProcInBillList.MdiParent = oMain;
        //                oKf_ProcInBillList.ModCaption = gnmc;
        //                oKf_ProcInBillList.Show();
        //                break;
        //            case "kf_procoutbill":
        //                Kf_ProcOutBill oKf_ProcOutBill = new Kf_ProcOutBill();
        //                oKf_ProcOutBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_ProcOutBill.ModCaption = gnmc;
        //                oKf_ProcOutBill.ShowDialog();
        //                break;
        //            case "kf_procoutbilllist":
        //                Kf_ProcOutBillList oKf_ProcOutBillList = new Kf_ProcOutBillList();
        //                oKf_ProcOutBillList.MdiParent = oMain;
        //                oKf_ProcOutBillList.ModCaption = gnmc;
        //                oKf_ProcOutBillList.Show();
        //                break;
        //            case "sc_procprodmovebill":
        //                Sc_ProcProdMoveBill oSc_ProcProdMoveBill = new Sc_ProcProdMoveBill();
        //                oSc_ProcProdMoveBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcProdMoveBill.ModCaption = gnmc;
        //                oSc_ProcProdMoveBill.ShowDialog();
        //                break;
        //            case "sc_procprodmovebilllist":
        //                Sc_ProcProdMoveBillList oSc_ProcProdMoveBillList = new Sc_ProcProdMoveBillList();
        //                oSc_ProcProdMoveBillList.MdiParent = oMain;
        //                oSc_ProcProdMoveBillList.ModCaption = gnmc;
        //                oSc_ProcProdMoveBillList.Show();
        //                break;
        //            case "sc_processmovebill":
        //                Sc_ProcessMoveBill oSc_ProcessMoveBill = new Sc_ProcessMoveBill();
        //                oSc_ProcessMoveBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessMoveBill.ModCaption = gnmc;
        //                oSc_ProcessMoveBill.ShowDialog();
        //                break;
        //            case "sc_processmovebilllist":
        //                Sc_ProcessMoveBillList oSc_ProcessMoveBillList = new Sc_ProcessMoveBillList();
        //                oSc_ProcessMoveBillList.MdiParent = oMain;
        //                oSc_ProcessMoveBillList.ModCaption = gnmc;
        //                oSc_ProcessMoveBillList.Show();
        //                break;
        //            case "sc_processsendwork":
        //                Sc_ProcessSendWork oSc_ProcessSendWork = new Sc_ProcessSendWork();
        //                oSc_ProcessSendWork.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessSendWork.ModCaption = gnmc;
        //                oSc_ProcessSendWork.ShowDialog();
        //                break;
        //            case "sc_processsendworklist":
        //                Sc_ProcessSendWorkList oSc_ProcessSendWorkList = new Sc_ProcessSendWorkList();
        //                oSc_ProcessSendWorkList.MdiParent = oMain;
        //                oSc_ProcessSendWorkList.ModCaption = gnmc;
        //                oSc_ProcessSendWorkList.Show();
        //                break;
        //            //========================
        //            case "sc_processplan":
        //                Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan();
        //                oSc_ProcessPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessPlan.ModCaption = gnmc;
        //                oSc_ProcessPlan.ShowDialog();
        //                break;
        //            case "sc_processplanlist":
        //                Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList();
        //                oSc_ProcessPlanList.MdiParent = oMain;
        //                oSc_ProcessPlanList.ModCaption = gnmc;
        //                oSc_ProcessPlanList.Show();
        //                break;
        //            case "sc_processreport":
        //                Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport();
        //                oSc_ProcessReport.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessReport.ModCaption = gnmc;
        //                oSc_ProcessReport.ShowDialog();
        //                break;
        //            case "sc_processreportlist":
        //                Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList();
        //                oSc_ProcessReportList.MdiParent = oMain;
        //                oSc_ProcessReportList.ModCaption = gnmc;
        //                oSc_ProcessReportList.Show();
        //                break;
                    
        //            case "sc_processbackplan":
        //                Sc_ProcessBackPlan oSc_ProcessBackPlan = new Sc_ProcessBackPlan();
        //                oSc_ProcessBackPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessBackPlan.ShowDialog();
        //                break;
        //            case "sc_processbackplanlist":
        //                Sc_ProcessBackPlanList oSc_ProcessBackPlanList = new Sc_ProcessBackPlanList();
        //                oSc_ProcessBackPlanList.MdiParent = oMain;
        //                oSc_ProcessBackPlanList.Show();
        //                break;
 
                   
        //            //======================±¨±í
                   
 
        //            default:
        //                break;
        //        }
        //    }
        //    catch (Exception e)
        //    {
        //        MessageBox.Show(e.Message);
        //    }
        //}
        //#endregion
 
        //#region ÐÅϢƽ̨
 
        //public void Zxxymk_XXPT(string gnsy, string gnmc, Form oMain)
        //{
        //    if (gnsy.Length == 0)
        //        return;
        //    try
        //    {
        //        switch (gnsy.ToLower())
        //        {
                    
 
                     
        //            case "oa_worklinkbill":
        //                OA_WorkLinkBill oOA_WorkLinkBill = new OA_WorkLinkBill();
        //                oOA_WorkLinkBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                //oOA_WorkLinkBill.ModCaption = gnmc;
        //                oOA_WorkLinkBill.ShowDialog();
        //                break;
        //            case "oa_worklinkbilllist":
        //                OA_WorkLinkBillList oOA_WorkLinkBillList = new OA_WorkLinkBillList();
        //                oOA_WorkLinkBillList.MdiParent = oMain;
        //                //oOA_WorkLinkBillList.ModCaption = gnmc;
        //                oOA_WorkLinkBillList.Show();
        //                break;
        //            case "oa_meetnotifybill"://»áÒé֪ͨ
        //                OA_MeetNotifyBill oOA_MeetNotifyBill = new OA_MeetNotifyBill();
        //                oOA_MeetNotifyBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oOA_MeetNotifyBill.ShowDialog();
        //                break;
        //            case "oa_meetnotifybilllist":
        //                OA_MeetNotifyBillList oOA_MeetNotifyBillList = new OA_MeetNotifyBillList();
        //                oOA_MeetNotifyBillList.MdiParent = oMain;
        //                oOA_MeetNotifyBillList.Show();
        //                break;
        //                //
        //            case "oa_informbill"://֪ͨÎļþ
        //                OA_InformBill oOA_InformBill = new OA_InformBill();
        //                oOA_InformBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oOA_InformBill.ShowDialog();
        //                break;
        //            case "oa_informbilllist":
        //                OA_InformBillList oOA_InformBillList = new OA_InformBillList();
        //                oOA_InformBillList.MdiParent = oMain;
        //                oOA_InformBillList.Show();
        //                break;
        //            //
        //            case "oa_knowledge"://½¡¿µÐ¡ÖªÊ¶
        //                OA_Knowledge oOA_Knowledge = new OA_Knowledge();
        //                oOA_Knowledge.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oOA_Knowledge.ShowDialog();
        //                break;
        //            case "oa_knowledgelist":
        //                OA_KnowledgeList oOA_KnowledgeList = new OA_KnowledgeList();
        //                oOA_KnowledgeList.MdiParent = oMain;
        //                oOA_KnowledgeList.Show();
        //                break;
        //            case "oa_comfilebill"://
        //                OA_ComFileBill oOA_ComFileBill = new OA_ComFileBill();
        //                oOA_ComFileBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oOA_ComFileBill.ShowDialog();
        //                break;
        //            case "oa_comfilebilllist":
        //                OA_ComFileBillList oOA_ComFileBillList = new OA_ComFileBillList();
        //                oOA_ComFileBillList.MdiParent = oMain;
        //                oOA_ComFileBillList.Show();
        //                break;
        //            case "oa_errmsgbackbill"://Òì³£·´À¡µ¥
        //                OA_ErrMsgBackBill oOA_ErrMsgBackBill = new OA_ErrMsgBackBill();
        //                oOA_ErrMsgBackBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oOA_ErrMsgBackBill.ShowDialog();
        //                break;
        //            case "oa_errmsgbackbilllist":
        //                OA_ErrMsgBackBillList oOA_ErrMsgBackBillList = new OA_ErrMsgBackBillList();
        //                oOA_ErrMsgBackBillList.MdiParent = oMain;
        //                oOA_ErrMsgBackBillList.Show();
        //                break;
        //            //
        //            case "oa_manageremail"://×ܾ­ÀíÐÅÏä
        //                OA_ManagerEmail oOA_ManagerEmail = new OA_ManagerEmail();
        //                oOA_ManagerEmail.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oOA_ManagerEmail.ShowDialog();
        //                break;
        //            case "oa_manageremaillist":
        //                OA_ManagerEmailList oOA_ManagerEmailList = new OA_ManagerEmailList();
        //                oOA_ManagerEmailList.MdiParent = oMain;
        //                oOA_ManagerEmailList.Show();
        //                break;
        //            //
        //            case "oa_new"://ÆóÒµÐÂÎÅ
        //                OA_New oOA_New = new OA_New();
        //                oOA_New.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oOA_New.ShowDialog();
        //                break;
        //            case "oa_newlist":
        //                OA_NewList oOA_NewList = new OA_NewList();
        //                oOA_NewList.MdiParent = oMain;
        //                oOA_NewList.Show();
        //                break;
        //            default:
        //                break;
        //        }
        //    }
        //    catch (Exception e)
        //    {
        //        MessageBox.Show(e.Message);
        //    }
        //}
        //#endregion
 
        //#region ¹¤×Êϵͳ
        //public void Zxxymk_GZXT(string gnsy, string gnmc, Form oMain)
        //{
        //    if (gnsy.Length == 0)
        //        return;
        //    try
        //    { 
        //    }
        //    catch (Exception e)
        //    {
        //        MessageBox.Show(e.Message);
        //    }
        //}
        //#endregion
        
        #region »ù´¡ÉèÖÃ
        public void Zxxymk_JCSJ(string gnsy,string gnmc, Form oMain)
        {
            Form sFrm;
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "gy_matertype":
                        //ȨÏÞ
                        Gy_MaterType oGy_MaterType = new Gy_MaterType();
                        oGy_MaterType.MdiParent = oMain;
                        oGy_MaterType.Show();
                        break;
                    case "gy_procpricelist":
                        //ȨÏÞ
                        Gy_ProcPriceList oGy_ProcPriceList = new Gy_ProcPriceList();
                        oGy_ProcPriceList.MdiParent = oMain;
                        oGy_ProcPriceList.Show();
                        break;
                    case "gy_classtimeprjgroup":
                        Gy_ClassTimePrjGroup oGy_ClassTimePrjGroup = new Gy_ClassTimePrjGroup();
                        oGy_ClassTimePrjGroup.MdiParent = oMain;
                        oGy_ClassTimePrjGroup.Show();
                        break;
                    case "gy_matenumrelation":
                        Gy_MateNumRelation oGy_MateNumRelation = new Gy_MateNumRelation();
                        oGy_MateNumRelation.MdiParent = oMain;
                        oGy_MateNumRelation.Show();
                        break;
                    case "gy_procpricerela":
                        Gy_ProcPriceRela oGy_ProcPriceRela = new Gy_ProcPriceRela();
                        oGy_ProcPriceRela.MdiParent = oMain;
                        oGy_ProcPriceRela.Show();
                        break;
                    case "gy_procpricerelagroup":
                        Gy_ProcPriceRelaGroup oGy_ProcPriceRelaGroup = new Gy_ProcPriceRelaGroup();
                        oGy_ProcPriceRelaGroup.MdiParent = oMain;
                        oGy_ProcPriceRelaGroup.Show();
                        break;
                    case "gy_stockplacegroup":
                        Gy_StockPlaceGroup oGy_StockPlaceGroup = new Gy_StockPlaceGroup();
                        oGy_StockPlaceGroup.MdiParent = oMain;
                        oGy_StockPlaceGroup.Show();
                        break;
                    case "gy_stockplace":
                        Gy_StockPlace oGy_StockPlace = new Gy_StockPlace();
                        oGy_StockPlace.MdiParent = oMain;
                        oGy_StockPlace.Show();
                        break;
                    case "gy_holiday":
                        Gy_Holiday oGy_Holiday = new Gy_Holiday();
                        oGy_Holiday.MdiParent = oMain;
                        oGy_Holiday.Show();
                        break;
                    case "gy_icbomgroup":
                        Gy_ICBomGroup oGy_ICBomGroup = new Gy_ICBomGroup();
                        oGy_ICBomGroup.MdiParent = oMain;
                        oGy_ICBomGroup.Show();
                        break;
                    case "gy_prodtype":
                        Gy_ProdType oGy_ProdType = new Gy_ProdType();
                        oGy_ProdType.MdiParent = oMain;
                        oGy_ProdType.Show();
                        break;
                    case "gy_productspec":
                        Gy_ProductSpec oGy_ProductSpec = new Gy_ProductSpec();
                        oGy_ProductSpec.MdiParent = oMain;
                        oGy_ProductSpec.Show();
                        break;
                    case "gy_shifts":
                        Gy_Shifts oGy_Shifts = new Gy_Shifts();
                        oGy_Shifts.MdiParent = oMain;
                        oGy_Shifts.Show();
                        break;
                     
                    case "gy_carefor":
                        Gy_CareFor oGy_CareFor = new Gy_CareFor();
                        oGy_CareFor.MdiParent = oMain;
                        oGy_CareFor.Show();
                        break;
                    case "gy_subsidyitem":
                        Gy_SubsidyItem oGy_SubsidyItem = new Gy_SubsidyItem();
                        oGy_SubsidyItem.MdiParent = oMain;
                        oGy_SubsidyItem.Show();
                        break;
                    case "gy_deductitem":
                        Gy_DeductItem oGy_DeductItem = new Gy_DeductItem();
                        oGy_DeductItem.MdiParent = oMain;
                        oGy_DeductItem.Show();
                        break;
                    case "gy_matertrait":
                        Gy_MaterTrait oGy_MaterTrait = new Gy_MaterTrait();
                        oGy_MaterTrait.MdiParent = oMain;
                        oGy_MaterTrait.Show();
                        break;
                   
                    case "gy_suptype":
                        Gy_SupType oGy_SupType = new Gy_SupType();
                        oGy_SupType.MdiParent = oMain;
                        oGy_SupType.Show();
                        break;
                    case "gy_supstatus":
                        Gy_SupStatus oGy_SupStatus = new Gy_SupStatus();
                        oGy_SupStatus.MdiParent = oMain;
                        oGy_SupStatus.Show();
                        break;
                    case "gy_supsort":
                        Gy_SupSort oGy_SupSort = new Gy_SupSort();
                        oGy_SupSort.MdiParent = oMain;
                        oGy_SupSort.Show();
                        break;
                    case "gy_comkind":
                        Gy_ComKind oGy_ComKind = new Gy_ComKind();
                        oGy_ComKind.MdiParent = oMain;
                        oGy_ComKind.Show();
                        break;
                    case "gy_comtype":
                        Gy_ComType oGy_ComType = new Gy_ComType();
                        oGy_ComType.MdiParent = oMain;
                        oGy_ComType.Show();
                        break;
                    case "gy_comsort":
                        Gy_ComSort oGy_ComSort = new Gy_ComSort();
                        oGy_ComSort.MdiParent = oMain;
                        oGy_ComSort.Show();
                        break;
                    case "gy_comscope":
                        Gy_ComScope oGy_ComScope = new Gy_ComScope();
                        oGy_ComScope.MdiParent = oMain;
                        oGy_ComScope.Show();
                        break;
                    case "gy_sectype":
                        Gy_SecType oGy_SecType = new Gy_SecType();
                        oGy_SecType.MdiParent = oMain;
                        oGy_SecType.Show();
                        break;
                     
                    case "gy_papersort":
                        Gy_PaperSort oGy_PaperSort = new Gy_PaperSort();
                        oGy_PaperSort.MdiParent = oMain;
                        oGy_PaperSort.Show();
                        break;
                     
                    case "gy_proccomm":
                        Gy_ProcComm oGy_ProcComm = new Gy_ProcComm();
                        oGy_ProcComm.MdiParent = oMain;
                        oGy_ProcComm.Show();
                        break;
                   
                    case "gy_dorm":
                        Gy_Dorm oGy_Dorm = new Gy_Dorm();
                        oGy_Dorm.MdiParent = oMain;
                        oGy_Dorm.Show();
                        break;
                    
                    case "gy_energy":
                        Gy_Energy oGy_Energy = new Gy_Energy();
                        oGy_Energy.MdiParent = oMain;
                        oGy_Energy.Show();
                        break;
                    case "gy_model":
                        Gy_Model oGy_Model = new Gy_Model();
                        oGy_Model.MdiParent = oMain;
                        oGy_Model.Show();
                        break;
                     
                    
                    case "gy_safety":
                        Gy_Safety oGy_Safety = new Gy_Safety();
                        oGy_Safety.MdiParent = oMain;
                        oGy_Safety.Show();
                        break;
                    case "gy_dusubsidyitem":
                        Gy_DuSubsidyItem oGy_DuSubsidyItem = new Gy_DuSubsidyItem();
                        oGy_DuSubsidyItem.MdiParent = oMain;
                        oGy_DuSubsidyItem.Show();
                        break;
                    case "gy_workpaytype":
                        Gy_WorkPayType oGy_WorkPayType = new Gy_WorkPayType();
                        oGy_WorkPayType.MdiParent = oMain;
                        oGy_WorkPayType.Show();
                        break;
                    case "gy_worktype":
                        Gy_WorkType oGy_WorkType = new Gy_WorkType();
                        oGy_WorkType.MdiParent = oMain;
                        oGy_WorkType.Show();
                        break;
                    case "gy_trade":
                        Gy_Trade oGy_Trade = new Gy_Trade();
                        oGy_Trade.MdiParent = oMain;
                        oGy_Trade.Show();
                        break;
                    
                    case "gy_property":
                        Gy_Property oGy_Property = new Gy_Property();
                        oGy_Property.MdiParent = oMain;
                        oGy_Property.Show();
                        break;
                    case "gy_propertytype":
                        Gy_PropertyType oGy_PropertyType = new Gy_PropertyType();
                        oGy_PropertyType.MdiParent = oMain;
                        oGy_PropertyType.Show();
                        break;
                    case "gy_port":
                        Gy_Port oGy_Port = new Gy_Port();
                        oGy_Port.MdiParent = oMain;
                        oGy_Port.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_postockstyle":
                        Gy_PoStockStyle oGy_PoStockStyle = new Gy_PoStockStyle();
                        oGy_PoStockStyle.MdiParent = oMain;
                        oGy_PoStockStyle.Show();
                        break;
                    case "gy_suptarget":
                        Gy_SupTarget oGy_SupTarget = new Gy_SupTarget();
                        oGy_SupTarget.MdiParent = oMain;
                        oGy_SupTarget.Show();
                        break;
                    case "gy_bank":
                        Gy_Bank oGy_Bank = new Gy_Bank();
                        oGy_Bank.MdiParent = oMain;
                        oGy_Bank.Show();
                        break;
                    case "gy_duty":
                        Gy_Duty oGy_Duty = new Gy_Duty();
                        oGy_Duty.MdiParent = oMain;
                        oGy_Duty.Show();
                        break;
                    case "gy_material":
                        Gy_Material oGy_Material = new Gy_Material();
                        oGy_Material.MdiParent = oMain;
                        oGy_Material.Show();
                        break;
                    case "gy_supplier":
                        Gy_Supplier oGy_Supplier = new Gy_Supplier();
                        oGy_Supplier.MdiParent = oMain;
                        oGy_Supplier.Show();
                        break;
                    case "gy_customer":
                        Gy_Customer oGy_Customer = new Gy_Customer();
                        oGy_Customer.MdiParent = oMain;
                        oGy_Customer.Show();
                        break;
                    case "gy_areaset":
                        Gy_AreaSet oGy_AreaSet = new Gy_AreaSet();
                        oGy_AreaSet.ModName = gnmc;
                        oGy_AreaSet.MdiParent = oMain;
                        oGy_AreaSet.Show();
                        break;
                    case "gy_custype":
                        Gy_CusType oGy_CusType = new Gy_CusType();
                        oGy_CusType.MdiParent = oMain;
                        oGy_CusType.Show();
                        break;
                    case "gy_post":
                        Gy_Post oGy_Post = new Gy_Post();
                        oGy_Post.MdiParent = oMain;
                        oGy_Post.Show();
                        break;
                    case "gy_warehouse":
                        Gy_Warehouse oGy_Warehouse = new Gy_Warehouse();
                        oGy_Warehouse.MdiParent = oMain;
                        oGy_Warehouse.Show();
                        break;
                    case "gy_sellstyle":
                        Gy_SellStyle oGy_SellStyle = new Gy_SellStyle();
                        oGy_SellStyle.MdiParent = oMain;
                        oGy_SellStyle.Show();
                        break;
                    case "gy_currency":
                        Gy_Currency oGy_Currency = new Gy_Currency();
                        oGy_Currency.MdiParent = oMain;
                        oGy_Currency.Show();
                        break;
                    case "gy_settlestyle":
                        Gy_SettleStyle oGy_SettleStyle = new Gy_SettleStyle();
                        oGy_SettleStyle.MdiParent = oMain;
                        oGy_SettleStyle.Show();
                        break;
                    case "gy_unit":
                        Gy_Unit oGy_Unit = new Gy_Unit();
                        oGy_Unit.MdiParent = oMain;
                        oGy_Unit.Show();
                        break;
                    case "gy_unitgroup":
                        Gy_UnitGroup oGy_UnitGroup = new Gy_UnitGroup();
                        oGy_UnitGroup.MdiParent = oMain;
                        oGy_UnitGroup.Show();
                        break;
                    case "gy_orderlev":
                        Gy_OrderLev oGy_OrderLev = new Gy_OrderLev();
                        oGy_OrderLev.MdiParent = oMain;
                        oGy_OrderLev.Show();
                        break;
                    case "gy_worktimes":
                        //Gy_WorkTimes oGy_WorkTimes = new Gy_WorkTimes();
                        //oGy_WorkTimes.MdiParent = oMain;
                        //oGy_WorkTimes.Show();
                        break;
                    case "gy_employee":
                        Gy_Employee oGy_Employee = new Gy_Employee();
                        oGy_Employee.MdiParent = oMain;
                        oGy_Employee.Show();
                        break;
                    case "gy_matepricesuplist":
                        Gy_MatePriceSupList oGy_MatePriceSupList = new Gy_MatePriceSupList();
                        oGy_MatePriceSupList.MdiParent = oMain;
                        oGy_MatePriceSupList.Show();
                        break;
                    case "gy_matepricecuslist":
                        Gy_MatePriceCusList oGy_MatePriceCusList = new Gy_MatePriceCusList();
                        oGy_MatePriceCusList.MdiParent = oMain;
                        oGy_MatePriceCusList.Show();
                        break;
                    case "gy_workcentersourcebilllist":
                        Gy_WorkCenterSourceBillList oGy_WorkCenterSourceBillList = new Gy_WorkCenterSourceBillList();
                        oGy_WorkCenterSourceBillList.MdiParent = oMain;
                        oGy_WorkCenterSourceBillList.Show();
                        break;
                    //case "gy_routingbilllist":
                    //    Gy_RoutingBillList oGy_RoutingBillList = new Gy_RoutingBillList();
                    //    oGy_RoutingBillList.MdiParent = oMain;
                    //    oGy_RoutingBillList.Show();
                    //    break;
                    //case "gy_routingbilll":
                    //    Gy_RoutingBill oGy_RoutingBill = new Gy_RoutingBill(); 
                    //    oGy_RoutingBill.ShowDialog();
                    //    break;
                    case "xt_userrelationsupplierlist":
                        //ȨÏÞ
                        Xt_UserRelationSupplierList oXt_UserRelationSupplierList = new Xt_UserRelationSupplierList();
                        oXt_UserRelationSupplierList.MdiParent = oMain;
                        oXt_UserRelationSupplierList.Show();
                        break;
                    case "xt_userrelationsupplier":
                        //
                        Xt_UserRelationSupplier oXt_UserRelationSupplier = new Xt_UserRelationSupplier();
                        oXt_UserRelationSupplier.ShowDialog();
                        break;
                    case "gy_cusfrom":
                        Gy_CusFrom oGy_CusFrom = new Gy_CusFrom();
                        oGy_CusFrom.MdiParent = oMain;
                        oGy_CusFrom.Show();
                        break;
                    case "gy_campaigntype":
                        Gy_CampaignType oGy_CampaignType = new Gy_CampaignType();
                        oGy_CampaignType.MdiParent = oMain;
                        oGy_CampaignType.Show();
                        break;
                    case "gy_infofrom":
                        Gy_InfoFrom oGy_InfoFrom = new Gy_InfoFrom();
                        oGy_InfoFrom.MdiParent = oMain;
                        oGy_InfoFrom.Show();
                        break;
                    case "gy_selltool":
                        Gy_SellTool oGy_SellTool = new Gy_SellTool();
                        oGy_SellTool.MdiParent = oMain;
                        oGy_SellTool.Show();
                        break;
                    case "gy_selltype":
                        Gy_SellType oGy_SellType = new Gy_SellType();
                        oGy_SellType.MdiParent = oMain;
                        oGy_SellType.Show();
                        break;
                
                    case "gy_cuslevel":
                        Gy_CusLevel oGy_CusLevel = new Gy_CusLevel();
                        oGy_CusLevel.MdiParent = oMain;
                        oGy_CusLevel.Show();
                        break;
                    case "gy_cusimport":
                        Gy_CusImport oGy_CusImport = new Gy_CusImport();
                        oGy_CusImport.MdiParent = oMain;
                        oGy_CusImport.Show();
                        break;
                    
                    case "gy_sellstep":
                        Gy_SellStep oGy_SellStep = new Gy_SellStep();
                        oGy_SellStep.MdiParent = oMain;
                        oGy_SellStep.Show();
                        break;
                    case "gy_appealtype":
                        Gy_AppealType oGy_AppealType = new Gy_AppealType();
                        oGy_AppealType.MdiParent = oMain;
                        oGy_AppealType.Show();
                        break;
                    case "gy_appeal":
                        Gy_Appeal oGy_Appeal = new Gy_Appeal();
                        oGy_Appeal.MdiParent = oMain;
                        oGy_Appeal.Show();
                        break;
                    case "gy_infotype":
                        Gy_InfoType oGy_InfoType = new Gy_InfoType();
                        oGy_InfoType.MdiParent = oMain;
                        oGy_InfoType.Show();
                        break;
                    case "gy_cusstatus":
                        Gy_CusStatus oGy_CusStatus = new Gy_CusStatus();
                        oGy_CusStatus.MdiParent = oMain;
                        oGy_CusStatus.Show();
                        break;
                    case "gy_disposeway":
                        Gy_DisposeWay oGy_DisposeWay = new Gy_DisposeWay();
                        oGy_DisposeWay.MdiParent = oMain;
                        oGy_DisposeWay.Show();
                        break;
                    case "gy_projectstep":
                        Gy_ProjectStep oGy_ProjectStep = new Gy_ProjectStep();
                        oGy_ProjectStep.MdiParent = oMain;
                        oGy_ProjectStep.Show();
                        break;
                    case "gy_usermaterrelation":
                        Gy_UserMaterRelation oGy_UserMaterRelation = new Gy_UserMaterRelation();
                        oGy_UserMaterRelation.ShowDialog();
                        break;
                    case "gy_usermaterrelationlist":
                        Gy_UserMaterRelationList oGy_UserMaterRelationList = new Gy_UserMaterRelationList();
                        oGy_UserMaterRelationList.MdiParent = oMain;
                        oGy_UserMaterRelationList.Show();
                        break;
                    case "gy_usercustomerrelation":
                        Gy_UserCustomerRelation oGy_UserCustomerRelation = new Gy_UserCustomerRelation();
                        oGy_UserCustomerRelation.ShowDialog();
                        break;
                    case "gy_usercustomerrelationlist":
                        Gy_UserCustomerRelationList oGy_UserCustomerRelationList = new Gy_UserCustomerRelationList();
                        oGy_UserCustomerRelationList.MdiParent = oMain;
                        oGy_UserCustomerRelationList.Show();
                        break;
                    case "gy_userdeptrelation":
                        Gy_UserDeptRelation oGy_UserDeptRelation = new Gy_UserDeptRelation();
                        oGy_UserDeptRelation.ShowDialog();
                        break;
                    case "gy_userdeptrelationlist":
                        Gy_UserDeptRelationList oGy_UserDeptRelationList = new Gy_UserDeptRelationList();
                        oGy_UserDeptRelationList.MdiParent = oMain;
                        oGy_UserDeptRelationList.Show();
                        break;
                    case "gy_usergrouprelation":
                        Gy_UserGroupRelation oGy_UserGroupRelation = new Gy_UserGroupRelation();
                        oGy_UserGroupRelation.ShowDialog();
                        break;
                    case "gy_usergrouprelationlist":
                        Gy_UserGroupRelationList oGy_UserGroupRelationList = new Gy_UserGroupRelationList();
                        oGy_UserGroupRelationList.MdiParent = oMain;
                        oGy_UserGroupRelationList.Show();
                        break;
                    case "gy_userstockrelation":
                        Gy_UserStockRelation oGy_UserStockRelation = new Gy_UserStockRelation();
                        oGy_UserStockRelation.ShowDialog();
                        break;
                    case "gy_userstockrelationlist":
                        Gy_UserStockRelationList oGy_UserStockRelationList = new Gy_UserStockRelationList();
                        oGy_UserStockRelationList.MdiParent = oMain;
                        oGy_UserStockRelationList.Show();
                        break;
                    case "gy_qcresult2":
                        Gy_QCResult2 oGy_QCResult2 = new Gy_QCResult2();
                        oGy_QCResult2.MdiParent = oMain;
                        oGy_QCResult2.Show();
                        break;
                    case "gy_qcresult":
                        Gy_QCResult oGy_QCResult = new Gy_QCResult();
                        oGy_QCResult.MdiParent = oMain;
                        oGy_QCResult.Show();
                        break;
                         
                   
                    //===================================
                    case "gy_routinggroup":
                        Gy_RoutingGroup oGy_RoutingGroup = new Gy_RoutingGroup();
                        oGy_RoutingGroup.MdiParent = oMain;
                        oGy_RoutingGroup.Show();
                        break;
                    case "gy_department":
                        Gy_Department oGy_Department = new Gy_Department();
                        oGy_Department.MdiParent = oMain;
                        oGy_Department.Show();
                        break;
                    case "gy_group":
                        Gy_Group oGy_Group = new Gy_Group();
                        oGy_Group.MdiParent = oMain;
                        oGy_Group.Show();
                        break;
                    case "gy_process":
                        Gy_Process oGy_Process = new Gy_Process();
                        oGy_Process.MdiParent = oMain;
                        oGy_Process.Show();
                        break;
                    case "gy_source":
                        Gy_Source oGy_Source = new Gy_Source();
                        oGy_Source.MdiParent = oMain;
                        oGy_Source.Show();
                        break;
                    case "gy_workcenter":
                        Gy_WorkCenter oGy_WorkCenter = new Gy_WorkCenter();
                        oGy_WorkCenter.MdiParent = oMain;
                        oGy_WorkCenter.Show();
                        break;
 
                    case "gy_badreason":
                        Gy_BadReason oGy_BadReason = new Gy_BadReason();
                        oGy_BadReason.MdiParent = oMain;
                        oGy_BadReason.Show();
                        break;
                    case "gy_errtype":
                        Gy_ErrType oGy_ErrType = new Gy_ErrType();
                        oGy_ErrType.MdiParent = oMain;
                        oGy_ErrType.Show();
                        break;
                    case "gy_scrapreason":
                        Gy_ScrapReason oGy_ScrapReason = new Gy_ScrapReason();
                        oGy_ScrapReason.MdiParent = oMain;
                        oGy_ScrapReason.Show();
                        break;
                    case "gy_procmul":
                        Gy_ProcMul oGy_ProcMul = new Gy_ProcMul();
                        oGy_ProcMul.MdiParent = oMain;
                        oGy_ProcMul.Show();
                        break;
 
                    case "gy_collect":
                        Gy_Collect oGy_Collect = new Gy_Collect();
                        oGy_Collect.MdiParent = oMain;
                        oGy_Collect.Show();
                        break;
                    case "gy_housetype":
                        Gy_HouseType oGy_HouseType = new Gy_HouseType();
                        oGy_HouseType.MdiParent = oMain;
                        oGy_HouseType.Show();
                        break;
                    case "gy_building":
                        Gy_Building oGy_Building = new Gy_Building();
                        oGy_Building.MdiParent = oMain;
                        oGy_Building.Show();
                        break;
                    case "gy_room":
                        Gy_Room oGy_Room = new Gy_Room();
                        oGy_Room.MdiParent = oMain;
                        oGy_Room.Show();
                        break;
                  
                    case "xt_mainmenuset":
                        Xt_MainMenuSet oXt_MainMenuSet = new Xt_MainMenuSet();
                        oXt_MainMenuSet.MdiParent = oMain;
                        oXt_MainMenuSet.Show();
                        break;
                    case "gy_classtimeprjsub":
                        Gy_ClassTimePrjSub oGy_ClassTimePrjSub = new Gy_ClassTimePrjSub();
                        oGy_ClassTimePrjSub.MdiParent = oMain;
                        oGy_ClassTimePrjSub.Show();
                        break;
                    case "gy_classtimeprj":
                        Gy_ClassTimePrj oGy_ClassTimePrj = new Gy_ClassTimePrj();
                        oGy_ClassTimePrj.MdiParent = oMain;
                        oGy_ClassTimePrj.Show();
                        break;
                    case "":
                        //
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, "Ìáʾ");
            }
        }
        #endregion
 
        #region Í³¼Æ±¨±í
        public void Zxxymk_TJBB(string gnsy, string gnmc, Form oMain)
        {
 
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
 
                    //case "sc_icmoworkcenter_teechart":
                    //    Sc_ICMOWorkCenter_TeeChart oSc_ICMOWorkCenter_TeeChart = new Sc_ICMOWorkCenter_TeeChart();
                    //    oSc_ICMOWorkCenter_TeeChart.MdiParent = oMain;
                    //    oSc_ICMOWorkCenter_TeeChart.ModCaption = gnmc;
                    //    oSc_ICMOWorkCenter_TeeChart.Show();
                    //    break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, "Ìáʾ");
            }
        }
        #endregion
 
        #region ±¨±í·ÖÎö
        public void Zxxymk_BBFX(string gnsy, string gnmc, Form oMain)
        {
 
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
 
                    //case "kf_icinventorylist_k3":
                    //    KF_ICInventoryList_K3 oKF_ICInventoryList_K3 = new KF_ICInventoryList_K3();
                    //    oKF_ICInventoryList_K3.MdiParent = oMain;
                        
                    //    oKF_ICInventoryList_K3.Show();
                    //    break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, "Ìáʾ");
            }
        }
        #endregion
 
        #region ÏµÍ³¹ÜÀí
        public void Zxxymk_XTGL(string gnsy, string gnmc, Form oMain)
        {
 
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "oa_empmessagebillmod":
                        OA_EmpMessageBillMod oOA_EmpMessageBillMod = new OA_EmpMessageBillMod();
                        oOA_EmpMessageBillMod.MdiParent = oMain;
                        oOA_EmpMessageBillMod.Show();
                        break;
                    case "oa_empmessagebillmodlist":
                        OA_EmpMessageBillModList oOA_EmpMessageBillModList = new OA_EmpMessageBillModList();
                        oOA_EmpMessageBillModList.MdiParent = oMain;
                        oOA_EmpMessageBillModList.Show();
                        break;
 
                    case "oa_fieldtochange":
                        OA_FieldToChange oOA_FieldToChange = new OA_FieldToChange();
                        oOA_FieldToChange.MdiParent = oMain;
                        oOA_FieldToChange.Show();
                        break;
                    case "oa_fieldtochangelist":
                        OA_FieldToChangeList oOA_FieldToChangeList = new OA_FieldToChangeList();
                        oOA_FieldToChangeList.MdiParent = oMain;
                        oOA_FieldToChangeList.Show();
                        break;
                    case "xt_user":
                        BLL.Xt_User oXt_User = new BLL.Xt_User();
                        oXt_User.ShowDialog();
                        break;
                    case "xt_accountperiod":
                        BLL.Xt_AccountPeriod oXt_AccountPeriod=new BLL.Xt_AccountPeriod();
                        oXt_AccountPeriod.MdiParent = oMain;
                        oXt_AccountPeriod.Show();
                        break;
                    case "xt_systemlog":
                        BLL.Xt_SystemLog oXt_SystemLog = new BLL.Xt_SystemLog();
                        oXt_SystemLog.MdiParent = oMain;
                        oXt_SystemLog.Show();
                        break;
                    case "xt_xtgnb":
                        BLL.Xt_Xtgnb oXt_Xtgnb = new BLL.Xt_Xtgnb();
                        oXt_Xtgnb.MdiParent = oMain;
                        oXt_Xtgnb.Show();
                        break;
                    case "gy_dataintmp":
                        Gy_DataInTmp oGy_DataInTmp = new Gy_DataInTmp();
                        oGy_DataInTmp.MdiParent = oMain;
                        oGy_DataInTmp.Show();
                        break;
                   
                    case "gy_datain_routingbill":
                        //Gy_DataIn_RoutingBill oGy_DataIn_RoutingBill = new Gy_DataIn_RoutingBill();
                        //oGy_DataIn_RoutingBill.MdiParent = oMain;
                        //oGy_DataIn_RoutingBill.Show();
                        break;
                    case "gy_datain_processprice":
                        Gy_DataIn_ProcessPrice oGy_DataIn_ProcessPrice = new Gy_DataIn_ProcessPrice();
                        oGy_DataIn_ProcessPrice.MdiParent = oMain;
                        oGy_DataIn_ProcessPrice.Show();
                        break; 
                    case "gy_datain_group":
                        Gy_DataIn_Group oGy_DataIn_Group = new Gy_DataIn_Group();
                        oGy_DataIn_Group.MdiParent = oMain;
                        oGy_DataIn_Group.Show();
                        break;
                    case "gy_datain_procmul":
                        Gy_DataIn_ProcMul oGy_DataIn_ProcMul = new Gy_DataIn_ProcMul();
                        oGy_DataIn_ProcMul.MdiParent = oMain;
                        oGy_DataIn_ProcMul.Show();
                        break;
                    case "gy_datain_source":
                        Gy_DataIn_Source oGy_DataIn_Source = new Gy_DataIn_Source();
                        oGy_DataIn_Source.MdiParent = oMain;
                        oGy_DataIn_Source.Show();
                        break;
                    case "gy_datain_workcenter":
                        Gy_DataIn_WorkCenter oGy_DataIn_WorkCenter = new Gy_DataIn_WorkCenter();
                        oGy_DataIn_WorkCenter.MdiParent = oMain;
                        oGy_DataIn_WorkCenter.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;
                    case "xt_billsourceset":
                        Xt_BillSourceSet oXt_BillSourceSet = new Xt_BillSourceSet();
                        oXt_BillSourceSet.MdiParent = oMain;
                        oXt_BillSourceSet.Show();
                        break;
                    case "kf_icinvbal":
                        Kf_ICInvBal oKf_ICInvBal = new Kf_ICInvBal();
                        oKf_ICInvBal.MdiParent = oMain;
                        oKf_ICInvBal.Show();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, "Ìáʾ");
            }
        }
        #endregion
 
 
        #region ¹«ÓÃ
        public void Zxxymk_Public(string gnsy, string gnmc, Form oMain)
        {
 
            if (gnsy.Length == 0)
                return;
            try
            {
                switch (gnsy.ToLower())
                {
                    case "oa_empmessagebillmod":
                        OA_EmpMessageBillMod oOA_EmpMessageBillMod = new OA_EmpMessageBillMod();
                        oOA_EmpMessageBillMod.MdiParent = oMain;
                        oOA_EmpMessageBillMod.Show();
                        break;
                    case "oa_empmessagebillmodlist":
                        OA_EmpMessageBillModList oOA_EmpMessageBillModList = new OA_EmpMessageBillModList();
                        oOA_EmpMessageBillModList.MdiParent = oMain;
                        oOA_EmpMessageBillModList.Show();
                        break;
 
                    case "oa_fieldtochange":
                        OA_FieldToChange oOA_FieldToChange = new OA_FieldToChange();
                        oOA_FieldToChange.MdiParent = oMain;
                        oOA_FieldToChange.Show();
                        break;
                    case "oa_fieldtochangelist":
                        OA_FieldToChangeList oOA_FieldToChangeList = new OA_FieldToChangeList();
                        oOA_FieldToChangeList.MdiParent = oMain;
                        oOA_FieldToChangeList.Show();
                        break;
                    case "xt_user":
                        BLL.Xt_User oXt_User = new BLL.Xt_User();
                        oXt_User.ShowDialog();
                        break;
                    case "xt_accountperiod":
                        BLL.Xt_AccountPeriod oXt_AccountPeriod = new BLL.Xt_AccountPeriod();
                        oXt_AccountPeriod.MdiParent = oMain;
                        oXt_AccountPeriod.Show();
                        break;
                    case "xt_systemlog":
                        BLL.Xt_SystemLog oXt_SystemLog = new BLL.Xt_SystemLog();
                        oXt_SystemLog.MdiParent = oMain;
                        oXt_SystemLog.Show();
                        break;
                    case "xt_xtgnb":
                        BLL.Xt_Xtgnb oXt_Xtgnb = new BLL.Xt_Xtgnb();
                        oXt_Xtgnb.MdiParent = oMain;
                        oXt_Xtgnb.Show();
                        break;
                    case "gy_dataintmp":
                        Gy_DataInTmp oGy_DataInTmp = new Gy_DataInTmp();
                        oGy_DataInTmp.MdiParent = oMain;
                        oGy_DataInTmp.Show();
                        break;
                    
                    case "gy_datain_processprice":
                        Gy_DataIn_ProcessPrice oGy_DataIn_ProcessPrice = new Gy_DataIn_ProcessPrice();
                        oGy_DataIn_ProcessPrice.MdiParent = oMain;
                        oGy_DataIn_ProcessPrice.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;
                    case "xt_billsourceset":
                        Xt_BillSourceSet oXt_BillSourceSet = new Xt_BillSourceSet();
                        oXt_BillSourceSet.MdiParent = oMain;
                        oXt_BillSourceSet.Show();
                        break;
                     
                    case "xs_sellplanexecutebill":
                        Xs_SellPlanExecuteBill oXs_SellPlanExecuteBill = new Xs_SellPlanExecuteBill();
                        oXs_SellPlanExecuteBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oXs_SellPlanExecuteBill.ModCaption = gnmc;
                        oXs_SellPlanExecuteBill.ShowDialog();
                        break;
                    case "xs_sellplanexecutebilllist":
                        Xs_SellPlanExecuteBillList oXs_SellPlanExecuteBillList = new Xs_SellPlanExecuteBillList();
                        oXs_SellPlanExecuteBillList.MdiParent = oMain;
                        oXs_SellPlanExecuteBillList.ModCaption = gnmc;
                        oXs_SellPlanExecuteBillList.Show();
                        break; 
                    case "gy_customer":
                        Gy_Customer oGy_Customer = new Gy_Customer();
                        oGy_Customer.MdiParent = oMain;
                        oGy_Customer.Show();
                        break;
                     
 
                    
                    default:
                        break;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, "Ìáʾ");
            }
        }
        #endregion
    }
}