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
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
|
Public Class ShiftOSDesktop
#Region "Saving and Loading Skins and Game Progress"
Public justconverted As Boolean = False
Public codepoints As Integer
Public log As String
Public forceclose As Boolean = False
Public movablewindownumber As Integer = 50
Public terminalfullscreen As Boolean = True
Public unitymode As Boolean = False
Public savelines(2000) As String
Public loadlines(2000) As String
Public skinlines(200) As String
Public newgame As Boolean = False
Public lastcolourpick As Color = Color.Gray
Public programsopen As Integer = 0
Public ShiftOSPath As String = "C:\ShiftOS"
Private actualshiftversion As String = "0.0.8"
Public ingameversion As String = "0.0.1.0"
'Corruptions
Public FileSkimmerCorrupted As Boolean = False
Public ArtpadCorrupted As Boolean = False
Public AudioPlayerCorrupted As Boolean = False
Public BitNoteDiggerCorrupted As Boolean = False
Public BitNoteWalletCorrupted As Boolean = False
Public CalculatorCorrupted As Boolean = False
Public ClockCorrupted As Boolean = False
Public CoherenceModeCorrupted As Boolean = False
Public ColourPickerCorrupted As Boolean = False
Public DodgeCorrupted As Boolean = False
Public DownloadManagerCorrupted As Boolean = False
Public FloodGateManagerCorrupted As Boolean = False
Public GraphicPickerCorrupted As Boolean = False
Public IconManagerCorrupted As Boolean = False
Public InstallerCorrupted As Boolean = False
Public KnowledgeInputCorrupted As Boolean = False
Public LabyrinthCorrupted As Boolean = False
Public NameChangerCorrupted As Boolean = False
Public OrcWriteCorrupted As Boolean = False
Public PongCorrupted As Boolean = False
Public ShifterCorrupted As Boolean = False
Public ShiftNetCorrupted As Boolean = False
Public ShiftoriumCorrupted As Boolean = False
Public SkinLoaderCorrupted As Boolean = False
Public SkinShifterCorrupted As Boolean = False
Public SnakeyCorrupted As Boolean = False
Public SystemInfoCorrupted As Boolean = False
Public TerminalCorrupted As Boolean = False
Public TextpadCorrupted As Boolean = False
Public VideoPlayerCorrupted As Boolean = False
Public VirusScannerCorrupted As Boolean = False
Public WebBrowserCorrupted As Boolean = False
'Shiftorium Upgrades
Public boughttitlebar As Boolean = False
Public boughtgray As Boolean = False
Public boughtsecondspastmidnight As Boolean = False
Public boughtminutespastmidnight As Boolean = False
Public boughthourspastmidnight As Boolean = False
Public boughtcustomusername As Boolean = False
Public boughtwindowsanywhere As Boolean = False
Public boughtmultitasking As Boolean = False
Public boughtautoscrollterminal As Boolean = False
Public boughtmovablewindows As Boolean = False
Public boughtdraggablewindows As Boolean = False
Public boughtwindowborders As Boolean = False
Public boughtpmandam As Boolean = False
Public boughtminuteaccuracytime As Boolean = False
Public boughtsplitsecondtime As Boolean = False
Public boughttitletext As Boolean = False
Public boughtclosebutton As Boolean = False
Public boughtdesktoppanel As Boolean = False
Public boughtclock As Boolean = False
Public boughtwindowedterminal As Boolean = False
Public boughtapplaunchermenu As Boolean = False
Public boughtalknowledgeinput As Boolean = False
Public boughtalclock As Boolean = False
Public boughtalshiftorium As Boolean = False
Public boughtapplaunchershutdown As Boolean = False
Public boughtdesktoppanelclock As Boolean = False
Public boughtterminalscrollbar As Boolean = False
Public boughtkiaddons As Boolean = False
Public boughtkicarbrands As Boolean = False
Public boughtkigameconsoles As Boolean = False
Public boughtshifter As Boolean = False
Public boughtalshifter As Boolean = False
Public boughtrollupcommand As Boolean = False
Public boughtrollupbutton As Boolean = False
Public boughtshiftdesktop As Boolean = False
Public boughtshiftpanelclock As Boolean = False
Public boughtshiftapplauncher As Boolean = False
Public boughtshiftdesktoppanel As Boolean = False
Public boughtshifttitlebar As Boolean = False
Public boughtshifttitletext As Boolean = False
Public boughtshifttitlebuttons As Boolean = False
Public boughtshiftborders As Boolean = False
Public boughtgray2 As Boolean = False
Public boughtgray3 As Boolean = False
Public boughtgray4 As Boolean = False
Public boughtanycolour As Boolean = False
Public boughtanycolour2 As Boolean = False
Public boughtanycolour3 As Boolean = False
Public boughtanycolour4 As Boolean = False
Public boughtpurple As Boolean = False
Public boughtpurple2 As Boolean = False
Public boughtpurple3 As Boolean = False
Public boughtpurple4 As Boolean = False
Public boughtblue As Boolean = False
Public boughtblue2 As Boolean = False
Public boughtblue3 As Boolean = False
Public boughtblue4 As Boolean = False
Public boughtgreen As Boolean = False
Public boughtgreen2 As Boolean = False
Public boughtgreen3 As Boolean = False
Public boughtgreen4 As Boolean = False
Public boughtyellow As Boolean = False
Public boughtyellow2 As Boolean = False
Public boughtyellow3 As Boolean = False
Public boughtyellow4 As Boolean = False
Public boughtorange As Boolean = False
Public boughtorange2 As Boolean = False
Public boughtorange3 As Boolean = False
Public boughtorange4 As Boolean = False
Public boughtbrown As Boolean = False
Public boughtbrown2 As Boolean = False
Public boughtbrown3 As Boolean = False
Public boughtbrown4 As Boolean = False
Public boughtred As Boolean = False
Public boughtred2 As Boolean = False
Public boughtred3 As Boolean = False
Public boughtred4 As Boolean = False
Public boughtpink As Boolean = False
Public boughtpink2 As Boolean = False
Public boughtpink3 As Boolean = False
Public boughtpink4 As Boolean = False
'new 0.0.6 content
Public boughtpong As Boolean = False
Public boughtknowledgeinputicon As Boolean = False
Public boughtshiftericon As Boolean = False
Public boughtshiftoriumicon As Boolean = False
Public boughtclockicon As Boolean = False
Public boughtshutdownicon As Boolean = False
Public boughtpongicon As Boolean = False
Public boughtterminalicon As Boolean = False
Public boughtalpong As Boolean = False
Public boughtfileskimmer As Boolean = False
Public boughtalfileskimmer As Boolean = False
Public boughttextpad As Boolean = False
Public boughtaltextpad As Boolean = False
Public boughtfileskimmericon As Boolean = False
Public boughttextpadicon As Boolean = False
Public boughttextpadnew As Boolean = False
Public boughttextpadsave As Boolean = False
Public boughttextpadopen As Boolean = False
Public boughtfileskimmernewfolder As Boolean = False
Public boughtfileskimmerdelete As Boolean = False
Public boughtkielements As Boolean = False
Public boughtcolourpickericon As Boolean = False
Public boughtinfoboxicon As Boolean = False
'new 0.0.7 content
Public boughtskinloader As Boolean = False
Public boughtminimizebutton As Boolean = False
Public boughtpanelbuttons As Boolean = False
Public boughtshiftpanelbuttons As Boolean = False
Public boughtartpad As Boolean = False
Public boughtalartpad As Boolean = False
Public boughtartpadicon As Boolean = False
Public boughtskinning As Boolean = False
Public boughtminimizecommand As Boolean = False
Public boughtusefulpanelbuttons As Boolean = False
Public boughtunitymode As Boolean = False
Public boughtartpadpixellimit4 As Boolean = False
Public boughtartpadpixellimit8 As Boolean = False
Public boughtartpadpixellimit16 As Boolean = False
Public boughtartpadpixellimit64 As Boolean = False
Public boughtartpadpixellimit256 As Boolean = False
Public boughtartpadpixellimit1024 As Boolean = False
Public boughtartpadpixellimit4096 As Boolean = False
Public boughtartpadpixellimit16384 As Boolean = False
Public boughtartpadpixellimit65536 As Boolean = False
Public boughtartpadlimitlesspixels As Boolean = False
Public boughtartpad4colorpallets As Boolean = False
Public boughtartpad8colorpallets As Boolean = False
Public boughtartpad16colorpallets As Boolean = False
Public boughtartpad32colorpallets As Boolean = False
Public boughtartpad64colorpallets As Boolean = False
Public boughtartpad128colorpallets As Boolean = False
Public boughtartpadcustompallets As Boolean = False
Public boughtartpadnew As Boolean = False
Public boughtartpadpixelplacer As Boolean = False
Public boughtartpadpixelplacermovementmode As Boolean = False
Public boughtartpadpencil As Boolean = False
Public boughtartpadpaintbrush As Boolean = False
Public boughtartpadlinetool As Boolean = False
Public boughtartpadovaltool As Boolean = False
Public boughtartpadrectangletool As Boolean = False
Public boughtartpaderaser As Boolean = False
Public boughtartpadfilltool As Boolean = False
Public boughtartpadtexttool As Boolean = False
Public boughtartpadundo As Boolean = False
Public boughtartpadredo As Boolean = False
Public boughtartpadsave As Boolean = False
Public boughtartpadload As Boolean = False
'new 0.0.8 features
Public boughtresizablewindows As Boolean = False
Public boughtcalculator As Boolean = False
Public boughtaudioplayer As Boolean = False
Public boughtchangeosnamecommand As Boolean = False
Public boughtwebbrowser As Boolean = False
Public boughtvideoplayer As Boolean = False
Public boughtnamechanger As Boolean = False
Public boughticonmanager As Boolean = False
Public boughtbitnotewallet As Boolean = False
Public boughtbitnotedigger As Boolean = False
Public boughtskinshifter As Boolean = False
Public boughtshiftnet As Boolean = False
Public boughtdownloader As Boolean = False
Public boughtshiftneticon As Boolean = False
Public boughtalshiftnet As Boolean = False
Public boughtdodge As Boolean = False
Public boughtdownloadmanager As Boolean = False
Public boughtinstaller As Boolean = False
Public boughtsnakey As Boolean = False
Public boughtsysinfoicon As Boolean = False
Public boughtorcwrite As Boolean = False
Public boughtfloodgate As Boolean = False
Public boughtmaze As Boolean = False
Public boughtunitymodetoggle As Boolean = False
Public boughtunitytoggleicon As Boolean = False
Public bitnotediggergrade As Integer = 0
Public boughtvirusscannericon As Boolean = False
Public virusscannergrade As Integer = 0
Public boughttextpadtrm As Boolean = False
Public boughtshiftapplauncheritems As Boolean = False
Public boughtadvapplauncher As Boolean = False
'Apps bought through shiftnet
Public installedcalculator As Boolean = False
Public installedaudioplayer As Boolean = False
Public installedwebbrowser As Boolean = False
Public installedvideoplayer As Boolean = False
Public installeddodge As Boolean = False
Public installedsnakey As Boolean = False
Public installedsysinfo As Boolean = False
Public installedorcwrite As Boolean = False
Public installedfloodgate As Boolean = False
Public installedfloodgatenow As Boolean = False
Public installedmaze As Boolean = False
Public installedvirusscanner As Boolean = False
'new 0.0.9 features
Public boughtskinstates As Boolean = False
Public boughtdesktopicons As Boolean = False
'Colour Picker Memories
Public anymemory(15) As Color
Public graymemory(15) As Color
Public purplememory(15) As Color
Public bluememory(15) As Color
Public greenmemory(15) As Color
Public yellowmemory(15) As Color
Public orangememory(15) As Color
Public brownmemory(15) As Color
Public redmemory(15) As Color
Public pinkmemory(15) As Color
'ShiftOS UI Settings
Public titlebarcolour As Color = Color.Gray
Public windowbordercolour As Color = Color.Gray
Public windowbordersize As Integer = 2
Public titlebarheight As Integer = 30
Public closebuttoncolour As Color = Color.Black
Public closebuttonheight As Integer = 22
Public closebuttonwidth As Integer = 22
Public closebuttonside As Integer = 5
Public closebuttontop As Integer = 4
Public titletextcolour As Color = Color.White
Public titletexttop As Integer = 7
Public titletextside As Integer = 4
Public titletextsize As Integer = 11
Public titletextfont As String = "Felix Titling"
Public titletextstyle As FontStyle = FontStyle.Bold
Public desktoppanelcolour As Color = Color.Gray
Public desktopbackgroundcolour As Color = Color.Black
Public desktoppanelheight As Integer = 24
Public desktoppanelposition As String = "Top"
Public clocktextcolour As Color = Color.Black
Public clockbackgroundcolor As Color = Color.Gray
Public panelclocktexttop As Integer = 0
Public panelclocktextsize As Integer = 14
Public panelclocktextfont As String = "Trebuchet MS"
Public panelclocktextstyle As FontStyle = FontStyle.Regular
Public applauncherbuttoncolour As Color = Color.Gray
Public applauncherbuttonclickedcolour = Color.Gray
Public applauncherbackgroundcolour As Color = Color.Gray
Public applaunchermouseovercolour As Color = Color.Gray
Public applicationsbuttontextcolour As Color = Color.Black
Public applicationbuttonheight As Integer = 24
Public applicationbuttontextsize As Integer = 10
Public applicationbuttontextfont As String = "Byington"
Public applicationbuttontextstyle As FontStyle = FontStyle.Bold
Public applicationlaunchername As String = "Applications"
Public titletextposition As String = "Left"
Public rollupbuttoncolour As Color = Color.Black
Public rollupbuttonheight As Integer = 22
Public rollupbuttonwidth As Integer = 22
Public rollupbuttonside As Integer = 32
Public rollupbuttontop As Integer = 4
'new 0.0.7
Public titlebariconside As Integer = 8
Public titlebaricontop As Integer = 8
Public showwindowcorners As Boolean = False
Public titlebarcornerwidth As Integer = 2
Public titlebarrightcornercolour As Color = Color.White
Public titlebarleftcornercolour As Color = Color.White
Public applaunchermenuholderwidth As Integer = 100
Public windowborderleftcolour As Color = Color.Gray
Public windowborderrightcolour As Color = Color.Gray
Public windowborderbottomcolour As Color = Color.Gray
Public windowborderbottomrightcolour As Color = Color.Gray
Public windowborderbottomleftcolour As Color = Color.Gray
Public fileopenerlastdirectory As String
Public panelbuttonicontop As Integer = 3
Public panelbuttoniconside As Integer = 4
'Public panelbuttoniconsize As Integer = 16 'duplicated
'Public panelbuttoniconsize As Integer = 16 'duplicated
Public panelbuttonheight As Integer = 22
Public panelbuttonwidth As Integer = 186
Public panelbuttoncolour As Color = Color.Black
Public panelbuttontextcolour As Color = Color.White
Public panelbuttontextsize As Integer = 10
Public panelbuttontextfont As String = "Microsoft Sans Serif"
Public panelbuttontextstyle As FontStyle = FontStyle.Bold
Public panelbuttontextside As Integer = 22
Public panelbuttontexttop As Integer = 2
Public panelbuttongap As Integer = 1
Public panelbuttonfromtop As Integer = 1
Public panelbuttoninitialgap As Integer = 5
Public minimizebuttoncolour As Color = Color.Black
Public minimizebuttonheight As Integer = 22
Public minimizebuttonwidth As Integer = 22
Public minimizebuttonside As Integer = 59
Public minimizebuttontop As Integer = 4
'ShiftOS Skin Settings
'finsih up checking for skin changes with states in the clock app before copying across to other apps
Public globaltransparencycolour As Color = Color.FromArgb(1, 0, 1)
'Public skinimages(100) As String
'Public skinclosebutton(2) As Image
'Public skinclosebuttonstyle As ImageLayout = ImageLayout.Stretch
'Public skintitlebar(2) As Image
'Public skintitlebarstyle As ImageLayout = ImageLayout.Stretch
'Public skindesktopbackground(2) As Image
'Public skindesktopbackgroundstyle As ImageLayout = ImageLayout.Stretch
'Public skinrollupbutton(2) As Image
'Public skinrollupbuttonstyle As ImageLayout = ImageLayout.Stretch
'Public skintitlebarrightcorner(2) As Image
'Public skintitlebarrightcornerstyle As ImageLayout = ImageLayout.Stretch
'Public skintitlebarleftcorner(2) As Image
'Public skintitlebarleftcornerstyle As ImageLayout = ImageLayout.Stretch
'Public skindesktoppanel(2) As Image
'Public skindesktoppanelstyle As ImageLayout = ImageLayout.Stretch
'Public skindesktoppaneltime(2) As Image
'Public skindesktoppaneltimestyle As ImageLayout = ImageLayout.Stretch
'Public skinapplauncherbutton(2) As Image
'Public skinapplauncherbuttonstyle As ImageLayout = ImageLayout.Stretch
'Public skinwindowborderleft(2) As Image
'Public skinwindowborderleftstyle As ImageLayout = ImageLayout.Stretch
'Public skinwindowborderright(2) As Image
'Public skinwindowborderrightstyle As ImageLayout = ImageLayout.Stretch
'Public skinwindowborderbottom(2) As Image
'Public skinwindowborderbottomstyle As ImageLayout = ImageLayout.Stretch
'Public skinwindowborderbottomright(2) As Image
'Public skinwindowborderbottomrightstyle As ImageLayout = ImageLayout.Stretch
'Public skinwindowborderbottomleft(2) As Image
'Public skinwindowborderbottomleftstyle As ImageLayout = ImageLayout.Stretch
'Public skinpanelbutton(2) As Image
'Public skinpanelbuttonstyle As ImageLayout = ImageLayout.Stretch
'Public skinminimizebutton(2) As Image
'Public skinminimizebuttonstyle As ImageLayout = ImageLayout.Stretch
'Program settings
Public artpadcolorpalletwidth As Integer = 105
Public artpadcolorpalletheight As Integer = 69
Public artpadcolorpalletsidegap As Integer = 4
Public artpadcolorpallettopgap As Integer = 4
Public artpadvisiblepallets As Integer = 2
Public artpadpixellimit As Integer = 2
Public artpadcolourpallets(128) As Color
Public webbrowserhomepage As String = "www.google.com"
Public iconmanagericondatalines(50) As String
Public bitnotebalance As Decimal = 0.0
Public bitnotebalanceappscape As Decimal = 0.0
Public bitnoteaddress As String = "1LgZUWQNYWZ7Qhc1hScZieC3GWnPLzaqSd"
Public bitnoteaddressappscape As String = "1JB97iocfdv6zVMeKxXAHdahbfdoYWNyUh"
Public bitnoteaddressshiftomizer As String = "Gu603g4348UhBJcnDEc3YIwph"
Public bitnotebalanceminimatch As Decimal = 0.0
Public downloadmanagerhistory As String
Public downloadspeedcap As Integer = 32
'Main ShiftOS settings
Public username As String = "user"
Public osname As String = "shiftos"
Public artpadname As String = "Artpad"
Public audioplayername As String = "Audio Player"
Public calculatorname As String = "Calculator"
Public clockname As String = "Clock"
Public colourpickername As String = "Colour Picker"
Public fileopenername As String = "File Opener"
Public filesavername As String = "File Saver"
Public fileskimmername As String = "File Skimmer"
Public graphicpickername As String = "Graphic Picker"
Public knowledgeinputname As String = "Knowledge Input"
Public pongname As String = "Pong"
Public shiftername As String = "Shifter"
Public shiftoriumname As String = "Shiftorium"
Public skinloadername As String = "Skin Loader"
Public terminalname As String = "Terminal"
Public textpadname As String = "TextPad"
Public videoplayername As String = "Video Player"
Public webbrowsername As String = "Web Browser"
Public namechangername As String = "Name Changer"
Public iconmanagername As String = "Icon Manager"
Public bitnotewalletname As String = "Bitnote Wallet"
Public bitnotediggername As String = "Bitnote Digger"
Public skinshiftername As String = "Skin Shifter"
Public shiftnetname As String = "Shiftnet"
Public downloadername As String = "Downloader"
Public dodgename As String = "Dodge"
Public downloadmanagername As String = "Download Manager"
Public installername As String = "Installer"
Public snakeyname As String = "Snakey"
Public sysinfoname As String = "System Information"
Public orcwritename As String = "OrcWrite"
Public floodgatename As String = "FloodGate Manager"
Public mazename As String = "Labyrinth"
Public virusscannername As String = "Virus Scanner"
'Icons
Public titlebariconsize As Integer = 16
Public panelbuttoniconsize As Integer = 16
Public launchericonsize As Integer = 16
Public artpadicontitlebar As Image = My.Resources.iconArtpad
Public audioplayericontitlebar As Image = My.Resources.iconAudioPlayer
Public calculatoricontitlebar As Image = My.Resources.iconCalculator
Public clockicontitlebar As Image = My.Resources.iconClock
Public colourpickericontitlebar As Image = My.Resources.iconColourPicker
Public fileopenericontitlebar As Image = My.Resources.iconFileOpener
Public filesavericontitlebar As Image = My.Resources.iconFileSaver
Public fileskimmericontitlebar As Image = My.Resources.iconFileSkimmer
Public graphicpickericontitlebar As Image = My.Resources.iconGraphicPicker
Public infoboxicontitlebar As Image = My.Resources.iconInfoBox
Public knowledgeinputicontitlebar As Image = My.Resources.iconKnowledgeInput
Public pongicontitlebar As Image = My.Resources.iconPong
Public shiftericontitlebar As Image = My.Resources.iconShifter
Public shiftoriumicontitlebar As Image = My.Resources.iconShiftorium
Public skinloadericontitlebar As Image = My.Resources.iconSkinLoader
Public terminalicontitlebar As Image = My.Resources.iconTerminal
Public textpadicontitlebar As Image = My.Resources.iconTextPad
Public videoplayericontitlebar As Image = My.Resources.iconVideoPlayer
Public webbrowsericontitlebar As Image = My.Resources.iconWebBrowser
Public namechangericontitlebar As Image = My.Resources.iconNameChanger
Public iconmanagericontitlebar As Image = My.Resources.iconIconManager
Public bitnotewalleticontitlebar As Image = My.Resources.iconBitnoteWallet
Public bitnotediggericontitlebar As Image = My.Resources.iconBitnoteDigger
Public skinshiftericontitlebar As Image = My.Resources.iconSkinShifter
Public shiftneticontitlebar As Image = My.Resources.iconShiftnet
Public downloadericontitlebar As Image = My.Resources.iconDownloader
Public dodgeicontitlebar As Image = My.Resources.iconDodge
Public downloadmanagericontitlebar As Image = My.Resources.icondownloadmanager
Public installericontitlebar As Image = My.Resources.iconinstaller
Public snakeyicontitlebar As Image = My.Resources.iconSnakey
Public sysinfoicontitlebar As Image = My.Resources.iconSysinfo
Public orcwriteicontitlebar As Image = My.Resources.iconorcwrite
Public floodgateicontitlebar As Image = My.Resources.iconfloodgate
Public mazeicontitlebar As Image = My.Resources.iconmaze
Public virusscannericontitlebar As Image = My.Resources.iconvirusscanner
Public artpadiconpanelbutton As Image = My.Resources.iconArtpad
Public audioplayericonpanelbutton As Image = My.Resources.iconAudioPlayer
Public calculatoriconpanelbutton As Image = My.Resources.iconCalculator
Public clockiconpanelbutton As Image = My.Resources.iconClock
Public colourpickericonpanelbutton As Image = My.Resources.iconColourPicker
Public fileopenericonpanelbutton As Image = My.Resources.iconFileOpener
Public filesavericonpanelbutton As Image = My.Resources.iconFileSaver
Public fileskimmericonpanelbutton As Image = My.Resources.iconFileSkimmer
Public graphicpickericonpanelbutton As Image = My.Resources.iconGraphicPicker
Public infoboxiconpanelbutton As Image = My.Resources.iconInfoBox
Public knowledgeinputiconpanelbutton As Image = My.Resources.iconKnowledgeInput
Public pongiconpanelbutton As Image = My.Resources.iconPong
Public shiftericonpanelbutton As Image = My.Resources.iconShifter
Public shiftoriumiconpanelbutton As Image = My.Resources.iconShiftorium
Public skinloadericonpanelbutton As Image = My.Resources.iconSkinLoader
Public terminaliconpanelbutton As Image = My.Resources.iconTerminal
Public textpadiconpanelbutton As Image = My.Resources.iconTextPad
Public videoplayericonpanelbutton As Image = My.Resources.iconVideoPlayer
Public webbrowsericonpanelbutton As Image = My.Resources.iconWebBrowser
Public namechangericonpanelbutton As Image = My.Resources.iconNameChanger
Public iconmanagericonpanelbutton As Image = My.Resources.iconIconManager
Public bitnotewalleticonpanelbutton As Image = My.Resources.iconBitnoteWallet
Public bitnotediggericonpanelbutton As Image = My.Resources.iconBitnoteDigger
Public skinshiftericonpanelbutton As Image = My.Resources.iconSkinShifter
Public shiftneticonpanelbutton As Image = My.Resources.iconShiftnet
Public downloadericonpanelbutton As Image = My.Resources.iconDownloader
Public dodgeiconpanelbutton As Image = My.Resources.iconDodge
Public downloadmanagericonpanelbutton As Image = My.Resources.icondownloadmanager
Public installericonpanelbutton As Image = My.Resources.iconinstaller
Public snakeyiconpanelbutton As Image = My.Resources.iconSnakey
Public sysinfoiconpanelbutton As Image = My.Resources.iconSysinfo
Public orcwriteiconpanelbutton As Image = My.Resources.iconorcwrite
Public floodgateiconpanelbutton As Image = My.Resources.iconfloodgate
Public mazeiconpanelbutton As Image = My.Resources.iconmaze
Public virusscannericonpanelbutton As Image = My.Resources.iconvirusscanner
Public artpadiconlauncher As Image = My.Resources.iconArtpad
Public audioplayericonlauncher As Image = My.Resources.iconAudioPlayer
Public calculatoriconlauncher As Image = My.Resources.iconCalculator
Public clockiconlauncher As Image = My.Resources.iconClock
Public colourpickericonlauncher As Image = My.Resources.iconColourPicker
Public fileopenericonlauncher As Image = My.Resources.iconFileOpener
Public filesavericonlauncher As Image = My.Resources.iconFileSaver
Public fileskimmericonlauncher As Image = My.Resources.iconFileSkimmer
Public graphicpickericonlauncher As Image = My.Resources.iconGraphicPicker
Public infoboxiconlauncher As Image = My.Resources.iconInfoBox
Public knowledgeinputiconlauncher As Image = My.Resources.iconKnowledgeInput
Public pongiconlauncher As Image = My.Resources.iconPong
Public shiftericonlauncher As Image = My.Resources.iconShifter
Public shiftoriumiconlauncher As Image = My.Resources.iconShiftorium
Public skinloadericonlauncher As Image = My.Resources.iconSkinLoader
Public terminaliconlauncher As Image = My.Resources.iconTerminal
Public textpadiconlauncher As Image = My.Resources.iconTextPad
Public videoplayericonlauncher As Image = My.Resources.iconVideoPlayer
Public webbrowsericonlauncher As Image = My.Resources.iconWebBrowser
Public namechangericonlauncher As Image = My.Resources.iconNameChanger
Public iconmanagericonlauncher As Image = My.Resources.iconIconManager
Public bitnotewalleticonlauncher As Image = My.Resources.iconBitnoteWallet
Public bitnotediggericonlauncher As Image = My.Resources.iconBitnoteDigger
Public skinshiftericonlauncher As Image = My.Resources.iconSkinShifter
Public shiftneticonlauncher As Image = My.Resources.iconShiftnet
Public downloadericonlauncher As Image = My.Resources.iconDownloader
Public dodgeiconlauncher As Image = My.Resources.iconDodge
Public downloadmanagericonlauncher As Image = My.Resources.icondownloadmanager
Public installericonlauncher As Image = My.Resources.iconinstaller
Public snakeyiconlauncher As Image = My.Resources.iconSnakey
Public sysinfoiconlauncher As Image = My.Resources.iconSysinfo
Public orcwriteiconlauncher As Image = My.Resources.iconorcwrite
Public floodgateiconlauncher As Image = My.Resources.iconfloodgate
Public mazeiconlauncher As Image = My.Resources.iconmaze
Public virusscannericonlauncher As Image = My.Resources.iconvirusscanner
Public shutdowniconlauncher As Image = My.Resources.iconshutdown
Public unitytoggleiconlauncher As Image = My.Resources.iconunitytoggle
'Required for encryption of save files
Private Declare Function GetKeyPress Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Integer) As Integer
Public Const sSecretKey As String = "Password"
'When adding a new program you need to do the following:
'Copy over Template and Template Code
'Make program upmost/alway on top
'Add the panelbutton
'Add Open and Close command in terminal as well as info and commands such as move to
'Add desktop launcher menu item
'Add buy from shiftorium and lanucher buy from shiftorium
'Add to all ShiftOSDesktop.vb things
Public Sub savegame()
If boughttitlebar = True Then savelines(0) = 11 Else savelines(0) = 10
If boughtgray = True Then savelines(1) = 11 Else savelines(1) = 10
If boughtsecondspastmidnight = True Then savelines(2) = 11 Else savelines(2) = 10
If boughtminutespastmidnight = True Then savelines(3) = 11 Else savelines(3) = 10
If boughthourspastmidnight = True Then savelines(4) = 11 Else savelines(4) = 10
If boughtcustomusername = True Then savelines(5) = 11 Else savelines(5) = 10
If boughtwindowsanywhere = True Then savelines(6) = 11 Else savelines(6) = 10
If boughtmultitasking = True Then savelines(7) = 11 Else savelines(7) = 10
If boughtautoscrollterminal = True Then savelines(8) = 11 Else savelines(8) = 10
savelines(9) = codepoints
If boughtmovablewindows = True Then savelines(10) = 11 Else savelines(10) = 10
If boughtdraggablewindows = True Then savelines(11) = 11 Else savelines(11) = 10
If boughtwindowborders = True Then savelines(12) = 11 Else savelines(12) = 10
If boughtpmandam = True Then savelines(13) = 11 Else savelines(13) = 10
If boughtminuteaccuracytime = True Then savelines(14) = 11 Else savelines(14) = 10
If boughtsplitsecondtime = True Then savelines(15) = 11 Else savelines(15) = 10
If boughttitletext = True Then savelines(16) = 11 Else savelines(16) = 10
If boughtclosebutton = True Then savelines(17) = 11 Else savelines(17) = 10
If boughtdesktoppanel = True Then savelines(18) = 11 Else savelines(18) = 10
If boughtclock = True Then savelines(19) = 11 Else savelines(19) = 10
If boughtwindowedterminal = True Then savelines(20) = 11 Else savelines(20) = 10
If boughtapplaunchermenu = True Then savelines(21) = 11 Else savelines(21) = 10
If boughtalknowledgeinput = True Then savelines(22) = 11 Else savelines(22) = 10
If boughtalclock = True Then savelines(23) = 11 Else savelines(23) = 10
If boughtalshiftorium = True Then savelines(24) = 11 Else savelines(24) = 10
If boughtapplaunchershutdown = True Then savelines(25) = 11 Else savelines(25) = 10
If boughtdesktoppanelclock = True Then savelines(26) = 11 Else savelines(26) = 10
If boughtterminalscrollbar = True Then savelines(27) = 11 Else savelines(27) = 10
If boughtkiaddons = True Then savelines(28) = 11 Else savelines(28) = 10
If boughtkicarbrands = True Then savelines(29) = 11 Else savelines(29) = 10
If boughtkigameconsoles = True Then savelines(30) = 11 Else savelines(30) = 10
savelines(31) = username
If terminalfullscreen = True Then savelines(32) = 11 Else savelines(32) = 10
If boughtshifter = True Then savelines(33) = 11 Else savelines(33) = 10
If boughtalshifter = True Then savelines(34) = 11 Else savelines(34) = 10
If boughtrollupcommand = True Then savelines(35) = 11 Else savelines(35) = 10
If boughtrollupbutton = True Then savelines(36) = 11 Else savelines(36) = 10
If boughtshiftdesktop = True Then savelines(37) = 11 Else savelines(37) = 10
If boughtshiftpanelclock = True Then savelines(38) = 11 Else savelines(38) = 10
If boughtshiftapplauncher = True Then savelines(39) = 11 Else savelines(39) = 10
If boughtshiftdesktoppanel = True Then savelines(40) = 11 Else savelines(40) = 10
If boughtshifttitlebar = True Then savelines(41) = 11 Else savelines(41) = 10
If boughtshifttitletext = True Then savelines(42) = 11 Else savelines(42) = 10
If boughtshifttitlebuttons = True Then savelines(43) = 11 Else savelines(43) = 10
If boughtshiftborders = True Then savelines(44) = 11 Else savelines(44) = 10
If boughtgray2 = True Then savelines(45) = 11 Else savelines(45) = 10
If boughtgray3 = True Then savelines(46) = 11 Else savelines(46) = 10
If boughtgray4 = True Then savelines(47) = 11 Else savelines(47) = 10
If boughtanycolour = True Then savelines(48) = 11 Else savelines(48) = 10
If boughtanycolour2 = True Then savelines(49) = 11 Else savelines(49) = 10
If boughtanycolour3 = True Then savelines(50) = 11 Else savelines(50) = 10
If boughtanycolour4 = True Then savelines(51) = 11 Else savelines(51) = 10
If boughtpurple = True Then savelines(52) = 11 Else savelines(52) = 10
If boughtpurple2 = True Then savelines(53) = 11 Else savelines(53) = 10
If boughtpurple3 = True Then savelines(54) = 11 Else savelines(54) = 10
If boughtpurple4 = True Then savelines(55) = 11 Else savelines(55) = 10
If boughtblue = True Then savelines(56) = 11 Else savelines(56) = 10
If boughtblue2 = True Then savelines(57) = 11 Else savelines(57) = 10
If boughtblue3 = True Then savelines(58) = 11 Else savelines(58) = 10
If boughtblue4 = True Then savelines(59) = 11 Else savelines(59) = 10
If boughtgreen = True Then savelines(60) = 11 Else savelines(60) = 10
If boughtgreen2 = True Then savelines(61) = 11 Else savelines(61) = 10
If boughtgreen3 = True Then savelines(62) = 11 Else savelines(62) = 10
If boughtgreen4 = True Then savelines(63) = 11 Else savelines(63) = 10
If boughtyellow = True Then savelines(64) = 11 Else savelines(64) = 10
If boughtyellow2 = True Then savelines(65) = 11 Else savelines(65) = 10
If boughtyellow3 = True Then savelines(66) = 11 Else savelines(66) = 10
If boughtyellow4 = True Then savelines(67) = 11 Else savelines(67) = 10
If boughtorange = True Then savelines(68) = 11 Else savelines(68) = 10
If boughtorange2 = True Then savelines(69) = 11 Else savelines(69) = 10
If boughtorange3 = True Then savelines(70) = 11 Else savelines(70) = 10
If boughtorange4 = True Then savelines(71) = 11 Else savelines(71) = 10
If boughtbrown = True Then savelines(72) = 11 Else savelines(72) = 10
If boughtbrown2 = True Then savelines(73) = 11 Else savelines(73) = 10
If boughtbrown3 = True Then savelines(74) = 11 Else savelines(74) = 10
If boughtbrown4 = True Then savelines(75) = 11 Else savelines(75) = 10
If boughtred = True Then savelines(76) = 11 Else savelines(76) = 10
If boughtred2 = True Then savelines(77) = 11 Else savelines(77) = 10
If boughtred3 = True Then savelines(78) = 11 Else savelines(78) = 10
If boughtred4 = True Then savelines(79) = 11 Else savelines(79) = 10
If boughtpink = True Then savelines(80) = 11 Else savelines(80) = 10
If boughtpink2 = True Then savelines(81) = 11 Else savelines(81) = 10
If boughtpink3 = True Then savelines(82) = 11 Else savelines(82) = 10
If boughtpink4 = True Then savelines(83) = 11 Else savelines(83) = 10
savelines(84) = anymemory(0).ToArgb
savelines(85) = anymemory(1).ToArgb
savelines(86) = anymemory(2).ToArgb
savelines(87) = anymemory(3).ToArgb
savelines(88) = anymemory(4).ToArgb
savelines(89) = anymemory(5).ToArgb
savelines(90) = anymemory(6).ToArgb
savelines(91) = anymemory(7).ToArgb
savelines(92) = anymemory(8).ToArgb
savelines(93) = anymemory(9).ToArgb
savelines(94) = anymemory(10).ToArgb
savelines(95) = anymemory(11).ToArgb
savelines(96) = anymemory(12).ToArgb
savelines(97) = anymemory(13).ToArgb
savelines(98) = anymemory(14).ToArgb
savelines(99) = anymemory(15).ToArgb
savelines(100) = graymemory(0).ToArgb
savelines(101) = graymemory(1).ToArgb
savelines(102) = graymemory(2).ToArgb
savelines(103) = graymemory(3).ToArgb
savelines(104) = graymemory(4).ToArgb
savelines(105) = graymemory(5).ToArgb
savelines(106) = graymemory(6).ToArgb
savelines(107) = graymemory(7).ToArgb
savelines(108) = graymemory(8).ToArgb
savelines(109) = graymemory(9).ToArgb
savelines(110) = graymemory(10).ToArgb
savelines(111) = graymemory(11).ToArgb
savelines(112) = graymemory(12).ToArgb
savelines(113) = graymemory(13).ToArgb
savelines(114) = graymemory(14).ToArgb
savelines(115) = graymemory(15).ToArgb
savelines(116) = purplememory(0).ToArgb
savelines(117) = purplememory(1).ToArgb
savelines(118) = purplememory(2).ToArgb
savelines(119) = purplememory(3).ToArgb
savelines(120) = purplememory(4).ToArgb
savelines(121) = purplememory(5).ToArgb
savelines(122) = purplememory(6).ToArgb
savelines(123) = purplememory(7).ToArgb
savelines(124) = purplememory(8).ToArgb
savelines(125) = purplememory(9).ToArgb
savelines(126) = purplememory(10).ToArgb
savelines(127) = purplememory(11).ToArgb
savelines(128) = purplememory(12).ToArgb
savelines(129) = purplememory(13).ToArgb
savelines(130) = purplememory(14).ToArgb
savelines(131) = purplememory(15).ToArgb
savelines(132) = bluememory(0).ToArgb
savelines(133) = bluememory(1).ToArgb
savelines(134) = bluememory(2).ToArgb
savelines(135) = bluememory(3).ToArgb
savelines(136) = bluememory(4).ToArgb
savelines(137) = bluememory(5).ToArgb
savelines(138) = bluememory(6).ToArgb
savelines(139) = bluememory(7).ToArgb
savelines(140) = bluememory(8).ToArgb
savelines(141) = bluememory(9).ToArgb
savelines(142) = bluememory(10).ToArgb
savelines(143) = bluememory(11).ToArgb
savelines(144) = bluememory(12).ToArgb
savelines(145) = bluememory(13).ToArgb
savelines(146) = bluememory(14).ToArgb
savelines(147) = bluememory(15).ToArgb
savelines(148) = greenmemory(0).ToArgb
savelines(149) = greenmemory(1).ToArgb
savelines(150) = greenmemory(2).ToArgb
savelines(151) = greenmemory(3).ToArgb
savelines(152) = greenmemory(4).ToArgb
savelines(153) = greenmemory(5).ToArgb
savelines(154) = greenmemory(6).ToArgb
savelines(155) = greenmemory(7).ToArgb
savelines(156) = greenmemory(8).ToArgb
savelines(157) = greenmemory(9).ToArgb
savelines(158) = greenmemory(10).ToArgb
savelines(159) = greenmemory(11).ToArgb
savelines(160) = greenmemory(12).ToArgb
savelines(161) = greenmemory(13).ToArgb
savelines(162) = greenmemory(14).ToArgb
savelines(163) = greenmemory(15).ToArgb
savelines(164) = yellowmemory(0).ToArgb
savelines(165) = yellowmemory(1).ToArgb
savelines(166) = yellowmemory(2).ToArgb
savelines(167) = yellowmemory(3).ToArgb
savelines(168) = yellowmemory(4).ToArgb
savelines(169) = yellowmemory(5).ToArgb
savelines(170) = yellowmemory(6).ToArgb
savelines(171) = yellowmemory(7).ToArgb
savelines(172) = yellowmemory(8).ToArgb
savelines(173) = yellowmemory(9).ToArgb
savelines(174) = yellowmemory(10).ToArgb
savelines(175) = yellowmemory(11).ToArgb
savelines(176) = yellowmemory(12).ToArgb
savelines(177) = yellowmemory(13).ToArgb
savelines(178) = yellowmemory(14).ToArgb
savelines(179) = yellowmemory(15).ToArgb
savelines(180) = orangememory(0).ToArgb
savelines(181) = orangememory(1).ToArgb
savelines(182) = orangememory(2).ToArgb
savelines(183) = orangememory(3).ToArgb
savelines(184) = orangememory(4).ToArgb
savelines(185) = orangememory(5).ToArgb
savelines(186) = orangememory(6).ToArgb
savelines(187) = orangememory(7).ToArgb
savelines(188) = orangememory(8).ToArgb
savelines(189) = orangememory(9).ToArgb
savelines(190) = orangememory(10).ToArgb
savelines(191) = orangememory(11).ToArgb
savelines(192) = orangememory(12).ToArgb
savelines(193) = orangememory(13).ToArgb
savelines(194) = orangememory(14).ToArgb
savelines(195) = orangememory(15).ToArgb
savelines(196) = brownmemory(0).ToArgb
savelines(197) = brownmemory(1).ToArgb
savelines(198) = brownmemory(2).ToArgb
savelines(199) = brownmemory(3).ToArgb
savelines(200) = brownmemory(4).ToArgb
savelines(201) = brownmemory(5).ToArgb
savelines(202) = brownmemory(6).ToArgb
savelines(203) = brownmemory(7).ToArgb
savelines(204) = brownmemory(8).ToArgb
savelines(205) = brownmemory(9).ToArgb
savelines(206) = brownmemory(10).ToArgb
savelines(207) = brownmemory(11).ToArgb
savelines(208) = brownmemory(12).ToArgb
savelines(209) = brownmemory(13).ToArgb
savelines(210) = brownmemory(14).ToArgb
savelines(211) = brownmemory(15).ToArgb
savelines(212) = redmemory(0).ToArgb
savelines(213) = redmemory(1).ToArgb
savelines(214) = redmemory(2).ToArgb
savelines(215) = redmemory(3).ToArgb
savelines(216) = redmemory(4).ToArgb
savelines(217) = redmemory(5).ToArgb
savelines(218) = redmemory(6).ToArgb
savelines(219) = redmemory(7).ToArgb
savelines(220) = redmemory(8).ToArgb
savelines(221) = redmemory(9).ToArgb
savelines(222) = redmemory(10).ToArgb
savelines(223) = redmemory(11).ToArgb
savelines(224) = redmemory(12).ToArgb
savelines(225) = redmemory(13).ToArgb
savelines(226) = redmemory(14).ToArgb
savelines(227) = redmemory(15).ToArgb
savelines(228) = pinkmemory(0).ToArgb
savelines(229) = pinkmemory(1).ToArgb
savelines(230) = pinkmemory(2).ToArgb
savelines(231) = pinkmemory(3).ToArgb
savelines(232) = pinkmemory(4).ToArgb
savelines(233) = pinkmemory(5).ToArgb
savelines(234) = pinkmemory(6).ToArgb
savelines(235) = pinkmemory(7).ToArgb
savelines(236) = pinkmemory(8).ToArgb
savelines(237) = pinkmemory(9).ToArgb
savelines(238) = pinkmemory(10).ToArgb
savelines(239) = pinkmemory(11).ToArgb
savelines(240) = pinkmemory(12).ToArgb
savelines(241) = pinkmemory(13).ToArgb
savelines(242) = pinkmemory(14).ToArgb
savelines(243) = pinkmemory(15).ToArgb
savelines(244) = titlebarcolour.ToArgb
savelines(245) = windowbordercolour.ToArgb
savelines(246) = windowbordersize
savelines(247) = titlebarheight
savelines(248) = closebuttoncolour.ToArgb
savelines(249) = closebuttonheight
savelines(250) = closebuttonwidth
savelines(251) = closebuttonside
savelines(252) = closebuttontop
savelines(253) = titletextcolour.ToArgb
savelines(254) = titletexttop
savelines(255) = titletextside
savelines(256) = titletextsize
savelines(257) = titletextfont
savelines(258) = titletextstyle
savelines(259) = desktoppanelcolour.ToArgb
savelines(260) = desktopbackgroundcolour.ToArgb
savelines(261) = desktoppanelheight
savelines(262) = desktoppanelposition
savelines(263) = clocktextcolour.ToArgb
savelines(264) = clockbackgroundcolor.ToArgb
savelines(265) = panelclocktexttop
savelines(266) = panelclocktextsize
savelines(267) = panelclocktextfont
savelines(268) = panelclocktextstyle
savelines(269) = applauncherbuttoncolour.ToArgb
savelines(270) = applauncherbuttonclickedcolour.ToArgb
savelines(271) = applauncherbackgroundcolour.ToArgb
savelines(272) = applaunchermouseovercolour.ToArgb
savelines(273) = applicationsbuttontextcolour.ToArgb
savelines(274) = applicationbuttonheight
savelines(275) = applicationbuttontextsize
savelines(276) = applicationbuttontextfont
savelines(277) = applicationbuttontextstyle
savelines(278) = applicationlaunchername
savelines(279) = titletextposition
savelines(280) = rollupbuttoncolour.ToArgb
savelines(281) = rollupbuttonheight
savelines(282) = rollupbuttonwidth
savelines(283) = rollupbuttonside
savelines(284) = rollupbuttontop
If boughtpong = True Then savelines(285) = 11 Else savelines(285) = 10
If boughtknowledgeinputicon = True Then savelines(286) = 11 Else savelines(286) = 10
If boughtshiftericon = True Then savelines(287) = 11 Else savelines(287) = 10
If boughtshiftoriumicon = True Then savelines(288) = 11 Else savelines(288) = 10
If boughtclockicon = True Then savelines(289) = 11 Else savelines(289) = 10
If boughtshutdownicon = True Then savelines(290) = 11 Else savelines(290) = 10
If boughtpongicon = True Then savelines(291) = 11 Else savelines(291) = 10
If boughtterminalicon = True Then savelines(292) = 11 Else savelines(292) = 10
If boughtalpong = True Then savelines(293) = 11 Else savelines(293) = 10
If boughtfileskimmer = True Then savelines(294) = 11 Else savelines(294) = 10
If boughtalfileskimmer = True Then savelines(295) = 11 Else savelines(295) = 10
If boughttextpad = True Then savelines(296) = 11 Else savelines(296) = 10
If boughtaltextpad = True Then savelines(297) = 11 Else savelines(297) = 10
If boughtfileskimmericon = True Then savelines(298) = 11 Else savelines(298) = 10
If boughttextpadicon = True Then savelines(299) = 11 Else savelines(299) = 10
If boughttextpadnew = True Then savelines(300) = 11 Else savelines(300) = 10
If boughttextpadsave = True Then savelines(301) = 11 Else savelines(301) = 10
If boughttextpadopen = True Then savelines(302) = 11 Else savelines(302) = 10
If boughtfileskimmernewfolder = True Then savelines(303) = 11 Else savelines(303) = 10
If boughtfileskimmerdelete = True Then savelines(304) = 11 Else savelines(304) = 10
If boughtkielements = True Then savelines(305) = 11 Else savelines(305) = 10
If boughtcolourpickericon = True Then savelines(306) = 11 Else savelines(306) = 10
If boughtinfoboxicon = True Then savelines(307) = 11 Else savelines(307) = 10
savelines(308) = artpadcolorpalletwidth
savelines(309) = artpadcolorpalletheight
savelines(310) = artpadcolorpalletsidegap
savelines(311) = artpadcolorpallettopgap
savelines(312) = artpadvisiblepallets
savelines(313) = artpadpixellimit
If boughtskinloader = True Then savelines(314) = 11 Else savelines(314) = 10
If boughtminimizebutton = True Then savelines(315) = 11 Else savelines(315) = 10
If boughtpanelbuttons = True Then savelines(316) = 11 Else savelines(316) = 10
If boughtshiftpanelbuttons = True Then savelines(317) = 11 Else savelines(317) = 10
If boughtartpad = True Then savelines(318) = 11 Else savelines(318) = 10
If boughtalartpad = True Then savelines(319) = 11 Else savelines(319) = 10
If boughtartpadicon = True Then savelines(320) = 11 Else savelines(320) = 10
If boughtskinning = True Then savelines(321) = 11 Else savelines(321) = 10
If boughtminimizecommand = True Then savelines(322) = 11 Else savelines(322) = 10
If boughtusefulpanelbuttons = True Then savelines(323) = 11 Else savelines(323) = 10
If boughtunitymode = True Then savelines(324) = 11 Else savelines(324) = 10
If boughtartpadpixellimit4 = True Then savelines(325) = 11 Else savelines(325) = 10
If boughtartpadpixellimit8 = True Then savelines(326) = 11 Else savelines(326) = 10
If boughtartpadpixellimit16 = True Then savelines(327) = 11 Else savelines(327) = 10
If boughtartpadpixellimit64 = True Then savelines(328) = 11 Else savelines(328) = 10
If boughtartpadpixellimit256 = True Then savelines(329) = 11 Else savelines(329) = 10
If boughtartpadpixellimit1024 = True Then savelines(330) = 11 Else savelines(330) = 10
If boughtartpadpixellimit4096 = True Then savelines(331) = 11 Else savelines(331) = 10
If boughtartpadpixellimit16384 = True Then savelines(332) = 11 Else savelines(332) = 10
If boughtartpadpixellimit65536 = True Then savelines(333) = 11 Else savelines(333) = 10
If boughtartpadlimitlesspixels = True Then savelines(334) = 11 Else savelines(334) = 10
If boughtartpad4colorpallets = True Then savelines(335) = 11 Else savelines(335) = 10
If boughtartpad8colorpallets = True Then savelines(336) = 11 Else savelines(336) = 10
If boughtartpad16colorpallets = True Then savelines(337) = 11 Else savelines(337) = 10
If boughtartpad32colorpallets = True Then savelines(338) = 11 Else savelines(338) = 10
If boughtartpad64colorpallets = True Then savelines(339) = 11 Else savelines(339) = 10
If boughtartpad128colorpallets = True Then savelines(340) = 11 Else savelines(340) = 10
If boughtartpadcustompallets = True Then savelines(341) = 11 Else savelines(341) = 10
If boughtartpadpixelplacer = True Then savelines(342) = 11 Else savelines(342) = 10
If boughtartpadpixelplacermovementmode = True Then savelines(343) = 11 Else savelines(343) = 10
If boughtartpadpencil = True Then savelines(344) = 11 Else savelines(344) = 10
If boughtartpadpaintbrush = True Then savelines(345) = 11 Else savelines(345) = 10
If boughtartpadlinetool = True Then savelines(346) = 11 Else savelines(346) = 10
If boughtartpadovaltool = True Then savelines(347) = 11 Else savelines(347) = 10
If boughtartpadrectangletool = True Then savelines(348) = 11 Else savelines(348) = 10
If boughtartpaderaser = True Then savelines(349) = 11 Else savelines(349) = 10
If boughtartpadfilltool = True Then savelines(350) = 11 Else savelines(350) = 10
If boughtartpadtexttool = True Then savelines(351) = 11 Else savelines(351) = 10
If boughtartpadundo = True Then savelines(352) = 11 Else savelines(352) = 10
If boughtartpadredo = True Then savelines(353) = 11 Else savelines(353) = 10
If boughtartpadsave = True Then savelines(354) = 11 Else savelines(354) = 10
If boughtartpadload = True Then savelines(355) = 11 Else savelines(355) = 10
For i = 0 To 127 : savelines(356 + i) = artpadcolourpallets(i).ToArgb : Next
If boughtartpadnew = True Then savelines(484) = 11 Else savelines(484) = 10
'0.0.8
savelines(485) = ingameversion
If boughtresizablewindows Then savelines(486) = 11 Else savelines(486) = 10
If boughtcalculator Then savelines(487) = 11 Else savelines(487) = 10
If boughtaudioplayer Then savelines(488) = 11 Else savelines(488) = 10
If boughtchangeosnamecommand Then savelines(489) = 11 Else savelines(489) = 10
If boughtwebbrowser Then savelines(490) = 11 Else savelines(490) = 10
If boughtvideoplayer Then savelines(491) = 11 Else savelines(491) = 10
If boughtnamechanger Then savelines(492) = 11 Else savelines(492) = 10
If boughticonmanager Then savelines(493) = 11 Else savelines(493) = 10
If boughtbitnotewallet Then savelines(494) = 11 Else savelines(494) = 10
If boughtbitnotedigger Then savelines(495) = 11 Else savelines(495) = 10
If boughtskinshifter Then savelines(496) = 11 Else savelines(496) = 10
If boughtshiftnet Then savelines(497) = 11 Else savelines(497) = 10
If boughtshiftneticon Then savelines(498) = 11 Else savelines(498) = 10
If boughtalshiftnet Then savelines(499) = 11 Else savelines(499) = 10
If boughtdodge Then savelines(500) = 11 Else savelines(500) = 10
If boughtdownloadmanager Then savelines(501) = 11 Else savelines(501) = 10
If boughtinstaller Then savelines(502) = 11 Else savelines(502) = 10
If boughtsysinfoicon Then savelines(503) = 11 Else savelines(503) = 10
If boughtorcwrite Then savelines(504) = 11 Else savelines(504) = 10
If boughtfloodgate Then savelines(505) = 11 Else savelines(505) = 10
If boughtmaze Then savelines(506) = 11 Else savelines(506) = 10
If boughtunitymodetoggle Then savelines(507) = 11 Else savelines(507) = 10
If boughtunitytoggleicon Then savelines(508) = 11 Else savelines(508) = 10
savelines(509) = bitnotediggergrade
If boughtvirusscannericon Then savelines(510) = 11 Else savelines(510) = 10
savelines(511) = virusscannergrade
If boughttextpadtrm Then savelines(512) = 11 Else savelines(512) = 10
If boughtshiftapplauncheritems Then savelines(513) = 11 Else savelines(513) = 10
If installedcalculator Then savelines(514) = 11 Else savelines(514) = 10
If installedaudioplayer Then savelines(515) = 11 Else savelines(515) = 10
If installedwebbrowser Then savelines(516) = 11 Else savelines(516) = 10
If installedvideoplayer Then savelines(517) = 11 Else savelines(517) = 10
If installeddodge Then savelines(518) = 11 Else savelines(518) = 10
If installedsysinfo Then savelines(519) = 11 Else savelines(519) = 10
If installedorcwrite Then savelines(520) = 11 Else savelines(520) = 10
If installedfloodgate Then savelines(521) = 11 Else savelines(521) = 10
If installedfloodgatenow Then savelines(522) = 11 Else savelines(522) = 10
If installedmaze Then savelines(523) = 11 Else savelines(523) = 10
If installedvirusscanner Then savelines(524) = 11 Else savelines(524) = 10
savelines(525) = webbrowserhomepage
savelines(526) = bitnotebalance
savelines(527) = bitnotebalanceappscape
savelines(528) = bitnotebalanceminimatch
savelines(529) = "" ' download manager history - removed because could be muli-line
savelines(530) = downloadspeedcap
savelines(531) = osname
savelines(532) = artpadname
savelines(533) = audioplayername
savelines(534) = calculatorname
savelines(535) = clockname
savelines(536) = colourpickername
savelines(537) = fileopenername
savelines(538) = filesavername
savelines(539) = fileskimmername
savelines(540) = graphicpickername
savelines(541) = knowledgeinputname
savelines(542) = pongname
savelines(543) = shiftername
savelines(544) = shiftoriumname
savelines(545) = skinloadername
savelines(546) = terminalname
savelines(547) = textpadname
savelines(548) = videoplayername
savelines(549) = webbrowsername
savelines(550) = namechangername
savelines(551) = iconmanagername
savelines(552) = bitnotewalletname
savelines(553) = bitnotediggername
savelines(554) = skinshiftername
savelines(555) = shiftnetname
savelines(556) = dodgename
savelines(557) = downloadmanagername
savelines(558) = installername
savelines(559) = snakeyname
savelines(560) = sysinfoname
savelines(561) = orcwritename
savelines(562) = floodgatename
savelines(563) = mazename
savelines(564) = virusscannername
savelines(565) = titlebariconsize
savelines(566) = panelbuttoniconsize
savelines(567) = launchericonsize
If Viruses.zerogravity Then savelines(568) = 11 Else savelines(568) = 10
If Viruses.mousetrap Then savelines(569) = 11 Else savelines(569) = 10
If Viruses.beeper Then savelines(570) = 11 Else savelines(570) = 10
If Viruses.ThePlague Then savelines(571) = 11 Else savelines(571) = 10
savelines(572) = Viruses.zerogravitythreatlevel
savelines(573) = Viruses.mousetrapthreatlevel
savelines(574) = Viruses.beeperthreatlevel
savelines(575) = Viruses.theplaguethreatlevel
'ThePlague corruptions under here, for all your corrupted files ;)
SortOutBooleans(FileSkimmerCorrupted, 580, False)
SortOutBooleans(ArtpadCorrupted, 581, False)
SortOutBooleans(AudioPlayerCorrupted, 582, False)
SortOutBooleans(BitNoteDiggerCorrupted, 583, False)
SortOutBooleans(BitNoteWalletCorrupted, 584, False)
SortOutBooleans(CalculatorCorrupted, 585, False)
SortOutBooleans(ClockCorrupted, 586, False)
SortOutBooleans(CoherenceModeCorrupted, 587, False)
SortOutBooleans(ColourPickerCorrupted, 588, False)
SortOutBooleans(DodgeCorrupted, 589, False)
SortOutBooleans(DownloadManagerCorrupted, 590, False)
SortOutBooleans(FloodGateManagerCorrupted, 591, False)
SortOutBooleans(GraphicPickerCorrupted, 592, False)
SortOutBooleans(IconManagerCorrupted, 593, False)
SortOutBooleans(InstallerCorrupted, 594, False)
SortOutBooleans(KnowledgeInputCorrupted, 595, False)
SortOutBooleans(LabyrinthCorrupted, 596, False)
SortOutBooleans(NameChangerCorrupted, 597, False)
SortOutBooleans(OrcWriteCorrupted, 598, False)
SortOutBooleans(PongCorrupted, 599, False)
SortOutBooleans(ShifterCorrupted, 600, False)
SortOutBooleans(ShifterCorrupted, 601, False)
SortOutBooleans(ShiftNetCorrupted, 602, False)
SortOutBooleans(ShiftoriumCorrupted, 603, False)
SortOutBooleans(SkinLoaderCorrupted, 604, False)
SortOutBooleans(SkinShifterCorrupted, 605, False)
SortOutBooleans(SnakeyCorrupted, 606, False)
SortOutBooleans(SystemInfoCorrupted, 607, False)
SortOutBooleans(TerminalCorrupted, 608, False)
SortOutBooleans(TextpadCorrupted, 609, False)
SortOutBooleans(VideoPlayerCorrupted, 610, False)
SortOutBooleans(VirusScannerCorrupted, 612, False)
SortOutBooleans(WebBrowserCorrupted, 613, False)
If boughtdesktopicons = True Then savelines(614) = 11 Else savelines(614) = 10
If boughtadvapplauncher = True Then savelines(615) = 11 Else savelines(615) = 10
IO.File.WriteAllLines(Paths.savedata & "Drivers\HDD.dri", savelines)
File_Crypt.EncryptFile(Paths.savedata & "Drivers\HDD.dri", Paths.savedata & "SKernal.sft", sSecretKey)
Try
Dim sw As New IO.StreamWriter(Paths.dnldata & "Downloadhistory.lst")
sw.Write(downloadmanagerhistory)
sw.Close()
Catch ex As Exception
End Try
Dim objWriter As New System.IO.StreamWriter(Paths.savedata & "HDAccess.sft", False)
objWriter.Write(actualshiftversion)
objWriter.Close()
End Sub
#End Region
#Region "Code"
Private Sub SortOutBooleans(ByRef NameOfBoolean As Boolean, ByVal NumberOfSaveLine As Integer, ByVal TrueForSaveFalseForLoad As Boolean)
If TrueForSaveFalseForLoad = False Then
If NameOfBoolean = True Then savelines(NumberOfSaveLine) = 1 Else savelines(NumberOfSaveLine) = 0
Else
Dim TempNumber As String = loadlines(NumberOfSaveLine)
If TempNumber = "1" Then NameOfBoolean = True Else NameOfBoolean = False
End If
End Sub
Private Sub loadgame()
File_Crypt.DecryptFile(Paths.savedata & "SKernal.sft", Paths.savedata & "Drivers\HDD.dri", sSecretKey)
loadlines = IO.File.ReadAllLines(Paths.savedata & "Drivers\HDD.dri")
If loadlines(0) = 11 Then boughttitlebar = True Else boughttitlebar = False
If loadlines(1) = 11 Then boughtgray = True Else boughtgray = False
If loadlines(2) = 11 Then boughtsecondspastmidnight = True Else boughtsecondspastmidnight = False
If loadlines(3) = 11 Then boughtminutespastmidnight = True Else boughtminutespastmidnight = False
If loadlines(4) = 11 Then boughthourspastmidnight = True Else boughthourspastmidnight = False
If loadlines(5) = 11 Then boughtcustomusername = True Else boughtcustomusername = False
If loadlines(6) = 11 Then boughtwindowsanywhere = True Else boughtwindowsanywhere = False
If loadlines(7) = 11 Then boughtmultitasking = True Else boughtmultitasking = False
If loadlines(8) = 11 Then boughtautoscrollterminal = True Else boughtautoscrollterminal = False
codepoints = loadlines(9)
If loadlines(10) = 11 Then boughtmovablewindows = True Else boughtmovablewindows = False
If loadlines(11) = 11 Then boughtdraggablewindows = True Else boughtdraggablewindows = False
If loadlines(12) = 11 Then boughtwindowborders = True Else boughtwindowborders = False
If loadlines(13) = 11 Then boughtpmandam = True Else boughtpmandam = False
If loadlines(14) = 11 Then boughtminuteaccuracytime = True Else boughtminuteaccuracytime = False
If loadlines(15) = 11 Then boughtsplitsecondtime = True Else boughtsplitsecondtime = False
If loadlines(16) = 11 Then boughttitletext = True Else boughttitletext = False
If loadlines(17) = 11 Then boughtclosebutton = True Else boughtclosebutton = False
If loadlines(18) = 11 Then boughtdesktoppanel = True Else boughtdesktoppanel = False
If loadlines(19) = 11 Then boughtclock = True Else boughtclock = False
If loadlines(20) = 11 Then boughtwindowedterminal = True Else boughtwindowedterminal = False
If loadlines(21) = 11 Then boughtapplaunchermenu = True Else boughtapplaunchermenu = False
If loadlines(22) = 11 Then boughtalknowledgeinput = True Else boughtalknowledgeinput = False
If loadlines(23) = 11 Then boughtalclock = True Else boughtalclock = False
If loadlines(24) = 11 Then boughtalshiftorium = True Else boughtalshiftorium = False
If loadlines(25) = 11 Then boughtapplaunchershutdown = True Else boughtapplaunchershutdown = False
If loadlines(26) = 11 Then boughtdesktoppanelclock = True Else boughtdesktoppanelclock = False
If loadlines(27) = 11 Then boughtterminalscrollbar = True Else boughtterminalscrollbar = False
If loadlines(28) = 11 Then boughtkiaddons = True Else boughtkiaddons = False
If loadlines(29) = 11 Then boughtkicarbrands = True Else boughtkicarbrands = False
If loadlines(30) = 11 Then boughtkigameconsoles = True Else boughtkigameconsoles = False
username = loadlines(31)
If loadlines(32) = 11 Then terminalfullscreen = True Else terminalfullscreen = False
If loadlines(33) = 11 Then boughtshifter = True Else boughtshifter = False
If loadlines(34) = 11 Then boughtalshifter = True Else boughtalshifter = False
If loadlines(35) = 11 Then boughtrollupcommand = True Else boughtrollupcommand = False
If loadlines(36) = 11 Then boughtrollupbutton = True Else boughtrollupbutton = False
If loadlines(37) = 11 Then boughtshiftdesktop = True Else boughtshiftdesktop = False
If loadlines(38) = 11 Then boughtshiftpanelclock = True Else boughtshiftpanelclock = False
If loadlines(39) = 11 Then boughtshiftapplauncher = True Else boughtshiftapplauncher = False
If loadlines(40) = 11 Then boughtshiftdesktoppanel = True Else boughtshiftdesktoppanel = False
If loadlines(41) = 11 Then boughtshifttitlebar = True Else boughtshifttitlebar = False
If loadlines(42) = 11 Then boughtshifttitletext = True Else boughtshifttitletext = False
If loadlines(43) = 11 Then boughtshifttitlebuttons = True Else boughtshifttitlebuttons = False
If loadlines(44) = 11 Then boughtshiftborders = True Else boughtshiftborders = False
If loadlines(45) = 11 Then boughtgray2 = True Else boughtgray2 = False
If loadlines(46) = 11 Then boughtgray3 = True Else boughtgray3 = False
If loadlines(47) = 11 Then boughtgray4 = True Else boughtgray4 = False
If loadlines(48) = 11 Then boughtanycolour = True Else boughtanycolour = False
If loadlines(49) = 11 Then boughtanycolour2 = True Else boughtanycolour2 = False
If loadlines(50) = 11 Then boughtanycolour3 = True Else boughtanycolour3 = False
If loadlines(51) = 11 Then boughtanycolour4 = True Else boughtanycolour4 = False
If loadlines(52) = 11 Then boughtpurple = True Else boughtpurple = False
If loadlines(53) = 11 Then boughtpurple2 = True Else boughtpurple2 = False
If loadlines(54) = 11 Then boughtpurple3 = True Else boughtpurple3 = False
If loadlines(55) = 11 Then boughtpurple4 = True Else boughtpurple4 = False
If loadlines(56) = 11 Then boughtblue = True Else boughtblue = False
If loadlines(57) = 11 Then boughtblue2 = True Else boughtblue2 = False
If loadlines(58) = 11 Then boughtblue3 = True Else boughtblue3 = False
If loadlines(59) = 11 Then boughtblue4 = True Else boughtblue4 = False
If loadlines(60) = 11 Then boughtgreen = True Else boughtgreen = False
If loadlines(61) = 11 Then boughtgreen2 = True Else boughtgreen2 = False
If loadlines(62) = 11 Then boughtgreen3 = True Else boughtgreen3 = False
If loadlines(63) = 11 Then boughtgreen4 = True Else boughtgreen4 = False
If loadlines(64) = 11 Then boughtyellow = True Else boughtyellow = False
If loadlines(65) = 11 Then boughtyellow2 = True Else boughtyellow2 = False
If loadlines(66) = 11 Then boughtyellow3 = True Else boughtyellow3 = False
If loadlines(67) = 11 Then boughtyellow4 = True Else boughtyellow4 = False
If loadlines(68) = 11 Then boughtorange = True Else boughtorange = False
If loadlines(69) = 11 Then boughtorange2 = True Else boughtorange2 = False
If loadlines(70) = 11 Then boughtorange3 = True Else boughtorange3 = False
If loadlines(71) = 11 Then boughtorange4 = True Else boughtorange4 = False
If loadlines(72) = 11 Then boughtbrown = True Else boughtbrown = False
If loadlines(73) = 11 Then boughtbrown2 = True Else boughtbrown2 = False
If loadlines(74) = 11 Then boughtbrown3 = True Else boughtbrown3 = False
If loadlines(75) = 11 Then boughtbrown4 = True Else boughtbrown4 = False
If loadlines(76) = 11 Then boughtred = True Else boughtred = False
If loadlines(77) = 11 Then boughtred2 = True Else boughtred2 = False
If loadlines(78) = 11 Then boughtred3 = True Else boughtred3 = False
If loadlines(79) = 11 Then boughtred4 = True Else boughtred4 = False
If loadlines(80) = 11 Then boughtpink = True Else boughtpink = False
If loadlines(81) = 11 Then boughtpink2 = True Else boughtpink2 = False
If loadlines(82) = 11 Then boughtpink3 = True Else boughtpink3 = False
If loadlines(83) = 11 Then boughtpink4 = True Else boughtpink4 = False
anymemory(0) = Color.FromArgb(loadlines(84))
anymemory(1) = Color.FromArgb(loadlines(85))
anymemory(2) = Color.FromArgb(loadlines(86))
anymemory(3) = Color.FromArgb(loadlines(87))
anymemory(4) = Color.FromArgb(loadlines(88))
anymemory(5) = Color.FromArgb(loadlines(89))
anymemory(6) = Color.FromArgb(loadlines(90))
anymemory(7) = Color.FromArgb(loadlines(91))
anymemory(8) = Color.FromArgb(loadlines(92))
anymemory(9) = Color.FromArgb(loadlines(93))
anymemory(10) = Color.FromArgb(loadlines(94))
anymemory(11) = Color.FromArgb(loadlines(95))
anymemory(12) = Color.FromArgb(loadlines(96))
anymemory(13) = Color.FromArgb(loadlines(97))
anymemory(14) = Color.FromArgb(loadlines(98))
anymemory(15) = Color.FromArgb(loadlines(99))
graymemory(0) = Color.FromArgb(loadlines(100))
graymemory(1) = Color.FromArgb(loadlines(101))
graymemory(2) = Color.FromArgb(loadlines(102))
graymemory(3) = Color.FromArgb(loadlines(103))
graymemory(4) = Color.FromArgb(loadlines(104))
graymemory(5) = Color.FromArgb(loadlines(105))
graymemory(6) = Color.FromArgb(loadlines(106))
graymemory(7) = Color.FromArgb(loadlines(107))
graymemory(8) = Color.FromArgb(loadlines(108))
graymemory(9) = Color.FromArgb(loadlines(109))
graymemory(10) = Color.FromArgb(loadlines(110))
graymemory(11) = Color.FromArgb(loadlines(111))
graymemory(12) = Color.FromArgb(loadlines(112))
graymemory(13) = Color.FromArgb(loadlines(113))
graymemory(14) = Color.FromArgb(loadlines(114))
graymemory(15) = Color.FromArgb(loadlines(115))
purplememory(0) = Color.FromArgb(loadlines(116))
purplememory(1) = Color.FromArgb(loadlines(117))
purplememory(2) = Color.FromArgb(loadlines(118))
purplememory(3) = Color.FromArgb(loadlines(119))
purplememory(4) = Color.FromArgb(loadlines(120))
purplememory(5) = Color.FromArgb(loadlines(121))
purplememory(6) = Color.FromArgb(loadlines(122))
purplememory(7) = Color.FromArgb(loadlines(123))
purplememory(8) = Color.FromArgb(loadlines(124))
purplememory(9) = Color.FromArgb(loadlines(125))
purplememory(10) = Color.FromArgb(loadlines(126))
purplememory(11) = Color.FromArgb(loadlines(127))
purplememory(12) = Color.FromArgb(loadlines(128))
purplememory(13) = Color.FromArgb(loadlines(129))
purplememory(14) = Color.FromArgb(loadlines(130))
purplememory(15) = Color.FromArgb(loadlines(131))
bluememory(0) = Color.FromArgb(loadlines(132))
bluememory(1) = Color.FromArgb(loadlines(133))
bluememory(2) = Color.FromArgb(loadlines(134))
bluememory(3) = Color.FromArgb(loadlines(135))
bluememory(4) = Color.FromArgb(loadlines(136))
bluememory(5) = Color.FromArgb(loadlines(137))
bluememory(6) = Color.FromArgb(loadlines(138))
bluememory(7) = Color.FromArgb(loadlines(139))
bluememory(8) = Color.FromArgb(loadlines(140))
bluememory(9) = Color.FromArgb(loadlines(141))
bluememory(10) = Color.FromArgb(loadlines(142))
bluememory(11) = Color.FromArgb(loadlines(143))
bluememory(12) = Color.FromArgb(loadlines(144))
bluememory(13) = Color.FromArgb(loadlines(145))
bluememory(14) = Color.FromArgb(loadlines(146))
bluememory(15) = Color.FromArgb(loadlines(147))
greenmemory(0) = Color.FromArgb(loadlines(148))
greenmemory(1) = Color.FromArgb(loadlines(149))
greenmemory(2) = Color.FromArgb(loadlines(150))
greenmemory(3) = Color.FromArgb(loadlines(151))
greenmemory(4) = Color.FromArgb(loadlines(152))
greenmemory(5) = Color.FromArgb(loadlines(153))
greenmemory(6) = Color.FromArgb(loadlines(154))
greenmemory(7) = Color.FromArgb(loadlines(155))
greenmemory(8) = Color.FromArgb(loadlines(156))
greenmemory(9) = Color.FromArgb(loadlines(157))
greenmemory(10) = Color.FromArgb(loadlines(158))
greenmemory(11) = Color.FromArgb(loadlines(159))
greenmemory(12) = Color.FromArgb(loadlines(160))
greenmemory(13) = Color.FromArgb(loadlines(161))
greenmemory(14) = Color.FromArgb(loadlines(162))
greenmemory(15) = Color.FromArgb(loadlines(163))
yellowmemory(0) = Color.FromArgb(loadlines(164))
yellowmemory(1) = Color.FromArgb(loadlines(165))
yellowmemory(2) = Color.FromArgb(loadlines(166))
yellowmemory(3) = Color.FromArgb(loadlines(167))
yellowmemory(4) = Color.FromArgb(loadlines(168))
yellowmemory(5) = Color.FromArgb(loadlines(169))
yellowmemory(6) = Color.FromArgb(loadlines(170))
yellowmemory(7) = Color.FromArgb(loadlines(171))
yellowmemory(8) = Color.FromArgb(loadlines(172))
yellowmemory(9) = Color.FromArgb(loadlines(173))
yellowmemory(10) = Color.FromArgb(loadlines(174))
yellowmemory(11) = Color.FromArgb(loadlines(175))
yellowmemory(12) = Color.FromArgb(loadlines(176))
yellowmemory(13) = Color.FromArgb(loadlines(177))
yellowmemory(14) = Color.FromArgb(loadlines(178))
yellowmemory(15) = Color.FromArgb(loadlines(179))
orangememory(0) = Color.FromArgb(loadlines(180))
orangememory(1) = Color.FromArgb(loadlines(181))
orangememory(2) = Color.FromArgb(loadlines(182))
orangememory(3) = Color.FromArgb(loadlines(183))
orangememory(4) = Color.FromArgb(loadlines(184))
orangememory(5) = Color.FromArgb(loadlines(185))
orangememory(6) = Color.FromArgb(loadlines(186))
orangememory(7) = Color.FromArgb(loadlines(187))
orangememory(8) = Color.FromArgb(loadlines(188))
orangememory(9) = Color.FromArgb(loadlines(189))
orangememory(10) = Color.FromArgb(loadlines(190))
orangememory(11) = Color.FromArgb(loadlines(191))
orangememory(12) = Color.FromArgb(loadlines(192))
orangememory(13) = Color.FromArgb(loadlines(193))
orangememory(14) = Color.FromArgb(loadlines(194))
orangememory(15) = Color.FromArgb(loadlines(195))
brownmemory(0) = Color.FromArgb(loadlines(196))
brownmemory(1) = Color.FromArgb(loadlines(197))
brownmemory(2) = Color.FromArgb(loadlines(198))
brownmemory(3) = Color.FromArgb(loadlines(199))
brownmemory(4) = Color.FromArgb(loadlines(200))
brownmemory(5) = Color.FromArgb(loadlines(201))
brownmemory(6) = Color.FromArgb(loadlines(202))
brownmemory(7) = Color.FromArgb(loadlines(203))
brownmemory(8) = Color.FromArgb(loadlines(204))
brownmemory(9) = Color.FromArgb(loadlines(205))
brownmemory(10) = Color.FromArgb(loadlines(206))
brownmemory(11) = Color.FromArgb(loadlines(207))
brownmemory(12) = Color.FromArgb(loadlines(208))
brownmemory(13) = Color.FromArgb(loadlines(209))
brownmemory(14) = Color.FromArgb(loadlines(210))
brownmemory(15) = Color.FromArgb(loadlines(211))
redmemory(0) = Color.FromArgb(loadlines(212))
redmemory(1) = Color.FromArgb(loadlines(213))
redmemory(2) = Color.FromArgb(loadlines(214))
redmemory(3) = Color.FromArgb(loadlines(215))
redmemory(4) = Color.FromArgb(loadlines(216))
redmemory(5) = Color.FromArgb(loadlines(217))
redmemory(6) = Color.FromArgb(loadlines(218))
redmemory(7) = Color.FromArgb(loadlines(219))
redmemory(8) = Color.FromArgb(loadlines(220))
redmemory(9) = Color.FromArgb(loadlines(221))
redmemory(10) = Color.FromArgb(loadlines(222))
redmemory(11) = Color.FromArgb(loadlines(223))
redmemory(12) = Color.FromArgb(loadlines(224))
redmemory(13) = Color.FromArgb(loadlines(225))
redmemory(14) = Color.FromArgb(loadlines(226))
redmemory(15) = Color.FromArgb(loadlines(227))
pinkmemory(0) = Color.FromArgb(loadlines(228))
pinkmemory(1) = Color.FromArgb(loadlines(229))
pinkmemory(2) = Color.FromArgb(loadlines(230))
pinkmemory(3) = Color.FromArgb(loadlines(231))
pinkmemory(4) = Color.FromArgb(loadlines(232))
pinkmemory(5) = Color.FromArgb(loadlines(233))
pinkmemory(6) = Color.FromArgb(loadlines(234))
pinkmemory(7) = Color.FromArgb(loadlines(235))
pinkmemory(8) = Color.FromArgb(loadlines(236))
pinkmemory(9) = Color.FromArgb(loadlines(237))
pinkmemory(10) = Color.FromArgb(loadlines(238))
pinkmemory(11) = Color.FromArgb(loadlines(239))
pinkmemory(12) = Color.FromArgb(loadlines(240))
pinkmemory(13) = Color.FromArgb(loadlines(241))
pinkmemory(14) = Color.FromArgb(loadlines(242))
pinkmemory(15) = Color.FromArgb(loadlines(243))
titlebarcolour = Color.FromArgb(loadlines(244))
windowbordercolour = Color.FromArgb(loadlines(245))
windowbordersize = loadlines(246)
titlebarheight = loadlines(247)
closebuttoncolour = Color.FromArgb(loadlines(248))
closebuttonheight = loadlines(249)
closebuttonwidth = loadlines(250)
closebuttonside = loadlines(251)
closebuttontop = loadlines(252)
titletextcolour = Color.FromArgb(loadlines(253))
titletexttop = loadlines(254)
titletextside = loadlines(255)
titletextsize = loadlines(256)
titletextfont = loadlines(257)
titletextstyle = loadlines(258)
desktoppanelcolour = Color.FromArgb(loadlines(259))
desktopbackgroundcolour = Color.FromArgb(loadlines(260))
desktoppanelheight = loadlines(261)
desktoppanelposition = loadlines(262)
clocktextcolour = Color.FromArgb(loadlines(263))
clockbackgroundcolor = Color.FromArgb(loadlines(264))
panelclocktexttop = loadlines(265)
panelclocktextsize = loadlines(266)
panelclocktextfont = loadlines(267)
panelclocktextstyle = loadlines(268)
applauncherbuttoncolour = Color.FromArgb(loadlines(269))
applauncherbuttonclickedcolour = Color.FromArgb(loadlines(270))
applauncherbackgroundcolour = Color.FromArgb(loadlines(271))
applaunchermouseovercolour = Color.FromArgb(loadlines(272))
applicationsbuttontextcolour = Color.FromArgb(loadlines(273))
applicationbuttonheight = loadlines(274)
applicationbuttontextsize = loadlines(275)
applicationbuttontextfont = loadlines(276)
applicationbuttontextstyle = loadlines(277)
applicationlaunchername = loadlines(278)
titletextposition = loadlines(279)
rollupbuttoncolour = Color.FromArgb(loadlines(280))
rollupbuttonheight = loadlines(281)
rollupbuttonwidth = loadlines(282)
rollupbuttonside = loadlines(283)
rollupbuttontop = loadlines(284)
If loadlines(285) = 11 Then boughtpong = True Else boughtpong = False
If loadlines(286) = 11 Then boughtknowledgeinputicon = True Else boughtknowledgeinputicon = False
If loadlines(287) = 11 Then boughtshiftericon = True Else boughtshiftericon = False
If loadlines(288) = 11 Then boughtshiftoriumicon = True Else boughtshiftoriumicon = False
If loadlines(289) = 11 Then boughtclockicon = True Else boughtclockicon = False
If loadlines(290) = 11 Then boughtshutdownicon = True Else boughtshutdownicon = False
If loadlines(291) = 11 Then boughtpongicon = True Else boughtpongicon = False
If loadlines(292) = 11 Then boughtterminalicon = True Else boughtterminalicon = False
If loadlines(293) = 11 Then boughtalpong = True Else boughtalpong = False
If loadlines(294) = 11 Then boughtfileskimmer = True Else boughtfileskimmer = False
If loadlines(295) = 11 Then boughtalfileskimmer = True Else boughtalfileskimmer = False
If loadlines(296) = 11 Then boughttextpad = True Else boughttextpad = False
If loadlines(297) = 11 Then boughtaltextpad = True Else boughtaltextpad = False
If loadlines(298) = 11 Then boughtfileskimmericon = True Else boughtfileskimmericon = False
If loadlines(299) = 11 Then boughttextpadicon = True Else boughttextpadicon = False
If loadlines(300) = 11 Then boughttextpadnew = True Else boughttextpadnew = False
If loadlines(301) = 11 Then boughttextpadsave = True Else boughttextpadsave = False
If loadlines(302) = 11 Then boughttextpadopen = True Else boughttextpadopen = False
If loadlines(303) = 11 Then boughtfileskimmernewfolder = True Else boughtfileskimmernewfolder = False
If loadlines(304) = 11 Then boughtfileskimmerdelete = True Else boughtfileskimmerdelete = False
If loadlines(305) = 11 Then boughtkielements = True Else boughtkielements = False
If loadlines(306) = 11 Then boughtcolourpickericon = True Else boughtcolourpickericon = False
If loadlines(307) = 11 Then boughtinfoboxicon = True Else boughtinfoboxicon = False
artpadcolorpalletwidth = loadlines(308)
artpadcolorpalletheight = loadlines(309)
artpadcolorpalletsidegap = loadlines(310)
artpadcolorpallettopgap = loadlines(311)
artpadvisiblepallets = loadlines(312)
artpadpixellimit = loadlines(313)
If loadlines(314) = 11 Then boughtskinloader = True Else boughtskinloader = False
If loadlines(315) = 11 Then boughtminimizebutton = True Else boughtminimizebutton = False
If loadlines(316) = 11 Then boughtpanelbuttons = True Else boughtpanelbuttons = False
If loadlines(317) = 11 Then boughtshiftpanelbuttons = True Else boughtshiftpanelbuttons = False
If loadlines(318) = 11 Then boughtartpad = True Else boughtartpad = False
If loadlines(319) = 11 Then boughtalartpad = True Else boughtalartpad = False
If loadlines(320) = 11 Then boughtartpadicon = True Else boughtartpadicon = False
If loadlines(321) = 11 Then boughtskinning = True Else boughtskinning = False
If loadlines(322) = 11 Then boughtminimizecommand = True Else boughtminimizecommand = False
If loadlines(323) = 11 Then boughtusefulpanelbuttons = True Else boughtusefulpanelbuttons = False
If loadlines(324) = 11 Then boughtunitymode = True Else boughtunitymode = False
If loadlines(325) = 11 Then boughtartpadpixellimit4 = True Else boughtartpadpixellimit4 = False
If loadlines(326) = 11 Then boughtartpadpixellimit8 = True Else boughtartpadpixellimit8 = False
If loadlines(327) = 11 Then boughtartpadpixellimit16 = True Else boughtartpadpixellimit16 = False
If loadlines(328) = 11 Then boughtartpadpixellimit64 = True Else boughtartpadpixellimit64 = False
If loadlines(329) = 11 Then boughtartpadpixellimit256 = True Else boughtartpadpixellimit256 = False
If loadlines(330) = 11 Then boughtartpadpixellimit1024 = True Else boughtartpadpixellimit1024 = False
If loadlines(331) = 11 Then boughtartpadpixellimit4096 = True Else boughtartpadpixellimit4096 = False
If loadlines(332) = 11 Then boughtartpadpixellimit16384 = True Else boughtartpadpixellimit16384 = False
If loadlines(333) = 11 Then boughtartpadpixellimit65536 = True Else boughtartpadpixellimit65536 = False
If loadlines(334) = 11 Then boughtartpadlimitlesspixels = True Else boughtartpadlimitlesspixels = False
If loadlines(335) = 11 Then boughtartpad4colorpallets = True Else boughtartpad4colorpallets = False
If loadlines(336) = 11 Then boughtartpad8colorpallets = True Else boughtartpad8colorpallets = False
If loadlines(337) = 11 Then boughtartpad16colorpallets = True Else boughtartpad16colorpallets = False
If loadlines(338) = 11 Then boughtartpad32colorpallets = True Else boughtartpad32colorpallets = False
If loadlines(339) = 11 Then boughtartpad64colorpallets = True Else boughtartpad64colorpallets = False
If loadlines(340) = 11 Then boughtartpad128colorpallets = True Else boughtartpad128colorpallets = False
If loadlines(341) = 11 Then boughtartpadcustompallets = True Else boughtartpadcustompallets = False
If loadlines(342) = 11 Then boughtartpadpixelplacer = True Else boughtartpadpixelplacer = False
If loadlines(343) = 11 Then boughtartpadpixelplacermovementmode = True Else boughtartpadpixelplacermovementmode = False
If loadlines(344) = 11 Then boughtartpadpencil = True Else boughtartpadpencil = False
If loadlines(345) = 11 Then boughtartpadpaintbrush = True Else boughtartpadpaintbrush = False
If loadlines(346) = 11 Then boughtartpadlinetool = True Else boughtartpadlinetool = False
If loadlines(347) = 11 Then boughtartpadovaltool = True Else boughtartpadovaltool = False
If loadlines(348) = 11 Then boughtartpadrectangletool = True Else boughtartpadrectangletool = False
If loadlines(349) = 11 Then boughtartpaderaser = True Else boughtartpaderaser = False
If loadlines(350) = 11 Then boughtartpadfilltool = True Else boughtartpadfilltool = False
If loadlines(351) = 11 Then boughtartpadtexttool = True Else boughtartpadtexttool = False
If loadlines(352) = 11 Then boughtartpadundo = True Else boughtartpadundo = False
If loadlines(353) = 11 Then boughtartpadredo = True Else boughtartpadredo = False
If loadlines(354) = 11 Then boughtartpadsave = True Else boughtartpadsave = False
If loadlines(355) = 11 Then boughtartpadload = True Else boughtartpadload = False
For i = 0 To 127 : artpadcolourpallets(i) = Color.FromArgb(loadlines(356 + i)) : Next
If loadlines(484) = "" Then Else If loadlines(484) = 11 Then boughtartpadnew = True Else boughtartpadnew = False
'0.0.8
ingameversion = loadlines(485)
If loadlines(486) = 11 Then boughtresizablewindows = True Else boughtresizablewindows = False
If loadlines(487) = 11 Then boughtcalculator = True Else boughtcalculator = False
If loadlines(488) = 11 Then boughtaudioplayer = True Else boughtaudioplayer = False
If loadlines(489) = 11 Then boughtchangeosnamecommand = True Else boughtchangeosnamecommand = False
If loadlines(490) = 11 Then boughtwebbrowser = True Else boughtwebbrowser = False
If loadlines(491) = 11 Then boughtvideoplayer = True Else boughtvideoplayer = False
If loadlines(492) = 11 Then boughtnamechanger = True Else boughtnamechanger = False
If loadlines(493) = 11 Then boughticonmanager = True Else boughticonmanager = False
If loadlines(494) = 11 Then boughtbitnotewallet = True Else boughtbitnotewallet = False
If loadlines(495) = 11 Then boughtbitnotedigger = True Else boughtbitnotedigger = False
If loadlines(496) = 11 Then boughtskinshifter = True Else boughtskinshifter = False
If loadlines(497) = 11 Then boughtshiftnet = True Else boughtshiftnet = False
If loadlines(498) = 11 Then boughtshiftneticon = True Else boughtshiftneticon = False
If loadlines(499) = 11 Then boughtalshiftnet = True Else boughtalshiftnet = False
If loadlines(500) = 11 Then boughtdodge = True Else boughtdodge = False
If loadlines(501) = 11 Then boughtdownloadmanager = True Else boughtdownloadmanager = False
If loadlines(502) = 11 Then boughtinstaller = True Else boughtinstaller = False
If loadlines(503) = 11 Then boughtsysinfoicon = True Else boughtsysinfoicon = False
If loadlines(504) = 11 Then boughtorcwrite = True Else boughtorcwrite = False
If loadlines(505) = 11 Then boughtfloodgate = True Else boughtfloodgate = False
If loadlines(506) = 11 Then boughtmaze = True Else boughtmaze = False
If loadlines(507) = 11 Then boughtunitymodetoggle = True Else boughtunitymodetoggle = False
If loadlines(508) = 11 Then boughtunitytoggleicon = True Else boughtunitytoggleicon = False
bitnotediggergrade = loadlines(509)
If loadlines(510) = 11 Then boughtvirusscannericon = True Else boughtvirusscannericon = False
virusscannergrade = loadlines(511)
If loadlines(512) = 11 Then boughttextpadtrm = True Else boughttextpadtrm = False
If loadlines(513) = 11 Then boughtshiftapplauncheritems = True Else boughtshiftapplauncheritems = False
If loadlines(514) = 11 Then installedcalculator = True Else installedcalculator = False
If loadlines(515) = 11 Then installedaudioplayer = True Else installedaudioplayer = False
If loadlines(516) = 11 Then installedwebbrowser = True Else installedwebbrowser = False
If loadlines(517) = 11 Then installedvideoplayer = True Else installedvideoplayer = False
If loadlines(518) = 11 Then installeddodge = True Else installeddodge = False
If loadlines(519) = 11 Then installedsysinfo = True Else installedsysinfo = False
If loadlines(520) = 11 Then installedorcwrite = True Else installedorcwrite = False
If loadlines(521) = 11 Then installedfloodgate = True Else installedfloodgate = False
If loadlines(522) = 11 Then installedfloodgatenow = True Else installedfloodgatenow = False
If loadlines(523) = 11 Then installedmaze = True Else installedmaze = False
If loadlines(524) = 11 Then installedvirusscanner = True Else installedvirusscanner = False
webbrowserhomepage = loadlines(525)
bitnotebalance = loadlines(526)
bitnotebalanceappscape = loadlines(527)
'bitnotebalanceminimatch = loadlines(528) 'comment in after updating save
'downloadmanagerhistory = loadlines(529)
downloadspeedcap = loadlines(530)
osname = loadlines(531)
artpadname = loadlines(532)
audioplayername = loadlines(533)
calculatorname = loadlines(534)
clockname = loadlines(535)
colourpickername = loadlines(536)
fileopenername = loadlines(537)
filesavername = loadlines(538)
fileskimmername = loadlines(539)
graphicpickername = loadlines(540)
knowledgeinputname = loadlines(541)
pongname = loadlines(542)
shiftername = loadlines(543)
shiftoriumname = loadlines(544)
skinloadername = loadlines(545)
terminalname = loadlines(546)
textpadname = loadlines(547)
videoplayername = loadlines(548)
webbrowsername = loadlines(549)
namechangername = loadlines(550)
iconmanagername = loadlines(551)
bitnotewalletname = loadlines(552)
bitnotediggername = loadlines(553)
skinshiftername = loadlines(554)
shiftnetname = loadlines(555)
dodgename = loadlines(556)
downloadmanagername = loadlines(557)
installername = loadlines(558)
snakeyname = loadlines(559)
sysinfoname = loadlines(560)
orcwritename = loadlines(561)
floodgatename = loadlines(562)
mazename = loadlines(563)
virusscannername = loadlines(564)
titlebariconsize = loadlines(565)
panelbuttoniconsize = loadlines(566)
launchericonsize = loadlines(567)
If loadlines(568) = 11 Then Viruses.zerogravity = True Else Viruses.zerogravity = False
If loadlines(569) = 11 Then Viruses.mousetrap = True Else Viruses.mousetrap = False
If loadlines(570) = 11 Then Viruses.beeper = True Else Viruses.beeper = False
If loadlines(571) = 11 Then Viruses.ThePlague = True Else Viruses.ThePlague = False
Viruses.zerogravitythreatlevel = loadlines(572)
Viruses.mousetrapthreatlevel = loadlines(573)
Viruses.beeperthreatlevel = loadlines(574)
Viruses.theplaguethreatlevel = loadlines(575)
'Load up the corruptions if any are made
SortOutBooleans(FileSkimmerCorrupted, 580, True)
SortOutBooleans(ArtpadCorrupted, 581, True)
SortOutBooleans(AudioPlayerCorrupted, 582, True)
SortOutBooleans(BitNoteDiggerCorrupted, 583, True)
SortOutBooleans(BitNoteWalletCorrupted, 584, True)
SortOutBooleans(CalculatorCorrupted, 585, True)
SortOutBooleans(ClockCorrupted, 586, True)
SortOutBooleans(CoherenceModeCorrupted, 587, True)
SortOutBooleans(ColourPickerCorrupted, 588, True)
SortOutBooleans(DodgeCorrupted, 589, True)
SortOutBooleans(DownloadManagerCorrupted, 590, True)
SortOutBooleans(FloodGateManagerCorrupted, 591, True)
SortOutBooleans(GraphicPickerCorrupted, 592, True)
SortOutBooleans(IconManagerCorrupted, 593, True)
SortOutBooleans(InstallerCorrupted, 594, True)
SortOutBooleans(KnowledgeInputCorrupted, 595, True)
SortOutBooleans(LabyrinthCorrupted, 596, True)
SortOutBooleans(NameChangerCorrupted, 597, True)
SortOutBooleans(OrcWriteCorrupted, 598, True)
SortOutBooleans(PongCorrupted, 599, True)
SortOutBooleans(ShifterCorrupted, 600, True)
SortOutBooleans(ShifterCorrupted, 601, True)
SortOutBooleans(ShiftNetCorrupted, 602, True)
SortOutBooleans(ShiftoriumCorrupted, 603, True)
SortOutBooleans(SkinLoaderCorrupted, 604, True)
SortOutBooleans(SkinShifterCorrupted, 605, True)
SortOutBooleans(SnakeyCorrupted, 606, True)
SortOutBooleans(SystemInfoCorrupted, 607, True)
SortOutBooleans(TerminalCorrupted, 608, True)
SortOutBooleans(TextpadCorrupted, 609, True)
SortOutBooleans(VideoPlayerCorrupted, 610, True)
SortOutBooleans(VirusScannerCorrupted, 612, True)
SortOutBooleans(WebBrowserCorrupted, 613, True)
Try
If loadlines(614) = 11 Then boughtdesktopicons = True Else boughtdesktopicons = False
Catch
boughtdesktopicons = False
End Try
Try
If loadlines(615) = 11 Then boughtadvapplauncher = True Else boughtadvapplauncher = False
Catch
boughtadvapplauncher = False
End Try
Viruses.startactiveviruses()
If IO.File.Exists(ShiftOSPath + "Shiftum42\Skins\Current\skindata.dat") Then loadcurrentskin()
If My.Computer.FileSystem.DirectoryExists(ShiftOSPath + "Shiftum42\Icons") Then setupicons()
If IO.File.Exists(ShiftOSPath & "SoftwareData\DownloadManager\Downloadhistory.lst") Then downloadmanagerhistory = IO.File.ReadAllText(ShiftOSPath & "SoftwareData\DownloadManager\Downloadhistory.lst")
End Sub
Private Sub ShiftOSDesktop_Load(sender As Object, e As EventArgs) Handles MyBase.Load
FloodRegistry.registerItems()
If newgame = True Or justconverted = True Then
savegame()
Else
loadgame()
Terminal.runterminalfile(ShiftOSPath + "Shiftum42\autorun.trm")
End If
If Not My.Computer.FileSystem.DirectoryExists(ShiftOSPath + "\SoftwareData\AdvStart\Recent") Then
IO.Directory.CreateDirectory(ShiftOSPath + "\SoftwareData\AdvStart\Recent")
End If
ToolStripManager.Renderer = New MyToolStripRenderer()
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
Me.WindowState = FormWindowState.Maximized
'loadskinfiles()
'setupdesktop()
'setupskins()
Skins.loadimages()
desktopicons.AllowDrop = True
desktopicons.AutoArrange = False
End Sub
Public Sub loadcurrentskin()
skinlines = IO.File.ReadAllLines(ShiftOSPath + "Shiftum42\Skins\Current\skindata.dat")
titlebarcolour = Color.FromArgb(skinlines(0))
windowbordercolour = Color.FromArgb(skinlines(1))
windowbordersize = skinlines(2)
titlebarheight = skinlines(3)
closebuttoncolour = Color.FromArgb(skinlines(4))
closebuttonheight = skinlines(5)
closebuttonwidth = skinlines(6)
closebuttonside = skinlines(7)
closebuttontop = skinlines(8)
titletextcolour = Color.FromArgb(skinlines(9))
titletexttop = skinlines(10)
titletextside = skinlines(11)
titletextsize = skinlines(12)
titletextfont = skinlines(13)
titletextstyle = skinlines(14)
desktoppanelcolour = Color.FromArgb(skinlines(15))
desktopbackgroundcolour = Color.FromArgb(skinlines(16))
desktoppanelheight = skinlines(17)
desktoppanelposition = skinlines(18)
clocktextcolour = Color.FromArgb(skinlines(19))
clockbackgroundcolor = Color.FromArgb(skinlines(20))
panelclocktexttop = skinlines(21)
panelclocktextsize = skinlines(22)
panelclocktextfont = skinlines(23)
panelclocktextstyle = skinlines(24)
applauncherbuttoncolour = Color.FromArgb(skinlines(25))
applauncherbuttonclickedcolour = Color.FromArgb(skinlines(26))
applauncherbackgroundcolour = Color.FromArgb(skinlines(27))
applaunchermouseovercolour = Color.FromArgb(skinlines(28))
applicationsbuttontextcolour = Color.FromArgb(skinlines(29))
applicationbuttonheight = skinlines(30)
applicationbuttontextsize = skinlines(31)
applicationbuttontextfont = skinlines(32)
applicationbuttontextstyle = skinlines(33)
applicationlaunchername = skinlines(34)
titletextposition = skinlines(35)
rollupbuttoncolour = Color.FromArgb(skinlines(36))
If skinlines(37) = "" Then Else rollupbuttonheight = skinlines(37)
If skinlines(38) = "" Then Else rollupbuttonwidth = skinlines(38)
If skinlines(39) = "" Then Else rollupbuttonside = skinlines(39)
If skinlines(40) = "" Then Else rollupbuttontop = skinlines(40)
If skinlines(41) = "" Then Else titlebariconside = skinlines(41)
If skinlines(42) = "" Then Else titlebaricontop = skinlines(42)
If skinlines(43) = "" Then Else showwindowcorners = skinlines(43)
If skinlines(44) = "" Then Else titlebarcornerwidth = skinlines(44)
If skinlines(45) = "" Then Else titlebarrightcornercolour = Color.FromArgb(skinlines(45))
If skinlines(46) = "" Then Else titlebarleftcornercolour = Color.FromArgb(skinlines(46))
If skinlines(47) = "" Then Else applaunchermenuholderwidth = skinlines(47)
If skinlines(48) = "" Then Else windowborderleftcolour = Color.FromArgb(skinlines(48))
If skinlines(49) = "" Then Else windowborderrightcolour = Color.FromArgb(skinlines(49))
If skinlines(50) = "" Then Else windowborderbottomcolour = Color.FromArgb(skinlines(50))
If skinlines(51) = "" Then Else windowborderbottomrightcolour = Color.FromArgb(skinlines(51))
If skinlines(52) = "" Then Else windowborderbottomleftcolour = Color.FromArgb(skinlines(52))
If skinlines(53) = "" Then Else panelbuttonicontop = skinlines(53)
If skinlines(54) = "" Then Else panelbuttoniconside = skinlines(54)
If skinlines(55) = "" Then Else panelbuttoniconsize = skinlines(55)
If skinlines(56) = "" Then Else panelbuttoniconsize = skinlines(56)
If skinlines(57) = "" Then Else panelbuttonheight = skinlines(57)
If skinlines(58) = "" Then Else panelbuttonwidth = skinlines(58)
If skinlines(59) = "" Then Else panelbuttoncolour = Color.FromArgb(skinlines(59))
If skinlines(60) = "" Then Else panelbuttontextcolour = Color.FromArgb(skinlines(60))
If skinlines(61) = "" Then Else panelbuttontextsize = skinlines(61)
If skinlines(62) = "" Then Else panelbuttontextfont = skinlines(62)
If skinlines(63) = "" Then Else panelbuttontextstyle = skinlines(63)
If skinlines(64) = "" Then Else panelbuttontextside = skinlines(64)
If skinlines(65) = "" Then Else panelbuttontexttop = skinlines(65)
If skinlines(66) = "" Then Else panelbuttongap = skinlines(66)
If skinlines(67) = "" Then Else panelbuttonfromtop = skinlines(67)
If skinlines(68) = "" Then Else panelbuttoninitialgap = skinlines(68)
If skinlines(69) = "" Then Else minimizebuttoncolour = Color.FromArgb(skinlines(69))
If skinlines(70) = "" Then Else minimizebuttonheight = skinlines(70)
If skinlines(71) = "" Then Else minimizebuttonwidth = skinlines(71)
If skinlines(72) = "" Then Else minimizebuttonside = skinlines(72)
If skinlines(73) = "" Then Else minimizebuttontop = skinlines(73)
' Old skin loading
'skinimages(0) = skinlines(100)
'skinimages(1) = skinlines(101)
'skinimages(2) = skinlines(102)
'skinimages(3) = skinlines(103)
'skinimages(4) = skinlines(104)
'skinimages(5) = skinlines(105)
'skinimages(6) = skinlines(106)
'skinimages(7) = skinlines(107)
'skinimages(8) = skinlines(108)
'skinimages(9) = skinlines(109)
'skinimages(10) = skinlines(110)
'skinimages(11) = skinlines(111)
'skinimages(12) = skinlines(112)
'skinimages(13) = skinlines(113)
'skinimages(14) = skinlines(114)
'skinimages(15) = skinlines(115)
'skinimages(16) = skinlines(116)
'skinimages(17) = skinlines(117)
'skinimages(18) = skinlines(118)
'skinimages(19) = skinlines(119)
'skinimages(20) = skinlines(120)
'skinimages(21) = skinlines(121)
'skinimages(22) = skinlines(122)
'skinimages(23) = skinlines(123)
'skinimages(24) = skinlines(124)
'skinimages(25) = skinlines(125)
'skinimages(26) = skinlines(126)
'skinimages(27) = skinlines(127)
'skinimages(28) = skinlines(128)
'skinimages(29) = skinlines(129)
'skinimages(30) = skinlines(130)
'skinimages(31) = skinlines(131)
'skinimages(32) = skinlines(132)
'skinimages(33) = skinlines(133)
'skinimages(34) = skinlines(134)
'skinimages(35) = skinlines(135)
'skinimages(36) = skinlines(136)
'skinimages(37) = skinlines(137)
'skinimages(38) = skinlines(138)
'skinimages(39) = skinlines(139)
'skinimages(40) = skinlines(140)
'skinimages(41) = skinlines(141)
'skinimages(42) = skinlines(142)
'skinimages(43) = skinlines(143)
'skinimages(44) = skinlines(144)
'skinimages(45) = skinlines(145)
'skinimages(46) = skinlines(146)
'skinimages(47) = skinlines(147)
'skinimages(48) = skinlines(148)
'skinimages(49) = skinlines(149)
'skinimages(50) = skinlines(150)
End Sub
Private Sub shortdisposecode(ByVal skinloadervarible As Array, ByVal shiftosdesktopvarible As Array, ByVal shiftervarible As Array, ByVal includedesktop As Boolean)
If includedesktop = True Then
If shiftosdesktopvarible(0) Is Nothing Then Else shiftosdesktopvarible(0).Dispose()
If shiftosdesktopvarible(1) Is Nothing Then Else shiftosdesktopvarible(1).Dispose()
If shiftosdesktopvarible(2) Is Nothing Then Else shiftosdesktopvarible(2).Dispose()
shiftosdesktopvarible(0) = Nothing
shiftosdesktopvarible(1) = Nothing
shiftosdesktopvarible(2) = Nothing
End If
If Shifter.Visible Then
If shiftervarible(0) Is Nothing Then Else shiftervarible(0).Dispose()
If shiftervarible(1) Is Nothing Then Else shiftervarible(1).Dispose()
If shiftervarible(2) Is Nothing Then Else shiftervarible(2).Dispose()
shiftervarible(0) = Nothing
shiftervarible(1) = Nothing
shiftervarible(2) = Nothing
End If
If Skin_Loader.Visible Then
If skinloadervarible(0) Is Nothing Then Else skinloadervarible(0).Dispose()
If skinloadervarible(1) Is Nothing Then Else skinloadervarible(1).Dispose()
If skinloadervarible(2) Is Nothing Then Else skinloadervarible(2).Dispose()
skinloadervarible(0) = Nothing
skinloadervarible(1) = Nothing
skinloadervarible(2) = Nothing
End If
End Sub
Public Sub setupdesktop()
'Set skin/size/colour of all windows
If Knowledge_Input.Visible Then Knowledge_Input.setupall()
If Shiftorium.Visible Then Shiftorium.setupall()
If Clock.Visible Then Clock.setupall()
If Shifter.Visible Then Shifter.setupall()
If Colour_Picker.Visible Then Colour_Picker.setupall()
If infobox.Visible Then infobox.setupall()
If Pong.Visible Then Pong.setupall()
If File_Skimmer.Visible Then File_Skimmer.setupall()
If File_Opener.Visible Then File_Opener.setupall()
If File_Saver.Visible Then File_Saver.setupall()
If TextPad.Visible Then TextPad.setupall()
If Graphic_Picker.Visible Then Graphic_Picker.setupall()
If Skin_Loader.Visible Then Skin_Loader.setupall()
If ArtPad.Visible Then ArtPad.setupall()
If Calculator.Visible Then Calculator.setupall()
If Audio_Player.Visible Then Audio_Player.setupall()
If Web_Browser.Visible Then Web_Browser.setupall()
If Video_Player.Visible Then Video_Player.setupall()
If Name_Changer.Visible Then Name_Changer.setupall()
If Icon_Manager.Visible Then Icon_Manager.setupall()
If Bitnote_Wallet.Visible Then Bitnote_Wallet.setupall()
If Bitnote_Digger.Visible Then Bitnote_Digger.setupall()
If Skinshifter.Visible Then Skinshifter.setupall()
If Shiftnet.Visible Then Shiftnet.setupall()
If Downloader.Visible Then Downloader.setupall()
If Dodge.Visible Then Dodge.setupall()
If Downloadmanager.Visible Then Downloadmanager.setupall()
If Installer.Visible Then Installer.setupall()
If Snakey.Visible Then Snakey.setupall()
If systeminfo.Visible Then systeminfo.setupall()
If OrcWrite.Visible Then OrcWrite.setupall()
If FloodGate_Manager.Visible Then FloodGate_Manager.setupall()
If Labyrinth.Visible Then Labyrinth.setupall()
If VirusScanner.Visible Then VirusScanner.setupall()
If terminalfullscreen = False Then Terminal.setupall()
If Not My.Computer.FileSystem.DirectoryExists(ShiftOSPath & "/Home/Desktop") Then
IO.Directory.CreateDirectory(ShiftOSPath & "/Home/Desktop")
End If
'Desktop Icons
If unitymode = False Then
refreshIcons()
End If
'Setup windows
If unitymode = False Then
desktopicons.Visible = True
desktopicons.BackColor = Skins.desktopbackgroundcolour
If Skins.desktopbackground Is Nothing Then desktopicons.BackgroundImage = Nothing Else desktopicons.BackgroundImage = Skins.desktopbackground
desktopicons.BackgroundImageLayout = Skins.desktopbackgroundlayout
Else
Me.BackColor = globaltransparencycolour
Me.BackgroundImage = Nothing
desktopicons.Visible = False
Me.TransparencyKey = globaltransparencycolour
End If
shiftwindowsontop()
ToolStripManager.Renderer = New MyToolStripRenderer()
If boughtdesktoppanel = True Then
If Skins.desktoppanel Is Nothing Then
desktoppanel.BackColor = Skins.desktoppanelcolour
desktoppanel.BackgroundImage = Nothing
Else
desktoppanel.BackgroundImage = Skins.desktoppanel
desktoppanel.BackgroundImageLayout = Skins.desktoppanellayout
desktoppanel.BackColor = Color.Transparent
End If
desktoppanel.Size = New Size(desktoppanel.Size.Width, Skins.desktoppanelheight)
Select Case Skins.desktoppanelposition
Case "Top"
desktoppanel.Dock = DockStyle.Top
desktopappmenu.Dock = DockStyle.Top
Case "Bottom"
desktoppanel.Dock = DockStyle.Bottom
desktopappmenu.Dock = DockStyle.Bottom
End Select
desktoppanel.Show()
Else
desktoppanel.Hide()
End If
If boughtapplaunchermenu = True Then
ApplicationsToolStripMenuItem.Font = New Font(Skins.applicationbuttontextfont, Skins.applicationbuttontextsize, Skins.applicationbuttontextstyle)
ApplicationsToolStripMenuItem.Text = applicationlaunchername
KnowledgeInputToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
ShiftoriumToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
ClockToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
ShifterToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
TerminalToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
PongToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
FileSkimmerToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
TextPadToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
SkinLoaderToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
ArtpadToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
CalculatorToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
AudioplayerToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
WebBrowserToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
VideoplayerToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
NameChangerToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
IconManagerToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
BitnoteWalletToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
BitnoteDiggerToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
SkinShifterToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
ShiftnetToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
DodgeToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
downloadmanagerToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
InstallerToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
sysinfoToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
orcwriteToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
FloodGateToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
VirusScannerToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
SnakeyToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
MazeToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
ShutdownToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
UnityToolStripMenuItem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
desktopappmenu.ImageScalingSize = New Size(launchericonsize, launchericonsize)
KnowledgeInputToolStripMenuItem.Text = knowledgeinputname
ShiftoriumToolStripMenuItem.Text = shiftoriumname
ClockToolStripMenuItem.Text = clockname
ShifterToolStripMenuItem.Text = shiftername
TerminalToolStripMenuItem.Text = terminalname
PongToolStripMenuItem.Text = pongname
FileSkimmerToolStripMenuItem.Text = fileskimmername
TextPadToolStripMenuItem.Text = textpadname
SkinLoaderToolStripMenuItem.Text = skinloadername
ArtpadToolStripMenuItem.Text = artpadname
CalculatorToolStripMenuItem.Text = calculatorname
AudioplayerToolStripMenuItem.Text = audioplayername
WebBrowserToolStripMenuItem.Text = webbrowsername
VideoplayerToolStripMenuItem.Text = videoplayername
NameChangerToolStripMenuItem.Text = namechangername
IconManagerToolStripMenuItem.Text = iconmanagername
BitnoteWalletToolStripMenuItem.Text = bitnotewalletname
BitnoteDiggerToolStripMenuItem.Text = bitnotediggername
SkinShifterToolStripMenuItem.Text = skinshiftername
ShiftnetToolStripMenuItem.Text = shiftnetname
DodgeToolStripMenuItem.Text = dodgename
downloadmanagerToolStripMenuItem.Text = downloadmanagername
InstallerToolStripMenuItem.Text = installername
sysinfoToolStripMenuItem.Text = sysinfoname
orcwriteToolStripMenuItem.Text = orcwritename
FloodGateToolStripMenuItem.Text = floodgatename
MazeToolStripMenuItem.Text = mazename
VirusScannerToolStripMenuItem.Text = virusscannername
KnowledgeInputToolStripMenuItem.ForeColor = Skins.launcheritemcolour
ShiftoriumToolStripMenuItem.ForeColor = Skins.launcheritemcolour
ClockToolStripMenuItem.ForeColor = Skins.launcheritemcolour
ShiftoriumToolStripMenuItem.ForeColor = Skins.launcheritemcolour
ShifterToolStripMenuItem.ForeColor = Skins.launcheritemcolour
TerminalToolStripMenuItem.ForeColor = Skins.launcheritemcolour
PongToolStripMenuItem.ForeColor = Skins.launcheritemcolour
FileSkimmerToolStripMenuItem.ForeColor = Skins.launcheritemcolour
TextPadToolStripMenuItem.ForeColor = Skins.launcheritemcolour
SkinLoaderToolStripMenuItem.ForeColor = Skins.launcheritemcolour
ArtpadToolStripMenuItem.ForeColor = Skins.launcheritemcolour
CalculatorToolStripMenuItem.ForeColor = Skins.launcheritemcolour
AudioplayerToolStripMenuItem.ForeColor = Skins.launcheritemcolour
WebBrowserToolStripMenuItem.ForeColor = Skins.launcheritemcolour
VideoplayerToolStripMenuItem.ForeColor = Skins.launcheritemcolour
NameChangerToolStripMenuItem.ForeColor = Skins.launcheritemcolour
IconManagerToolStripMenuItem.ForeColor = Skins.launcheritemcolour
BitnoteWalletToolStripMenuItem.ForeColor = Skins.launcheritemcolour
BitnoteDiggerToolStripMenuItem.ForeColor = Skins.launcheritemcolour
SkinShifterToolStripMenuItem.ForeColor = Skins.launcheritemcolour
ShiftnetToolStripMenuItem.ForeColor = Skins.launcheritemcolour
DodgeToolStripMenuItem.ForeColor = Skins.launcheritemcolour
downloadmanagerToolStripMenuItem.ForeColor = Skins.launcheritemcolour
InstallerToolStripMenuItem.ForeColor = Skins.launcheritemcolour
sysinfoToolStripMenuItem.ForeColor = Skins.launcheritemcolour
orcwriteToolStripMenuItem.ForeColor = Skins.launcheritemcolour
FloodGateToolStripMenuItem.ForeColor = Skins.launcheritemcolour
VirusScannerToolStripMenuItem.ForeColor = Skins.launcheritemcolour
MazeToolStripMenuItem.ForeColor = Skins.launcheritemcolour
SnakeyToolStripMenuItem.ForeColor = Skins.launcheritemcolour
ShutdownToolStripMenuItem.ForeColor = Skins.launcheritemcolour
UnityToolStripMenuItem.ForeColor = Skins.launcheritemcolour
applaunchermenuholder.Size = ApplicationsToolStripMenuItem.Size
ApplicationsToolStripMenuItem.ForeColor = Skins.applicationsbuttontextcolour
desktopappmenu.BackColor = Skins.applauncherbuttoncolour
applaunchermenuholder.Height = Skins.applicationbuttonheight
desktopappmenu.Height = Skins.applicationbuttonheight
ApplicationsToolStripMenuItem.Height = Skins.applicationbuttonheight
ApplicationsToolStripMenuItem.Visible = True
TerminalToolStripMenuItem.Visible = True
ApplicationsToolStripMenuItem.Height = Skins.applicationbuttonheight
If Not IsNothing(Skins.applauncher) Then
ApplicationsToolStripMenuItem.Text = ""
ApplicationsToolStripMenuItem.BackColor = Color.Transparent
Else
ApplicationsToolStripMenuItem.Text = Skins.applicationlaunchername
ApplicationsToolStripMenuItem.BackColor = Skins.applauncherbackgroundcolour
ApplicationsToolStripMenuItem.BackgroundImage = Nothing
End If
applaunchermenuholder.Width = Skins.applaunchermenuholderwidth
desktopappmenu.Width = Skins.applaunchermenuholderwidth
ApplicationsToolStripMenuItem.Width = Skins.applaunchermenuholderwidth
If Not IsNothing(Skins.applauncher) Then ApplicationsToolStripMenuItem.BackgroundImage = Skins.applauncher Else ApplicationsToolStripMenuItem.BackColor = Skins.applauncherbackgroundcolour
ApplicationsToolStripMenuItem.BackgroundImageLayout = Skins.applauncherlayout
Else
ApplicationsToolStripMenuItem.Visible = False
End If
'Adv. App Launcher Bug Fix Code
'DevX's Advanced App Launcher Skin Code
For Each item In allPrograms.DropDownItems 'Clever way of adding proper font to All Programs, where each subitem of each item is skinned. This uses the default App Launcher skinning system, so you could
'indeed rip an entire XP skin, as this engine is also used by the Desktop++ Right-click menu.
item.ForeColor = Skins.launcheritemcolour
item.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
For Each subitem In item.DropDownItems
subitem.ForeColor = Skins.launcheritemcolour
subitem.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
Next
Next
lbuser.Font = New Font(Skins.usernamefont, Skins.usernamefontsize, Skins.usernamefontstyle)
lbuser.ForeColor = Skins.usernametextcolor
lbuser.BackColor = Skins.userNamePanelBackgroundColor
If IsNothing(Skins.userNamePanelBackground) Then lbuser.BackgroundImage = Nothing Else lbuser.BackgroundImage = Skins.userNamePanelBackground
lbuser.BackgroundImageLayout = Skins.usrPanelBackgroundLayout
btnadvshutdown.BackColor = Skins.powerPanelBackgroundColor
If IsNothing(Skins.powerPanelBackgroundImage) Then btnadvshutdown.BackgroundImage = Nothing Else btnadvshutdown.BackgroundImage = Skins.powerPanelBackgroundImage
btnadvshutdown.BackgroundImageLayout = Skins.pwrPanelBackgroundLayout
If Skins.recentIconsHorizontal = True Then
lvadvfiles.Alignment = ListViewAlignment.Top
lvadvfiles.View = View.LargeIcon
Else
lvadvfiles.Alignment = ListViewAlignment.Left
lvadvfiles.View = View.SmallIcon
End If
Select Case Skins.placesSide
Case "Left"
pnladvplaces.Dock = DockStyle.Left
Case "Right"
pnladvplaces.Dock = DockStyle.Right
End Select
pnladvtopbar.Height = Skins.topBarHeight
pnladvbottombar.Height = Skins.bottomBarHeight
Select Case Skins.userNamePosition
Case "Top, Left"
lbuser.TextAlign = ContentAlignment.TopLeft
Case "Top, Middle"
lbuser.TextAlign = ContentAlignment.TopCenter
Case "Top, Right"
lbuser.TextAlign = ContentAlignment.TopRight
Case "Middle, Left"
lbuser.TextAlign = ContentAlignment.MiddleLeft
Case "Middle, Middle"
lbuser.TextAlign = ContentAlignment.MiddleCenter
Case "Middle, Right"
lbuser.TextAlign = ContentAlignment.MiddleRight
Case "Bottom, Left"
lbuser.TextAlign = ContentAlignment.BottomLeft
Case "Bottom, Middle"
lbuser.TextAlign = ContentAlignment.BottomCenter
Case "Bottom. Right"
lbuser.TextAlign = ContentAlignment.BottomRight
End Select
'End ADV App Launcher Code
'Desktop++ Skin Code
ContextMenuStrip1.ForeColor = Skins.launcheritemcolour
ContextMenuStrip1.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
For Each item In NewToolStripMenuItem.DropDownItems
item.ForeColor = Skins.launcheritemcolour
item.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
Next
For Each item In TileViewToolStripMenuItem.DropDownItems
item.ForeColor = Skins.launcheritemcolour
item.Font = New Font(Skins.launcheritemfont, Skins.launcheritemsize, Skins.launcheritemstyle)
Next
'End Desktop++ Code
If boughtalclock = True Then
ClockToolStripMenuItem.Visible = True
If boughtclockicon = True Then
ClockToolStripMenuItem.Image = clockiconlauncher
End If
Else
ClockToolStripMenuItem.Visible = False
End If
If boughtalknowledgeinput = True Then
KnowledgeInputToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
KnowledgeInputToolStripMenuItem.Image = knowledgeinputiconlauncher
End If
Else
KnowledgeInputToolStripMenuItem.Visible = False
End If
If boughtalshiftorium = True Then
ShiftoriumToolStripMenuItem.Visible = True
If boughtshiftoriumicon = True Then
ShiftoriumToolStripMenuItem.Image = shiftoriumiconlauncher
End If
Else
ShiftoriumToolStripMenuItem.Visible = False
End If
If boughtalshifter = True Then
ShifterToolStripMenuItem.Visible = True
If boughtshiftericon = True Then
ShifterToolStripMenuItem.Image = shiftericonlauncher
End If
Else
ShifterToolStripMenuItem.Visible = False
End If
If boughtalpong = True Then
PongToolStripMenuItem.Visible = True
If boughtpongicon = True Then
PongToolStripMenuItem.Image = pongiconlauncher
End If
Else
PongToolStripMenuItem.Visible = False
End If
If boughtskinloader = True Then
NewSkin.Visible = True
Else
NewSkin.Visible = False
End If
If boughtalfileskimmer = True Then
FileSkimmerToolStripMenuItem.Visible = True
If boughtfileskimmericon = True Then
FileSkimmerToolStripMenuItem.Image = fileskimmericonlauncher
End If
Else
FileSkimmerToolStripMenuItem.Visible = False
End If
If boughtaltextpad = True Then
TextPadToolStripMenuItem.Visible = True
If boughttextpadicon = True Then
TextPadToolStripMenuItem.Image = textpadiconlauncher
End If
Else
TextPadToolStripMenuItem.Visible = False
End If
If boughtskinning = True Then
SkinLoaderToolStripMenuItem.Visible = True
SkinLoaderToolStripMenuItem.Image = skinloadericonlauncher
Else
SkinLoaderToolStripMenuItem.Visible = False
End If
If boughtalartpad = True Then
ArtpadToolStripMenuItem.Visible = True
If boughtartpadicon = True Then
ArtpadToolStripMenuItem.Image = artpadiconlauncher
End If
Else
ArtpadToolStripMenuItem.Visible = False
End If
If installedcalculator = True Then
CalculatorToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
CalculatorToolStripMenuItem.Image = calculatoriconlauncher
End If
Else
CalculatorToolStripMenuItem.Visible = False
End If
If installedaudioplayer = True Then
AudioplayerToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
AudioplayerToolStripMenuItem.Image = audioplayericonlauncher
End If
Else
AudioplayerToolStripMenuItem.Visible = False
End If
If installedwebbrowser = True Then
WebBrowserToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
WebBrowserToolStripMenuItem.Image = webbrowsericonlauncher
End If
Else
WebBrowserToolStripMenuItem.Visible = False
End If
If installedvideoplayer = True Then
VideoplayerToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
VideoplayerToolStripMenuItem.Image = videoplayericonlauncher
End If
Else
VideoplayerToolStripMenuItem.Visible = False
End If
If boughtnamechanger = True Then
NameChangerToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
NameChangerToolStripMenuItem.Image = namechangericonlauncher
End If
Else
NameChangerToolStripMenuItem.Visible = False
End If
If boughticonmanager = True Then
IconManagerToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
IconManagerToolStripMenuItem.Image = iconmanagericonlauncher
End If
Else
IconManagerToolStripMenuItem.Visible = False
End If
If boughtbitnotewallet = True Then
BitnoteWalletToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
BitnoteWalletToolStripMenuItem.Image = bitnotewalleticonlauncher
End If
Else
BitnoteWalletToolStripMenuItem.Visible = False
End If
If boughtbitnotedigger = True Then
BitnoteDiggerToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
BitnoteDiggerToolStripMenuItem.Image = bitnotediggericonlauncher
End If
Else
BitnoteDiggerToolStripMenuItem.Visible = False
End If
If boughtskinshifter = True Then
SkinShifterToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
SkinShifterToolStripMenuItem.Image = skinshiftericonlauncher
End If
Else
SkinShifterToolStripMenuItem.Visible = False
End If
If boughtshiftnet = True Then
ShiftnetToolStripMenuItem.Visible = True
If boughtshiftneticon = True Then
ShiftnetToolStripMenuItem.Image = shiftneticonlauncher
End If
Else
ShiftnetToolStripMenuItem.Visible = False
End If
If installeddodge = True Then
DodgeToolStripMenuItem.Visible = True
If boughtshiftneticon = True Then
DodgeToolStripMenuItem.Image = dodgeiconlauncher
End If
Else
DodgeToolStripMenuItem.Visible = False
End If
If boughtdownloadmanager = True Then
downloadmanagerToolStripMenuItem.Visible = True
If boughtknowledgeinputicon = True Then
downloadmanagerToolStripMenuItem.Image = downloadmanagericonlauncher
End If
Else
downloadmanagerToolStripMenuItem.Visible = False
End If
If boughtinstaller = True Then
InstallerToolStripMenuItem.Visible = True
If boughtshiftneticon = True Then
InstallerToolStripMenuItem.Image = installericonlauncher
End If
Else
InstallerToolStripMenuItem.Visible = False
End If
If installedsnakey = True Then
SnakeyToolStripMenuItem.Visible = True
If boughtshiftneticon = True Then
SnakeyToolStripMenuItem.Image = snakeyiconlauncher
End If
Else
SnakeyToolStripMenuItem.Visible = False
End If
If installedsysinfo = True Then
sysinfoToolStripMenuItem.Visible = True
If boughtsysinfoicon = True Then
sysinfoToolStripMenuItem.Image = sysinfoiconlauncher
End If
Else
sysinfoToolStripMenuItem.Visible = False
End If
If installedorcwrite = True Then
orcwriteToolStripMenuItem.Visible = True
If boughtshiftneticon = True Then
orcwriteToolStripMenuItem.Image = orcwriteiconlauncher
End If
Else
orcwriteToolStripMenuItem.Visible = False
End If
If installedfloodgate = True Then
FloodGateToolStripMenuItem.Visible = True
If boughtshiftneticon = True Then
FloodGateToolStripMenuItem.Image = floodgateiconlauncher
End If
Else
FloodGateToolStripMenuItem.Visible = False
End If
If installedmaze = True Then
MazeToolStripMenuItem.Visible = True
If boughtshiftneticon = True Then
MazeToolStripMenuItem.Image = mazeiconlauncher
End If
Else
MazeToolStripMenuItem.Visible = False
End If
If installedvirusscanner = True Then
VirusScannerToolStripMenuItem.Visible = True
If boughtvirusscannericon = True Then
VirusScannerToolStripMenuItem.Image = virusscannericonlauncher
End If
Else
VirusScannerToolStripMenuItem.Visible = False
End If
If boughtdesktoppanelclock = True Then
setclocktime()
paneltimetext.ForeColor = Skins.clocktextcolour
If Skins.panelclock Is Nothing Then
timepanel.BackColor = Skins.clockbackgroundcolor
timepanel.BackgroundImage = Nothing
Else
timepanel.BackColor = Color.Transparent
timepanel.BackgroundImage = panelclock
timepanel.BackgroundImageLayout = panelclocklayout
End If
paneltimetext.Font = New Font(Skins.panelclocktextfont, Skins.panelclocktextsize, Skins.panelclocktextstyle)
timepanel.Size = New Size(paneltimetext.Width + 3, timepanel.Height)
paneltimetext.Location = New Point(0, Skins.panelclocktexttop)
timepanel.Show()
Else
timepanel.Hide()
End If
If boughtapplaunchershutdown = True Then
ShutdownToolStripMenuItem.Visible = True
unitySeperator.Visible = True
If boughtshutdownicon = True Then
ShutdownToolStripMenuItem.Image = shutdowniconlauncher
End If
Else
ShutdownToolStripMenuItem.Visible = False
unitySeperator.Visible = False
End If
If boughtunitymodetoggle = True Then
UnityToolStripMenuItem.Visible = True
unitySeperator.Visible = True
If boughtunitytoggleicon = True Then
UnityToolStripMenuItem.Image = unitytoggleiconlauncher
End If
Else
UnityToolStripMenuItem.Visible = False
End If
If boughtterminalicon = True Then
TerminalToolStripMenuItem.Image = terminaliconlauncher
End If
If boughttitlebar = False Then
Skins.titlebarheight = 0
End If
If boughtwindowborders = False Then
Skins.borderwidth = 0
End If
setuppanelbuttons()
ApplicationsToolStripMenuItem.BackColor = Skins.applauncherbuttoncolour
'Fixes an AL bug with ADVAL
If Skins.useClassicAppLauncher = False Then
For Each item In ApplicationsToolStripMenuItem.DropDownItems
item.Visible = False
Next
End If
End Sub
Public Sub setuppanelbuttons()
If boughtpanelbuttons Then
If Knowledge_Input.Visible Then pnlpanelbuttonknowledgeinput.Show() Else pnlpanelbuttonknowledgeinput.Hide()
If Shiftorium.Visible Then pnlpanelbuttonshiftorium.Show() Else pnlpanelbuttonshiftorium.Hide()
If Clock.Visible Then pnlpanelbuttonclock.Show() Else pnlpanelbuttonclock.Hide()
If Shifter.Visible Then pnlpanelbuttonshifter.Show() Else pnlpanelbuttonshifter.Hide()
If Colour_Picker.Visible Then pnlpanelbuttoncolourpicker.Show() Else pnlpanelbuttoncolourpicker.Hide()
If infobox.Visible Then pnlpanelbuttoninfobox.Show() Else pnlpanelbuttoninfobox.Hide()
If Pong.Visible Then pnlpanelbuttonpong.Show() Else pnlpanelbuttonpong.Hide()
If File_Skimmer.Visible Then pnlpanelbuttonfileskimmer.Show() Else pnlpanelbuttonfileskimmer.Hide()
If File_Opener.Visible Then pnlpanelbuttonfileopener.Show() Else pnlpanelbuttonfileopener.Hide()
If File_Saver.Visible Then pnlpanelbuttonfilesaver.Show() Else pnlpanelbuttonfilesaver.Hide()
If TextPad.Visible Then pnlpanelbuttontextpad.Show() Else pnlpanelbuttontextpad.Hide()
If Graphic_Picker.Visible Then pnlpanelbuttongraphicpicker.Show() Else pnlpanelbuttongraphicpicker.Hide()
If Skin_Loader.Visible Then pnlpanelbuttonskinloader.Show() Else pnlpanelbuttonskinloader.Hide()
If ArtPad.Visible Then pnlpanelbuttonartpad.Show() Else pnlpanelbuttonartpad.Hide()
If Calculator.Visible Then pnlpanelbuttoncalculator.Show() Else pnlpanelbuttoncalculator.Hide()
If Audio_Player.Visible Then pnlpanelbuttonaudioplayer.Show() Else pnlpanelbuttonaudioplayer.Hide()
If Web_Browser.Visible Then pnlpanelbuttonwebbrowser.Show() Else pnlpanelbuttonwebbrowser.Hide()
If Video_Player.Visible Then pnlpanelbuttonvideoplayer.Show() Else pnlpanelbuttonvideoplayer.Hide()
If Name_Changer.Visible Then pnlpanelbuttonnamechanger.Show() Else pnlpanelbuttonnamechanger.Hide()
If Icon_Manager.Visible Then pnlpanelbuttoniconmanager.Show() Else pnlpanelbuttoniconmanager.Hide()
If Bitnote_Wallet.Visible Then pnlpanelbuttonbitnotewallet.Show() Else pnlpanelbuttonbitnotewallet.Hide()
If Bitnote_Digger.Visible Then pnlpanelbuttonbitnotedigger.Show() Else pnlpanelbuttonbitnotedigger.Hide()
If Skinshifter.Visible Then pnlpanelbuttonskinshifter.Show() Else pnlpanelbuttonskinshifter.Hide()
If Shiftnet.Visible Then pnlpanelbuttonshiftnet.Show() Else pnlpanelbuttonshiftnet.Hide()
If Downloader.Visible Then pnlpanelbuttondownloader.Show() Else pnlpanelbuttondownloader.Hide()
If Dodge.Visible Then pnlpanelbuttondodge.Show() Else pnlpanelbuttondodge.Hide()
If Downloadmanager.Visible Then pnlpanelbuttondownloadmanager.Show() Else pnlpanelbuttondownloadmanager.Hide()
If Installer.Visible Then pnlpanelbuttoninstaller.Show() Else pnlpanelbuttoninstaller.Hide()
If Snakey.Visible Then pnl_panelbuttonsnakey.Show() Else pnl_panelbuttonsnakey.Hide()
If systeminfo.Visible Then pnlpanelbuttonsysinfo.Show() Else pnlpanelbuttonsysinfo.Hide()
If OrcWrite.Visible Then pnlpanelbuttonorcwrite.Show() Else pnlpanelbuttonorcwrite.Hide()
If FloodGate_Manager.Visible Then pnlpanelbuttonfloodgate.Show() Else pnlpanelbuttonfloodgate.Hide()
If Labyrinth.Visible Then pnlpanelbuttonmaze.Show() Else pnlpanelbuttonmaze.Hide()
If VirusScanner.Visible Then pnlpanelbuttonvirusscanner.Show() Else pnlpanelbuttonvirusscanner.Hide()
If Terminal.Visible Then pnlpanelbuttonterminal.Show() Else pnlpanelbuttonterminal.Hide()
tbknowledgeinputicon.Image = knowledgeinputiconpanelbutton.Clone
tbknowledgeinputtext.Text = knowledgeinputname
tbshiftoriumtext.Text = shiftoriumname
tbclocktext.Text = clockname
tbshiftertext.Text = shiftername
tbcolourpickertext.Text = colourpickername
tbpongtext.Text = pongname
tbfileskimmertext.Text = fileskimmername
tbfileopenertext.Text = fileopenername
tbfilesavertext.Text = filesavername
tbtextpadtext.Text = textpadname
tbgraphicpickertext.Text = graphicpickername
tbskinloadertext.Text = skinloadername
tbartpadtext.Text = artpadname
tbcalculatortext.Text = calculatorname
tbaudioplayertext.Text = audioplayername
tbwebbrowsertext.Text = webbrowsername
tbvideoplayertext.Text = videoplayername
tbnamechangertext.Text = namechangername
tbiconmanagertext.Text = iconmanagername
tbbitnotewallettext.Text = bitnotewalletname
tbbitnotediggertext.Text = bitnotediggername
tbskinshiftertext.Text = skinshiftername
tbshiftnettext.Text = shiftnetname
tbdownloadertext.Text = downloadername
tbdodgetext.Text = dodgename
tbdownloadmanagertext.Text = downloadmanagername
tbinstallertext.Text = installername
tbsnakeytext.Text = snakeyname
tbsysinfotext.Text = sysinfoname
tborcwritetext.Text = orcwritename
tbfloodgatetext.Text = floodgatename
tbmazetext.Text = mazename
tbvirusscannertext.Text = virusscannername
tbterminaltext.Text = terminalname
pnlpanelbuttonknowledgeinput.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonshiftorium.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonclock.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonshifter.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttoncolourpicker.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttoninfobox.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonpong.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonfileskimmer.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonfileopener.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonfilesaver.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttontextpad.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttongraphicpicker.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonskinloader.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonartpad.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttoncalculator.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonaudioplayer.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonwebbrowser.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonvideoplayer.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonnamechanger.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttoniconmanager.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonbitnotewallet.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonbitnotedigger.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonskinshifter.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonshiftnet.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttondownloader.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttondodge.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttondownloadmanager.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttoninstaller.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnl_panelbuttonsnakey.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonsysinfo.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonorcwrite.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonfloodgate.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonmaze.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonvirusscanner.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
pnlpanelbuttonterminal.Margin = New Padding(0, Skins.panelbuttonfromtop, Skins.panelbuttongap, 0)
setpanelbuttonappearnce(pnlpanelbuttonknowledgeinput, tbknowledgeinputicon, tbknowledgeinputtext, False)
setpanelbuttonappearnce(pnlpanelbuttonshiftorium, tbshiftoriumicon, tbshiftoriumtext, False)
setpanelbuttonappearnce(pnlpanelbuttonclock, tbclockicon, tbclocktext, False)
setpanelbuttonappearnce(pnlpanelbuttonshifter, tbshiftericon, tbshiftertext, False)
setpanelbuttonappearnce(pnlpanelbuttoncolourpicker, tbcolourpickericon, tbcolourpickertext, False)
setpanelbuttonappearnce(pnlpanelbuttoninfobox, tbinfoboxicon, tbinfoboxtext, False)
setpanelbuttonappearnce(pnlpanelbuttonpong, tbpongicon, tbpongtext, False)
setpanelbuttonappearnce(pnlpanelbuttonfileskimmer, tbfileskimmericon, tbfileskimmertext, False)
setpanelbuttonappearnce(pnlpanelbuttonfileopener, tbfileopenericon, tbfileopenertext, False)
setpanelbuttonappearnce(pnlpanelbuttonfilesaver, tbfilesavericon, tbfilesavertext, False)
setpanelbuttonappearnce(pnlpanelbuttontextpad, tbtextpadicon, tbtextpadtext, False)
setpanelbuttonappearnce(pnlpanelbuttongraphicpicker, tbgraphicpickericon, tbgraphicpickertext, False)
setpanelbuttonappearnce(pnlpanelbuttonskinloader, tbskinloadericon, tbskinloadertext, False)
setpanelbuttonappearnce(pnlpanelbuttonartpad, tbartpadicon, tbartpadtext, False)
setpanelbuttonappearnce(pnlpanelbuttoncalculator, tbcalculatoricon, tbcalculatortext, False)
setpanelbuttonappearnce(pnlpanelbuttonaudioplayer, tbaudioplayericon, tbaudioplayertext, False)
setpanelbuttonappearnce(pnlpanelbuttonwebbrowser, tbwebbrowsericon, tbwebbrowsertext, False)
setpanelbuttonappearnce(pnlpanelbuttonvideoplayer, tbvideoplayericon, tbvideoplayertext, False)
setpanelbuttonappearnce(pnlpanelbuttonnamechanger, tbnamechangericon, tbnamechangertext, False)
setpanelbuttonappearnce(pnlpanelbuttoniconmanager, tbiconmanagericon, tbiconmanagertext, False)
setpanelbuttonappearnce(pnlpanelbuttonbitnotewallet, tbbitnotewalleticon, tbbitnotewallettext, False)
setpanelbuttonappearnce(pnlpanelbuttonbitnotedigger, tbbitnotediggericon, tbbitnotediggertext, False)
setpanelbuttonappearnce(pnlpanelbuttonskinshifter, tbskinshiftericon, tbskinshiftertext, False)
setpanelbuttonappearnce(pnlpanelbuttonshiftnet, tbshiftneticon, tbshiftnettext, False)
setpanelbuttonappearnce(pnlpanelbuttondownloader, tbdownloadericon, tbdownloadertext, False)
setpanelbuttonappearnce(pnlpanelbuttondodge, tbdodgeicon, tbdodgetext, False)
setpanelbuttonappearnce(pnlpanelbuttondownloadmanager, tbdownloadmanagericon, tbdownloadmanagertext, False)
setpanelbuttonappearnce(pnlpanelbuttoninstaller, tbinstallericon, tbinstallertext, False)
setpanelbuttonappearnce(pnl_panelbuttonsnakey, tbsnakeyicon, tbsnakeytext, False)
setpanelbuttonappearnce(pnlpanelbuttonsysinfo, tbsysinfoicon, tbsysinfotext, False)
setpanelbuttonappearnce(pnlpanelbuttonorcwrite, tborcwriteicon, tborcwritetext, False)
setpanelbuttonappearnce(pnlpanelbuttonfloodgate, tbfloodgateicon, tbfloodgatetext, False)
setpanelbuttonappearnce(pnlpanelbuttonmaze, tbmazeicon, tbmazetext, False)
setpanelbuttonappearnce(pnlpanelbuttonvirusscanner, tbvirusscannericon, tbvirusscannertext, False)
setpanelbuttonappearnce(pnlpanelbuttonterminal, tbterminalicon, tbterminaltext, False)
setuppanelbuttonicons(tbknowledgeinputicon, knowledgeinputiconpanelbutton)
setuppanelbuttonicons(tbshiftoriumicon, shiftoriumiconpanelbutton)
setuppanelbuttonicons(tbclockicon, clockiconpanelbutton)
setuppanelbuttonicons(tbshiftericon, shiftericonpanelbutton)
setuppanelbuttonicons(tbcolourpickericon, colourpickericonpanelbutton)
setuppanelbuttonicons(tbinfoboxicon, infoboxiconpanelbutton)
setuppanelbuttonicons(tbpongicon, pongiconpanelbutton)
setuppanelbuttonicons(tbfileskimmericon, fileskimmericonpanelbutton)
setuppanelbuttonicons(tbfileopenericon, fileopenericonpanelbutton)
setuppanelbuttonicons(tbfilesavericon, filesavericonpanelbutton)
setuppanelbuttonicons(tbtextpadicon, textpadiconpanelbutton)
setuppanelbuttonicons(tbgraphicpickericon, graphicpickericonpanelbutton)
setuppanelbuttonicons(tbskinloadericon, skinloadericonpanelbutton)
setuppanelbuttonicons(tbartpadicon, artpadiconpanelbutton)
setuppanelbuttonicons(tbcalculatoricon, calculatoriconpanelbutton)
setuppanelbuttonicons(tbaudioplayericon, audioplayericonpanelbutton)
setuppanelbuttonicons(tbwebbrowsericon, webbrowsericonpanelbutton)
setuppanelbuttonicons(tbvideoplayericon, videoplayericonpanelbutton)
setuppanelbuttonicons(tbnamechangericon, namechangericonpanelbutton)
setuppanelbuttonicons(tbiconmanagericon, iconmanagericonpanelbutton)
setuppanelbuttonicons(tbbitnotewalleticon, bitnotewalleticonpanelbutton)
setuppanelbuttonicons(tbbitnotediggericon, bitnotediggericonpanelbutton)
setuppanelbuttonicons(tbskinshiftericon, skinshiftericonpanelbutton)
setuppanelbuttonicons(tbshiftneticon, shiftneticonpanelbutton)
setuppanelbuttonicons(tbdownloadericon, downloadericonpanelbutton)
setuppanelbuttonicons(tbdodgeicon, dodgeiconpanelbutton)
setuppanelbuttonicons(tbdownloadmanagericon, downloadmanagericonpanelbutton)
setuppanelbuttonicons(tbinstallericon, installericonpanelbutton)
setuppanelbuttonicons(tbsnakeyicon, snakeyiconpanelbutton)
setuppanelbuttonicons(tbsysinfoicon, sysinfoiconpanelbutton)
setuppanelbuttonicons(tborcwriteicon, orcwriteiconpanelbutton)
setuppanelbuttonicons(tbfloodgateicon, floodgateiconpanelbutton)
setuppanelbuttonicons(tbmazeicon, mazeiconpanelbutton)
setuppanelbuttonicons(tbvirusscannericon, virusscannericonpanelbutton)
setuppanelbuttonicons(tbterminalicon, terminaliconpanelbutton)
pnlpanelbuttonholder.Padding = New Padding(Skins.panelbuttoninitialgap, 0, 0, 0)
End If
End Sub
Public Sub setuppanelbuttonicons(ByVal tbicon As PictureBox, ByVal image As Image)
tbicon.Image = image
tbicon.Size = New Size(Skins.panelbuttoniconsize, Skins.panelbuttoniconsize)
End Sub
Public Sub setpanelbuttonappearnce(ByVal panelbutton As Panel, ByVal icon As PictureBox, ByVal text As Label, ByVal sendback As Boolean)
If sendback = True Then panelbutton.SendToBack()
icon.Location = New Point(Skins.panelbuttoniconside, Skins.panelbuttonicontop)
icon.Size = New Size(Skins.panelbuttoniconsize, Skins.panelbuttoniconsize)
panelbutton.Size = New Size(Skins.panelbuttonwidth, Skins.panelbuttonheight)
panelbutton.BackColor = Skins.panelbuttoncolour
panelbutton.BackgroundImage = Skins.panelbutton
If Skins.panelbutton Is Nothing Then Else panelbutton.BackColor = Color.Transparent
panelbutton.BackgroundImageLayout = Skins.panelbuttonlayout
text.ForeColor = Skins.panelbuttontextcolour
text.Font = New Font(Skins.panelbuttontextfont, Skins.panelbuttontextsize, Skins.panelbuttontextstyle)
text.Location = New Point(Skins.panelbuttontextside, Skins.panelbuttontexttop)
End Sub
Private Sub ShiftOSDesktop_keydown(sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.T AndAlso e.Control Then
Terminal.Show()
Terminal.BringToFront()
If terminalfullscreen = True Then Terminal.fullterminal()
End If
End Sub
Public Sub closeeverything()
If boughtmultitasking = False Then
For Each f In My.Application.OpenForms.Cast(Of Form)().ToArray()
Select Case f.Name
Case "ShiftOSDesktop", "HijackScreen", "ShiftOS Save File Converter"
'do nothing
Case Else
f.Close()
End Select
Next
End If
If forceclose = True Then
For Each f In My.Application.OpenForms.Cast(Of Form)().ToArray()
Select Case f.Name
Case "ShiftOSDesktop", "HijackScreen", "ShiftOS Save File Converter"
'do nothing
Case Else
f.Close()
End Select
Next
End If
forceclose = False
End Sub
Public Sub shutdownshiftos()
forceclose = True
closeeverything()
Terminal.txtterm.Text = Terminal.txtterm.Text & Environment.NewLine & "System Is Shutting Down..." & Environment.NewLine
log = log & My.Computer.Clock.LocalTime & " ShutDown ShiftOS with " & codepoints & " Code Points!" & Environment.NewLine
savegame()
Terminal.tmrshutdown.Start()
End Sub
Public Sub addtitlebars()
'attempted future code to dramatically increase development time and simplify code
'For Each f In My.Application.OpenForms.Cast(Of Form)().ToArray()
' Select Case f.Name
' Case "ShiftOSDesktop", "HijackScreen", "ShiftOS Save File Converter"
' 'do nothing
' Case Else
' If f.Visible = True Then
' f.titlebar.Show()
' f.setuptitlebar()
' f.Size = New Size(f.Width, f.Size.Height + f.titlebar.Height)
' End If
' End Select
'Next
'This cause windows to shrink with the new skinning system
'If Knowledge_Input.Visible = True Then
' Knowledge_Input.titlebar.Show()
' Knowledge_Input.setuptitlebar()
' Knowledge_Input.Size = New Size(Knowledge_Input.Width, Knowledge_Input.Size.Height + Knowledge_Input.titlebar.Height)
'End If
'If Shiftorium.Visible = True Then
' Shiftorium.titlebar.Show()
' Shiftorium.setuptitlebar()
' Shiftorium.Size = New Size(Shiftorium.Width, Shiftorium.Size.Height + Shiftorium.titlebar.Height)
'End If
'If Clock.Visible = True Then
' Clock.titlebar.Show()
' Clock.setuptitlebar()
' Clock.Size = New Size(Clock.Width, Clock.Size.Height + Clock.titlebar.Height)
'End If
'If Shifter.Visible = True Then
' Shifter.titlebar.Show()
' Shifter.setuptitlebar()
' Shifter.Size = New Size(Shifter.Width, Shifter.Size.Height + Shifter.titlebar.Height)
'End If
'If Colour_Picker.Visible = True Then
' Colour_Picker.titlebar.Show()
' Colour_Picker.setuptitlebar()
' Colour_Picker.Size = New Size(Colour_Picker.Width, Colour_Picker.Size.Height + Colour_Picker.titlebar.Height)
'End If
'If infobox.Visible = True Then
' infobox.titlebar.Show()
' infobox.setuptitlebar()
' infobox.Size = New Size(infobox.Width, infobox.Size.Height + infobox.titlebar.Height)
'End If
'If Pong.Visible = True Then
' Pong.titlebar.Show()
' Pong.setuptitlebar()
' Pong.Size = New Size(Pong.Width, Pong.Size.Height + Pong.titlebar.Height)
'End If
'If File_Skimmer.Visible = True Then
' File_Skimmer.titlebar.Show()
' File_Skimmer.setuptitlebar()
' File_Skimmer.Size = New Size(File_Skimmer.Width, File_Skimmer.Size.Height + File_Skimmer.titlebar.Height)
'End If
'If TextPad.Visible = True Then
' TextPad.titlebar.Show()
' TextPad.setuptitlebar()
' TextPad.Size = New Size(TextPad.Width, TextPad.Size.Height + TextPad.titlebar.Height)
'End If
'If File_Opener.Visible = True Then
' File_Opener.titlebar.Show()
' File_Opener.setuptitlebar()
' File_Opener.Size = New Size(File_Opener.Width, File_Opener.Size.Height + File_Opener.titlebar.Height)
'End If
'If File_Saver.Visible = True Then
' File_Saver.titlebar.Show()
' File_Saver.setuptitlebar()
' File_Saver.Size = New Size(File_Saver.Width, File_Saver.Size.Height + File_Saver.titlebar.Height)
'End If
'If Graphic_Picker.Visible = True Then
' Graphic_Picker.titlebar.Show()
' Graphic_Picker.setuptitlebar()
' Graphic_Picker.Size = New Size(Graphic_Picker.Width, Graphic_Picker.Size.Height + Graphic_Picker.titlebar.Height)
'End If
'If Skin_Loader.Visible = True Then
' Skin_Loader.titlebar.Show()
' Skin_Loader.setuptitlebar()
' Skin_Loader.Size = New Size(Skin_Loader.Width, Skin_Loader.Size.Height + Skin_Loader.titlebar.Height)
'End If
''If ArtPad.Visible = True Then
'' ArtPad.titlebar.Show()
'' ArtPad.setuptitlebar()
'' ArtPad.Size = New Size(ArtPad.Width, ArtPad.Size.Height + ArtPad.titlebar.Height)
''End If
'If Calculator.Visible = True Then
' Calculator.titlebar.Show()
' Calculator.setuptitlebar()
' Calculator.Size = New Size(Calculator.Width, Calculator.Size.Height + Calculator.titlebar.Height)
'End If
'If Audio_Player.Visible = True Then
' Audio_Player.titlebar.Show()
' Audio_Player.setuptitlebar()
' Audio_Player.Size = New Size(Audio_Player.Width, Audio_Player.Size.Height + Audio_Player.titlebar.Height)
'End If
'If Web_Browser.Visible = True Then
' Web_Browser.titlebar.Show()
' Web_Browser.setuptitlebar()
' Web_Browser.Size = New Size(Web_Browser.Width, Web_Browser.Size.Height + Web_Browser.titlebar.Height)
'End If
'If Name_Changer.Visible = True Then
' Name_Changer.titlebar.Show()
' Name_Changer.setuptitlebar()
' Name_Changer.Size = New Size(Name_Changer.Width, Name_Changer.Size.Height + Name_Changer.titlebar.Height)
'End If
'If Icon_Manager.Visible = True Then
' Icon_Manager.titlebar.Show()
' Icon_Manager.setuptitlebar()
' Icon_Manager.Size = New Size(Icon_Manager.Width, Icon_Manager.Size.Height + Icon_Manager.titlebar.Height)
'End If
'If Bitnote_Wallet.Visible = True Then
' Bitnote_Wallet.titlebar.Show()
' Bitnote_Wallet.setuptitlebar()
' Bitnote_Wallet.Size = New Size(Bitnote_Wallet.Width, Bitnote_Wallet.Size.Height + Bitnote_Wallet.titlebar.Height)
'End If
'If Bitnote_Digger.Visible = True Then
' Bitnote_Digger.titlebar.Show()
' Bitnote_Digger.setuptitlebar()
' Bitnote_Digger.Size = New Size(Bitnote_Digger.Width, Bitnote_Digger.Size.Height + Bitnote_Digger.titlebar.Height)
'End If
'If Skinshifter.Visible = True Then
' Skinshifter.titlebar.Show()
' Skinshifter.setuptitlebar()
' Skinshifter.Size = New Size(Skinshifter.Width, Skinshifter.Size.Height + Skinshifter.titlebar.Height)
'End If
'If Shiftnet.Visible = True Then
' Shiftnet.titlebar.Show()
' Shiftnet.setuptitlebar()
' Shiftnet.Size = New Size(Shiftnet.Width, Shiftnet.Size.Height + Shiftnet.titlebar.Height)
'End If
'If Downloader.Visible = True Then
' Downloader.titlebar.Show()
' Downloader.setuptitlebar()
' Downloader.Size = New Size(Downloader.Width, Downloader.Size.Height + Downloader.titlebar.Height)
'End If
'If Dodge.Visible = True Then
' Dodge.titlebar.Show()
' Dodge.setuptitlebar()
' Dodge.Size = New Size(Dodge.Width, Dodge.Size.Height + Dodge.titlebar.Height)
'End If
'If Downloadmanager.Visible = True Then
' Downloadmanager.titlebar.Show()
' Downloadmanager.setuptitlebar()
' Downloadmanager.Size = New Size(Downloadmanager.Width, Downloadmanager.Size.Height + Downloadmanager.titlebar.Height)
'End If
'If Installer.Visible = True Then
' Installer.titlebar.Show()
' Installer.setuptitlebar()
' Installer.Size = New Size(Installer.Width, Installer.Size.Height + Installer.titlebar.Height)
'End If
'If Snakey.Visible = True Then
' Snakey.titlebar.Show()
' Snakey.setuptitlebar()
' Snakey.Size = New Size(Installer.Width, Installer.Size.Height + Installer.titlebar.Height)
'End If
'If systeminfo.Visible = True Then
' systeminfo.titlebar.Show()
' systeminfo.setuptitlebar()
' systeminfo.Size = New Size(Installer.Width, Installer.Size.Height + Installer.titlebar.Height)
'End If
'If OrcWrite.Visible = True Then
' OrcWrite.titlebar.Show()
' OrcWrite.setuptitlebar()
' OrcWrite.Size = New Size(Installer.Width, Installer.Size.Height + Installer.titlebar.Height)
'End If
'If FloodGate_Manager.Visible = True Then
' FloodGate_Manager.titlebar.Show()
' FloodGate_Manager.setuptitlebar()
' FloodGate_Manager.Size = New Size(Installer.Width, Installer.Size.Height + Installer.titlebar.Height)
'End If
'If VirusScanner.Visible = True Then
' VirusScanner.titlebar.Show()
' VirusScanner.setuptitlebar()
' VirusScanner.Size = New Size(Installer.Width, Installer.Size.Height + Installer.titlebar.Height)
'End If
'If template.Visible = True Then
' template.titlebar.Show()
' template.setuptitlebar()
' template.Size = New Size(ArtPad.Width, ArtPad.Size.Height + ArtPad.titlebar.Height)
'End If
'If terminalfullscreen = False Then
' If Terminal.Visible = True Then
' Terminal.titlebar.Show()
' Terminal.setuptitlebar()
' Terminal.Size = New Size(Terminal.Width, Terminal.Size.Height + Terminal.titlebar.Height)
' End If
'End If
End Sub
Public Sub addborders()
Knowledge_Input.pgleft.Show()
Knowledge_Input.pgbottom.Show()
Knowledge_Input.pgright.Show()
Knowledge_Input.Size = New Size(Knowledge_Input.Width + Knowledge_Input.pgleft.Width + Knowledge_Input.pgright.Width, Knowledge_Input.Height + Knowledge_Input.pgbottom.Height)
If boughttitlebar = True Then Knowledge_Input.setuptitlebar()
Shiftorium.pgleft.Show()
Shiftorium.pgbottom.Show()
Shiftorium.pgright.Show()
Shiftorium.Size = New Size(Shiftorium.Width + Shiftorium.pgleft.Width + Shiftorium.pgright.Width, Shiftorium.Height + Shiftorium.pgbottom.Height)
If boughttitlebar = True Then Shiftorium.setuptitlebar()
Clock.pgleft.Show()
Clock.pgbottom.Show()
Clock.pgright.Show()
Clock.Size = New Size(Clock.Width + Clock.pgleft.Width + Clock.pgright.Width, Clock.Height + Clock.pgbottom.Height)
If boughttitlebar = True Then Clock.setuptitlebar()
Shifter.pgleft.Show()
Shifter.pgbottom.Show()
Shifter.pgright.Show()
Shifter.Size = New Size(Shifter.Width + Shifter.pgleft.Width + Shifter.pgright.Width, Shifter.Height + Shifter.pgbottom.Height)
If boughttitlebar = True Then Shifter.setuptitlebar()
Colour_Picker.pgleft.Show()
Colour_Picker.pgbottom.Show()
Colour_Picker.pgright.Show()
Colour_Picker.Size = New Size(Colour_Picker.Width + Colour_Picker.pgleft.Width + Colour_Picker.pgright.Width, Colour_Picker.Height + Colour_Picker.pgbottom.Height)
If boughttitlebar = True Then Colour_Picker.setuptitlebar()
infobox.pgleft.Show()
infobox.pgbottom.Show()
infobox.pgright.Show()
infobox.Size = New Size(infobox.Width + infobox.pgleft.Width + infobox.pgright.Width, infobox.Height + infobox.pgbottom.Height)
If boughttitlebar = True Then infobox.setuptitlebar()
Pong.pgleft.Show()
Pong.pgbottom.Show()
Pong.pgright.Show()
Pong.Size = New Size(Pong.Width + Pong.pgleft.Width + Pong.pgright.Width, Pong.Height + Pong.pgbottom.Height)
If boughttitlebar = True Then Pong.setuptitlebar()
File_Skimmer.pgleft.Show()
File_Skimmer.pgbottom.Show()
File_Skimmer.pgright.Show()
File_Skimmer.Size = New Size(File_Skimmer.Width + File_Skimmer.pgleft.Width + File_Skimmer.pgright.Width, File_Skimmer.Height + File_Skimmer.pgbottom.Height)
If boughttitlebar = True Then File_Skimmer.setuptitlebar()
TextPad.pgleft.Show()
TextPad.pgbottom.Show()
TextPad.pgright.Show()
TextPad.Size = New Size(File_Skimmer.Width + TextPad.pgleft.Width + TextPad.pgright.Width, TextPad.Height + TextPad.pgbottom.Height)
If boughttitlebar = True Then TextPad.setuptitlebar()
File_Opener.pgleft.Show()
File_Opener.pgbottom.Show()
File_Opener.pgright.Show()
File_Opener.Size = New Size(File_Skimmer.Width + File_Opener.pgleft.Width + File_Opener.pgright.Width, File_Opener.Height + File_Opener.pgbottom.Height)
If boughttitlebar = True Then File_Opener.setuptitlebar()
File_Saver.pgleft.Show()
File_Saver.pgbottom.Show()
File_Saver.pgright.Show()
File_Saver.Size = New Size(File_Skimmer.Width + File_Saver.pgleft.Width + File_Saver.pgright.Width, File_Saver.Height + File_Saver.pgbottom.Height)
If boughttitlebar = True Then File_Saver.setuptitlebar()
Graphic_Picker.pgleft.Show()
Graphic_Picker.pgbottom.Show()
Graphic_Picker.pgright.Show()
Graphic_Picker.Size = New Size(Graphic_Picker.Width + Graphic_Picker.pgleft.Width + Graphic_Picker.pgright.Width, Graphic_Picker.Height + Graphic_Picker.pgbottom.Height)
If boughttitlebar = True Then Graphic_Picker.setuptitlebar()
Skin_Loader.pgleft.Show()
Skin_Loader.pgbottom.Show()
Skin_Loader.pgright.Show()
Skin_Loader.Size = New Size(Skin_Loader.Width + Skin_Loader.pgleft.Width + Skin_Loader.pgright.Width, Skin_Loader.Height + Skin_Loader.pgbottom.Height)
If boughttitlebar = True Then Skin_Loader.setuptitlebar()
ArtPad.pgleft.Show()
ArtPad.pgbottom.Show()
ArtPad.pgright.Show()
ArtPad.Size = New Size(ArtPad.Width + ArtPad.pgleft.Width + ArtPad.pgright.Width, ArtPad.Height + ArtPad.pgbottom.Height)
If boughttitlebar = True Then ArtPad.setuptitlebar()
Calculator.pgleft.Show()
Calculator.pgbottom.Show()
Calculator.pgright.Show()
Calculator.Size = New Size(Calculator.Width + Calculator.pgleft.Width + Calculator.pgright.Width, Calculator.Height + Calculator.pgbottom.Height)
If boughttitlebar = True Then Calculator.setuptitlebar()
Audio_Player.pgleft.Show()
Audio_Player.pgbottom.Show()
Audio_Player.pgright.Show()
Audio_Player.Size = New Size(Audio_Player.Width + Audio_Player.pgleft.Width + Audio_Player.pgright.Width, Audio_Player.Height + Audio_Player.pgbottom.Height)
If boughttitlebar = True Then Audio_Player.setuptitlebar()
Web_Browser.pgleft.Show()
Web_Browser.pgbottom.Show()
Web_Browser.pgright.Show()
Web_Browser.Size = New Size(Web_Browser.Width + Web_Browser.pgleft.Width + Web_Browser.pgright.Width, Web_Browser.Height + Web_Browser.pgbottom.Height)
If boughttitlebar = True Then Web_Browser.setuptitlebar()
Video_Player.pgleft.Show()
Video_Player.pgbottom.Show()
Video_Player.pgright.Show()
Video_Player.Size = New Size(Video_Player.Width + Video_Player.pgleft.Width + Video_Player.pgright.Width, Video_Player.Height + Video_Player.pgbottom.Height)
If boughttitlebar = True Then Video_Player.setuptitlebar()
Name_Changer.pgleft.Show()
Name_Changer.pgbottom.Show()
Name_Changer.pgright.Show()
Name_Changer.Size = New Size(Name_Changer.Width + Name_Changer.pgleft.Width + Name_Changer.pgright.Width, Name_Changer.Height + Name_Changer.pgbottom.Height)
If boughttitlebar = True Then Name_Changer.setuptitlebar()
Icon_Manager.pgleft.Show()
Icon_Manager.pgbottom.Show()
Icon_Manager.pgright.Show()
Icon_Manager.Size = New Size(Icon_Manager.Width + Icon_Manager.pgleft.Width + Icon_Manager.pgright.Width, Icon_Manager.Height + Icon_Manager.pgbottom.Height)
If boughttitlebar = True Then Icon_Manager.setuptitlebar()
Bitnote_Wallet.pgleft.Show()
Bitnote_Wallet.pgbottom.Show()
Bitnote_Wallet.pgright.Show()
Bitnote_Wallet.Size = New Size(Bitnote_Wallet.Width + Bitnote_Wallet.pgleft.Width + Bitnote_Wallet.pgright.Width, Bitnote_Wallet.Height + Bitnote_Wallet.pgbottom.Height)
If boughttitlebar = True Then Bitnote_Wallet.setuptitlebar()
Bitnote_Digger.pgleft.Show()
Bitnote_Digger.pgbottom.Show()
Bitnote_Digger.pgright.Show()
Bitnote_Digger.Size = New Size(Bitnote_Digger.Width + Bitnote_Digger.pgleft.Width + Bitnote_Digger.pgright.Width, Bitnote_Digger.Height + Bitnote_Digger.pgbottom.Height)
If boughttitlebar = True Then Bitnote_Digger.setuptitlebar()
Skinshifter.pgleft.Show()
Skinshifter.pgbottom.Show()
Skinshifter.pgright.Show()
Skinshifter.Size = New Size(Skinshifter.Width + Skinshifter.pgleft.Width + Skinshifter.pgright.Width, Skinshifter.Height + Skinshifter.pgbottom.Height)
If boughttitlebar = True Then Skinshifter.setuptitlebar()
Shiftnet.pgleft.Show()
Shiftnet.pgbottom.Show()
Shiftnet.pgright.Show()
Shiftnet.Size = New Size(Shiftnet.Width + Shiftnet.pgleft.Width + Shiftnet.pgright.Width, Shiftnet.Height + Shiftnet.pgbottom.Height)
If boughttitlebar = True Then Shiftnet.setuptitlebar()
Downloader.pgleft.Show()
Downloader.pgbottom.Show()
Downloader.pgright.Show()
Downloader.Size = New Size(Downloader.Width + Downloader.pgleft.Width + Downloader.pgright.Width, Downloader.Height + Downloader.pgbottom.Height)
If boughttitlebar = True Then Downloader.setuptitlebar()
Dodge.pgleft.Show()
Dodge.pgbottom.Show()
Dodge.pgright.Show()
Dodge.Size = New Size(Dodge.Width + Dodge.pgleft.Width + Dodge.pgright.Width, Dodge.Height + Dodge.pgbottom.Height)
If boughttitlebar = True Then Dodge.setuptitlebar()
Downloadmanager.pgleft.Show()
Downloadmanager.pgbottom.Show()
Downloadmanager.pgright.Show()
Downloadmanager.Size = New Size(Downloadmanager.Width + Downloadmanager.pgleft.Width + Downloadmanager.pgright.Width, Downloadmanager.Height + Downloadmanager.pgbottom.Height)
If boughttitlebar = True Then Downloadmanager.setuptitlebar()
Installer.pgleft.Show()
Installer.pgbottom.Show()
Installer.pgright.Show()
Installer.Size = New Size(Installer.Width + Installer.pgleft.Width + Installer.pgright.Width, Installer.Height + Installer.pgbottom.Height)
If boughttitlebar = True Then Installer.setuptitlebar()
Snakey.pgleft.Show()
Snakey.pgbottom.Show()
Snakey.pgright.Show()
Snakey.Size = New Size(Snakey.Width + Snakey.pgleft.Width + Snakey.pgright.Width, Snakey.Height + Snakey.pgbottom.Height)
If boughttitlebar = True Then Snakey.setuptitlebar()
systeminfo.pgleft.Show()
systeminfo.pgbottom.Show()
systeminfo.pgright.Show()
systeminfo.Size = New Size(systeminfo.Width + systeminfo.pgleft.Width + systeminfo.pgright.Width, systeminfo.Height + systeminfo.pgbottom.Height)
If boughttitlebar = True Then systeminfo.setuptitlebar()
OrcWrite.pgleft.Show()
OrcWrite.pgbottom.Show()
OrcWrite.pgright.Show()
OrcWrite.Size = New Size(OrcWrite.Width + OrcWrite.pgleft.Width + OrcWrite.pgright.Width, OrcWrite.Height + OrcWrite.pgbottom.Height)
If boughttitlebar = True Then OrcWrite.setuptitlebar()
FloodGate_Manager.pgleft.Show()
FloodGate_Manager.pgbottom.Show()
FloodGate_Manager.pgright.Show()
FloodGate_Manager.Size = New Size(FloodGate_Manager.Width + FloodGate_Manager.pgleft.Width + FloodGate_Manager.pgright.Width, FloodGate_Manager.Height + FloodGate_Manager.pgbottom.Height)
If boughttitlebar = True Then FloodGate_Manager.setuptitlebar()
VirusScanner.pgleft.Show()
VirusScanner.pgbottom.Show()
VirusScanner.pgright.Show()
VirusScanner.Size = New Size(VirusScanner.Width + VirusScanner.pgleft.Width + VirusScanner.pgright.Width, FloodGate_Manager.Height + FloodGate_Manager.pgbottom.Height)
If boughttitlebar = True Then VirusScanner.setuptitlebar()
template.pgleft.Show()
template.pgbottom.Show()
template.pgright.Show()
template.Size = New Size(template.Width + template.pgleft.Width + template.pgright.Width, template.Height + template.pgbottom.Height)
If boughttitlebar = True Then ArtPad.setuptitlebar()
If terminalfullscreen = False Then
Terminal.pgleft.Show()
Terminal.pgbottom.Show()
Terminal.pgright.Show()
Terminal.Size = New Size(Terminal.Width + Terminal.pgleft.Width + Terminal.pgright.Width, Terminal.Height + Terminal.pgbottom.Height)
If boughttitlebar = True Then Terminal.setuptitlebar()
End If
End Sub
Public Sub shiftwindowsontop()
If unitymode = True Then
Me.TopMost = True
Knowledge_Input.TopMost = False
Shiftorium.TopMost = False
Clock.TopMost = False
Shifter.TopMost = False
Colour_Picker.TopMost = False
infobox.TopMost = False
Pong.TopMost = False
File_Skimmer.TopMost = False
TextPad.TopMost = False
File_Opener.TopMost = False
File_Saver.TopMost = False
Graphic_Picker.TopMost = False
Skin_Loader.TopMost = False
ArtPad.TopMost = False
Calculator.TopMost = False
Audio_Player.TopMost = False
Web_Browser.TopMost = False
Video_Player.TopMost = False
Name_Changer.TopMost = False
Icon_Manager.TopMost = False
Bitnote_Wallet.TopMost = False
Bitnote_Digger.TopMost = False
Skinshifter.TopMost = False
Shiftnet.TopMost = False
Downloader.TopMost = False
Dodge.TopMost = False
Downloadmanager.TopMost = False
Installer.TopMost = False
Snakey.TopMost = False
systeminfo.TopMost = False
OrcWrite.TopMost = False
FloodGate_Manager.TopMost = False
VirusScanner.TopMost = False
template.TopMost = False
Terminal.TopMost = False
Else
Me.BringToFront()
Me.TopMost = False
Knowledge_Input.TopMost = True
Shiftorium.TopMost = True
Clock.TopMost = True
Shifter.TopMost = True
Colour_Picker.TopMost = True
infobox.TopMost = True
Pong.TopMost = True
File_Skimmer.TopMost = True
TextPad.TopMost = True
File_Opener.TopMost = True
File_Saver.TopMost = True
Graphic_Picker.TopMost = True
Skin_Loader.TopMost = True
ArtPad.TopMost = True
Calculator.TopMost = True
Audio_Player.TopMost = True
Web_Browser.TopMost = True
Video_Player.TopMost = True
Name_Changer.TopMost = True
Icon_Manager.TopMost = True
Bitnote_Wallet.TopMost = True
Bitnote_Digger.TopMost = True
Skinshifter.TopMost = True
Shiftnet.TopMost = True
Downloader.TopMost = True
Dodge.TopMost = True
Downloadmanager.TopMost = True
Installer.TopMost = True
Snakey.TopMost = True
systeminfo.TopMost = True
OrcWrite.TopMost = True
FloodGate_Manager.TopMost = True
VirusScanner.TopMost = True
template.TopMost = True
Terminal.TopMost = True
End If
End Sub
Public Sub loadskinfiles()
' Old skin loading
'If skinimages(0) = "" Then Else skinclosebutton(0) = GetImage(skinimages(0))
'If skinimages(1) = "" Then Else skinclosebutton(1) = GetImage(skinimages(1))
'If skinimages(2) = "" Then Else skinclosebutton(2) = GetImage(skinimages(2))
'If skinimages(3) = "" Then Else skintitlebar(0) = GetImage(skinimages(3))
'If skinimages(4) = "" Then Else skintitlebar(1) = GetImage(skinimages(4))
'If skinimages(5) = "" Then Else skintitlebar(2) = GetImage(skinimages(5))
'If skinimages(6) = "" Then Else skindesktopbackground(0) = GetImage(skinimages(6))
'If skinimages(7) = "" Then Else skindesktopbackground(1) = GetImage(skinimages(7))
'If skinimages(8) = "" Then Else skindesktopbackground(2) = GetImage(skinimages(8))
'If skinimages(9) = "" Then Else skinrollupbutton(0) = GetImage(skinimages(9))
'If skinimages(10) = "" Then Else skinrollupbutton(1) = GetImage(skinimages(10))
'If skinimages(11) = "" Then Else skinrollupbutton(2) = GetImage(skinimages(11))
'If skinimages(12) = "" Then Else skintitlebarrightcorner(0) = GetImage(skinimages(12))
'If skinimages(13) = "" Then Else skintitlebarrightcorner(1) = GetImage(skinimages(13))
'If skinimages(14) = "" Then Else skintitlebarrightcorner(2) = GetImage(skinimages(14))
'If skinimages(15) = "" Then Else skintitlebarleftcorner(0) = GetImage(skinimages(15))
'If skinimages(16) = "" Then Else skintitlebarleftcorner(1) = GetImage(skinimages(16))
'If skinimages(17) = "" Then Else skintitlebarleftcorner(2) = GetImage(skinimages(17))
'If skinimages(18) = "" Then Else skindesktoppanel(0) = GetImage(skinimages(18))
'If skinimages(19) = "" Then Else skindesktoppanel(1) = GetImage(skinimages(19))
'If skinimages(20) = "" Then Else skindesktoppanel(2) = GetImage(skinimages(20))
'If skinimages(21) = "" Then Else skindesktoppaneltime(0) = GetImage(skinimages(21))
'If skinimages(22) = "" Then Else skindesktoppaneltime(1) = GetImage(skinimages(22))
'If skinimages(23) = "" Then Else skindesktoppaneltime(2) = GetImage(skinimages(23))
'If skinimages(24) = "" Then Else skinapplauncherbutton(0) = GetImage(skinimages(24))
'If skinimages(25) = "" Then Else skinapplauncherbutton(1) = GetImage(skinimages(25))
'If skinimages(26) = "" Then Else skinapplauncherbutton(2) = GetImage(skinimages(26))
'If skinimages(27) = "" Then Else skinwindowborderleft(0) = GetImage(skinimages(27))
'If skinimages(28) = "" Then Else skinwindowborderleft(1) = GetImage(skinimages(28))
'If skinimages(29) = "" Then Else skinwindowborderleft(2) = GetImage(skinimages(29))
'If skinimages(30) = "" Then Else skinwindowborderright(0) = GetImage(skinimages(30))
'If skinimages(31) = "" Then Else skinwindowborderright(1) = GetImage(skinimages(31))
'If skinimages(32) = "" Then Else skinwindowborderright(2) = GetImage(skinimages(32))
'If skinimages(33) = "" Then Else skinwindowborderbottom(0) = GetImage(skinimages(33))
'If skinimages(34) = "" Then Else skinwindowborderbottom(1) = GetImage(skinimages(34))
'If skinimages(35) = "" Then Else skinwindowborderbottom(2) = GetImage(skinimages(35))
'If skinimages(36) = "" Then Else skinwindowborderbottomright(0) = GetImage(skinimages(36))
'If skinimages(37) = "" Then Else skinwindowborderbottomright(1) = GetImage(skinimages(37))
'If skinimages(38) = "" Then Else skinwindowborderbottomright(2) = GetImage(skinimages(38))
'If skinimages(39) = "" Then Else skinwindowborderbottomleft(0) = GetImage(skinimages(39))
'If skinimages(40) = "" Then Else skinwindowborderbottomleft(1) = GetImage(skinimages(40))
'If skinimages(41) = "" Then Else skinwindowborderbottomleft(2) = GetImage(skinimages(41))
'If skinimages(42) = "" Then Else skinminimizebutton(0) = GetImage(skinimages(42))
'If skinimages(43) = "" Then Else skinminimizebutton(1) = GetImage(skinimages(43))
'If skinimages(44) = "" Then Else skinminimizebutton(2) = GetImage(skinimages(44))
'If skinimages(45) = "" Then Else skinpanelbutton(0) = GetImage(skinimages(45))
'If skinimages(46) = "" Then Else skinpanelbutton(1) = GetImage(skinimages(46))
'If skinimages(47) = "" Then Else skinpanelbutton(2) = GetImage(skinimages(47))
End Sub
Private Function GetImage(ByVal fileName As String) As Bitmap
Dim ret As Bitmap
Using img As Image = Image.FromFile(fileName)
ret = New Bitmap(img)
End Using
Return ret
End Function
'Public Sub setcolours()
' ' Why is this even here, windows are skinned in the template code
' If Shiftorium.Visible = True Then
' Shiftorium.titlebar.BackColor = titlebarcolour
' Shiftorium.pgtoplcorner.BackColor = titlebarleftcornercolour
' Shiftorium.pgtoprcorner.BackColor = titlebarrightcornercolour
' Shiftorium.pgleft.BackColor = windowborderleftcolour
' Shiftorium.pgleft.BackgroundImage = skinwindowborderleft(0)
' Shiftorium.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Shiftorium.pgright.BackColor = windowborderrightcolour
' Shiftorium.pgright.BackgroundImage = skinwindowborderright(0)
' Shiftorium.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Shiftorium.pgbottom.BackColor = windowborderbottomcolour
' Shiftorium.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Shiftorium.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Shiftorium.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Shiftorium.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Shiftorium.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Shiftorium.pgbottomlcorner.Height = windowbordersize
' Shiftorium.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Shiftorium.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Shiftorium.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Shiftorium.pgbottomrcorner.Height = windowbordersize
' Else
' Shiftorium.Close()
' End If
' If Knowledge_Input.Visible = True Then
' Knowledge_Input.titlebar.BackColor = titlebarcolour
' Knowledge_Input.pgtoplcorner.BackColor = titlebarleftcornercolour
' Knowledge_Input.pgtoprcorner.BackColor = titlebarrightcornercolour
' Knowledge_Input.pgleft.BackColor = windowborderleftcolour
' Knowledge_Input.pgleft.BackgroundImage = skinwindowborderleft(0)
' Knowledge_Input.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Knowledge_Input.pgright.BackColor = windowborderrightcolour
' Knowledge_Input.pgright.BackgroundImage = skinwindowborderright(0)
' Knowledge_Input.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Knowledge_Input.pgbottom.BackColor = windowborderbottomcolour
' Knowledge_Input.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Knowledge_Input.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Knowledge_Input.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Knowledge_Input.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Knowledge_Input.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Knowledge_Input.pgbottomlcorner.Height = windowbordersize
' Knowledge_Input.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Knowledge_Input.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Knowledge_Input.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Knowledge_Input.pgbottomrcorner.Height = windowbordersize
' Else
' Knowledge_Input.Close()
' End If
' If Clock.Visible = True Then
' Clock.titlebar.BackColor = titlebarcolour
' Clock.pgtoplcorner.BackColor = titlebarleftcornercolour
' Clock.pgtoprcorner.BackColor = titlebarrightcornercolour
' Clock.pgleft.BackColor = windowborderleftcolour
' Clock.pgleft.BackgroundImage = skinwindowborderleft(0)
' Clock.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Clock.pgright.BackColor = windowborderrightcolour
' Clock.pgright.BackgroundImage = skinwindowborderright(0)
' Clock.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Clock.pgbottom.BackColor = windowborderbottomcolour
' Clock.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Clock.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Clock.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Clock.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Clock.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Clock.pgbottomlcorner.Height = windowbordersize
' Clock.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Clock.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Clock.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Clock.pgbottomrcorner.Height = windowbordersize
' Else
' Clock.Close()
' End If
' If Shifter.Visible = True Then
' Shifter.titlebar.BackColor = titlebarcolour
' Shifter.pgtoplcorner.BackColor = titlebarleftcornercolour
' Shifter.pgtoprcorner.BackColor = titlebarrightcornercolour
' Shifter.pgleft.BackColor = windowborderleftcolour
' Shifter.pgleft.BackgroundImage = skinwindowborderleft(0)
' Shifter.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Shifter.pgright.BackColor = windowborderrightcolour
' Shifter.pgright.BackgroundImage = skinwindowborderright(0)
' Shifter.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Shifter.pgbottom.BackColor = windowborderbottomcolour
' Shifter.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Shifter.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Shifter.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Shifter.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Shifter.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Shifter.pgbottomlcorner.Height = windowbordersize
' Shifter.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Shifter.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Shifter.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Shifter.pgbottomrcorner.Height = windowbordersize
' Else
' Shifter.Close()
' End If
' If Colour_Picker.Visible = True Then
' Colour_Picker.titlebar.BackColor = titlebarcolour
' Colour_Picker.pgtoplcorner.BackColor = titlebarleftcornercolour
' Colour_Picker.pgtoprcorner.BackColor = titlebarrightcornercolour
' Colour_Picker.pgleft.BackColor = windowborderleftcolour
' Colour_Picker.pgleft.BackgroundImage = skinwindowborderleft(0)
' Colour_Picker.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Colour_Picker.pgright.BackColor = windowborderrightcolour
' Colour_Picker.pgright.BackgroundImage = skinwindowborderright(0)
' Colour_Picker.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Colour_Picker.pgbottom.BackColor = windowborderbottomcolour
' Colour_Picker.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Colour_Picker.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Colour_Picker.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Colour_Picker.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Colour_Picker.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Colour_Picker.pgbottomlcorner.Height = windowbordersize
' Colour_Picker.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Colour_Picker.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Colour_Picker.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Colour_Picker.pgbottomrcorner.Height = windowbordersize
' Else
' Colour_Picker.Close()
' End If
' If infobox.Visible = True Then
' infobox.titlebar.BackColor = titlebarcolour
' infobox.pgtoplcorner.BackColor = titlebarleftcornercolour
' infobox.pgtoprcorner.BackColor = titlebarrightcornercolour
' infobox.pgleft.BackColor = windowborderleftcolour
' infobox.pgleft.BackgroundImage = skinwindowborderleft(0)
' infobox.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' infobox.pgright.BackColor = windowborderrightcolour
' infobox.pgright.BackgroundImage = skinwindowborderright(0)
' infobox.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' infobox.pgbottom.BackColor = windowborderbottomcolour
' infobox.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' infobox.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' infobox.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' infobox.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' infobox.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' infobox.pgbottomlcorner.Height = windowbordersize
' infobox.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' infobox.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' infobox.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' infobox.pgbottomrcorner.Height = windowbordersize
' Else
' infobox.Close()
' End If
' If Pong.Visible = True Then
' Pong.titlebar.BackColor = titlebarcolour
' Pong.pgtoplcorner.BackColor = titlebarleftcornercolour
' Pong.pgtoprcorner.BackColor = titlebarrightcornercolour
' Pong.pgleft.BackColor = windowborderleftcolour
' Pong.pgleft.BackgroundImage = skinwindowborderleft(0)
' Pong.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Pong.pgright.BackColor = windowborderrightcolour
' Pong.pgright.BackgroundImage = skinwindowborderright(0)
' Pong.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Pong.pgbottom.BackColor = windowborderbottomcolour
' Pong.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Pong.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Pong.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Pong.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Pong.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Pong.pgbottomlcorner.Height = windowbordersize
' Pong.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Pong.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Pong.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Pong.pgbottomrcorner.Height = windowbordersize
' Else
' Pong.Close()
' End If
' If File_Skimmer.Visible = True Then
' File_Skimmer.titlebar.BackColor = titlebarcolour
' File_Skimmer.pgtoplcorner.BackColor = titlebarleftcornercolour
' File_Skimmer.pgtoprcorner.BackColor = titlebarrightcornercolour
' File_Skimmer.pgleft.BackColor = windowborderleftcolour
' File_Skimmer.pgleft.BackgroundImage = skinwindowborderleft(0)
' File_Skimmer.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' File_Skimmer.pgright.BackColor = windowborderrightcolour
' File_Skimmer.pgright.BackgroundImage = skinwindowborderright(0)
' File_Skimmer.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' File_Skimmer.pgbottom.BackColor = windowborderbottomcolour
' File_Skimmer.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' File_Skimmer.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' File_Skimmer.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' File_Skimmer.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' File_Skimmer.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' File_Skimmer.pgbottomlcorner.Height = windowbordersize
' File_Skimmer.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' File_Skimmer.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' File_Skimmer.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' File_Skimmer.pgbottomrcorner.Height = windowbordersize
' Else
' File_Skimmer.Close()
' End If
' If TextPad.Visible = True Then
' TextPad.titlebar.BackColor = titlebarcolour
' TextPad.pgtoplcorner.BackColor = titlebarleftcornercolour
' TextPad.pgtoprcorner.BackColor = titlebarrightcornercolour
' TextPad.pgleft.BackColor = windowborderleftcolour
' TextPad.pgleft.BackgroundImage = skinwindowborderleft(0)
' TextPad.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' TextPad.pgright.BackColor = windowborderrightcolour
' TextPad.pgright.BackgroundImage = skinwindowborderright(0)
' TextPad.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' TextPad.pgbottom.BackColor = windowborderbottomcolour
' TextPad.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' TextPad.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' TextPad.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' TextPad.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' TextPad.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' TextPad.pgbottomlcorner.Height = windowbordersize
' TextPad.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' TextPad.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' TextPad.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' TextPad.pgbottomrcorner.Height = windowbordersize
' Else
' TextPad.Close()
' End If
' If File_Opener.Visible = True Then
' File_Opener.titlebar.BackColor = titlebarcolour
' File_Opener.pgtoplcorner.BackColor = titlebarleftcornercolour
' File_Opener.pgtoprcorner.BackColor = titlebarrightcornercolour
' File_Opener.pgleft.BackColor = windowborderleftcolour
' File_Opener.pgleft.BackgroundImage = skinwindowborderleft(0)
' File_Opener.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' File_Opener.pgright.BackColor = windowborderrightcolour
' File_Opener.pgright.BackgroundImage = skinwindowborderright(0)
' File_Opener.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' File_Opener.pgbottom.BackColor = windowborderbottomcolour
' File_Opener.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' File_Opener.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' File_Opener.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' File_Opener.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' File_Opener.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' File_Opener.pgbottomlcorner.Height = windowbordersize
' File_Opener.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' File_Opener.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' File_Opener.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' File_Opener.pgbottomrcorner.Height = windowbordersize
' Else
' File_Opener.Close()
' End If
' If File_Saver.Visible = True Then
' File_Saver.titlebar.BackColor = titlebarcolour
' File_Saver.pgtoplcorner.BackColor = titlebarleftcornercolour
' File_Saver.pgtoprcorner.BackColor = titlebarrightcornercolour
' File_Saver.pgleft.BackColor = windowborderleftcolour
' File_Saver.pgleft.BackgroundImage = skinwindowborderleft(0)
' File_Saver.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' File_Saver.pgright.BackColor = windowborderrightcolour
' File_Saver.pgright.BackgroundImage = skinwindowborderright(0)
' File_Saver.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' File_Saver.pgbottom.BackColor = windowborderbottomcolour
' File_Saver.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' File_Saver.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' File_Saver.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' File_Saver.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' File_Saver.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' File_Saver.pgbottomlcorner.Height = windowbordersize
' File_Saver.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' File_Saver.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' File_Saver.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' File_Saver.pgbottomrcorner.Height = windowbordersize
' Else
' File_Saver.Close()
' End If
' If Graphic_Picker.Visible = True Then
' Graphic_Picker.titlebar.BackColor = titlebarcolour
' Graphic_Picker.pgtoplcorner.BackColor = titlebarleftcornercolour
' Graphic_Picker.pgtoprcorner.BackColor = titlebarrightcornercolour
' Graphic_Picker.pgleft.BackColor = windowborderleftcolour
' Graphic_Picker.pgleft.BackgroundImage = skinwindowborderleft(0)
' Graphic_Picker.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Graphic_Picker.pgright.BackColor = windowborderrightcolour
' Graphic_Picker.pgright.BackgroundImage = skinwindowborderright(0)
' Graphic_Picker.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Graphic_Picker.pgbottom.BackColor = windowborderbottomcolour
' Graphic_Picker.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Graphic_Picker.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Graphic_Picker.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Graphic_Picker.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Graphic_Picker.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Graphic_Picker.pgbottomlcorner.Height = windowbordersize
' Graphic_Picker.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Graphic_Picker.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Graphic_Picker.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Graphic_Picker.pgbottomrcorner.Height = windowbordersize
' Else
' Graphic_Picker.Close()
' End If
' If Skin_Loader.Visible = True Then
' Skin_Loader.titlebar.BackColor = titlebarcolour
' Skin_Loader.pgtoplcorner.BackColor = titlebarleftcornercolour
' Skin_Loader.pgtoprcorner.BackColor = titlebarrightcornercolour
' Skin_Loader.pgleft.BackColor = windowborderleftcolour
' Skin_Loader.pgleft.BackgroundImage = skinwindowborderleft(0)
' Skin_Loader.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Skin_Loader.pgright.BackColor = windowborderrightcolour
' Skin_Loader.pgright.BackgroundImage = skinwindowborderright(0)
' Skin_Loader.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Skin_Loader.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Skin_Loader.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Skin_Loader.pgbottom.BackColor = windowborderbottomcolour
' Skin_Loader.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Skin_Loader.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Skin_Loader.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Skin_Loader.pgbottomlcorner.Height = windowbordersize
' Skin_Loader.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Skin_Loader.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Skin_Loader.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Skin_Loader.pgbottomrcorner.Height = windowbordersize
' Else
' Skin_Loader.Close()
' End If
' If ArtPad.Visible = True Then
' ArtPad.titlebar.BackColor = titlebarcolour
' ArtPad.pgtoplcorner.BackColor = titlebarleftcornercolour
' ArtPad.pgtoprcorner.BackColor = titlebarrightcornercolour
' ArtPad.pgleft.BackColor = windowborderleftcolour
' ArtPad.pgleft.BackgroundImage = skinwindowborderleft(0)
' ArtPad.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' ArtPad.pgright.BackColor = windowborderrightcolour
' ArtPad.pgright.BackgroundImage = skinwindowborderright(0)
' ArtPad.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' ArtPad.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' ArtPad.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' ArtPad.pgbottom.BackColor = windowborderbottomcolour
' ArtPad.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' ArtPad.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' ArtPad.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' ArtPad.pgbottomlcorner.Height = windowbordersize
' ArtPad.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' ArtPad.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' ArtPad.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' ArtPad.pgbottomrcorner.Height = windowbordersize
' Else
' ArtPad.Close()
' End If
' If Calculator.Visible = True Then
' Calculator.titlebar.BackColor = titlebarcolour
' Calculator.pgtoplcorner.BackColor = titlebarleftcornercolour
' Calculator.pgtoprcorner.BackColor = titlebarrightcornercolour
' Calculator.pgleft.BackColor = windowborderleftcolour
' Calculator.pgleft.BackgroundImage = skinwindowborderleft(0)
' Calculator.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Calculator.pgright.BackColor = windowborderrightcolour
' Calculator.pgright.BackgroundImage = skinwindowborderright(0)
' Calculator.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Calculator.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Calculator.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Calculator.pgbottom.BackColor = windowborderbottomcolour
' Calculator.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Calculator.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Calculator.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Calculator.pgbottomlcorner.Height = windowbordersize
' Calculator.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Calculator.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Calculator.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Calculator.pgbottomrcorner.Height = windowbordersize
' Else
' Calculator.Close()
' End If
' If Audio_Player.Visible = True Then
' Audio_Player.titlebar.BackColor = titlebarcolour
' Audio_Player.pgtoplcorner.BackColor = titlebarleftcornercolour
' Audio_Player.pgtoprcorner.BackColor = titlebarrightcornercolour
' Audio_Player.pgleft.BackColor = windowborderleftcolour
' Audio_Player.pgleft.BackgroundImage = skinwindowborderleft(0)
' Audio_Player.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Audio_Player.pgright.BackColor = windowborderrightcolour
' Audio_Player.pgright.BackgroundImage = skinwindowborderright(0)
' Audio_Player.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Audio_Player.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Audio_Player.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Audio_Player.pgbottom.BackColor = windowborderbottomcolour
' Audio_Player.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Audio_Player.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Audio_Player.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Audio_Player.pgbottomlcorner.Height = windowbordersize
' Audio_Player.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Audio_Player.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Audio_Player.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Audio_Player.pgbottomrcorner.Height = windowbordersize
' Else
' Audio_Player.Close()
' End If
' If Web_Browser.Visible = True Then
' Web_Browser.titlebar.BackColor = titlebarcolour
' Web_Browser.pgtoplcorner.BackColor = titlebarleftcornercolour
' Web_Browser.pgtoprcorner.BackColor = titlebarrightcornercolour
' Web_Browser.pgleft.BackColor = windowborderleftcolour
' Web_Browser.pgleft.BackgroundImage = skinwindowborderleft(0)
' Web_Browser.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Web_Browser.pgright.BackColor = windowborderrightcolour
' Web_Browser.pgright.BackgroundImage = skinwindowborderright(0)
' Web_Browser.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Web_Browser.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Web_Browser.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Web_Browser.pgbottom.BackColor = windowborderbottomcolour
' Web_Browser.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Web_Browser.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Web_Browser.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Web_Browser.pgbottomlcorner.Height = windowbordersize
' Web_Browser.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Web_Browser.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Web_Browser.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Web_Browser.pgbottomrcorner.Height = windowbordersize
' Else
' Web_Browser.Close()
' End If
' If Video_Player.Visible = True Then
' Video_Player.titlebar.BackColor = titlebarcolour
' Video_Player.pgtoplcorner.BackColor = titlebarleftcornercolour
' Video_Player.pgtoprcorner.BackColor = titlebarrightcornercolour
' Video_Player.pgleft.BackColor = windowborderleftcolour
' Video_Player.pgleft.BackgroundImage = skinwindowborderleft(0)
' Video_Player.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Video_Player.pgright.BackColor = windowborderrightcolour
' Video_Player.pgright.BackgroundImage = skinwindowborderright(0)
' Video_Player.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Video_Player.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Video_Player.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Video_Player.pgbottom.BackColor = windowborderbottomcolour
' Video_Player.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Video_Player.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Video_Player.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Video_Player.pgbottomlcorner.Height = windowbordersize
' Video_Player.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Video_Player.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Video_Player.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Video_Player.pgbottomrcorner.Height = windowbordersize
' Else
' Video_Player.Close()
' End If
' If Name_Changer.Visible = True Then
' Name_Changer.titlebar.BackColor = titlebarcolour
' Name_Changer.pgtoplcorner.BackColor = titlebarleftcornercolour
' Name_Changer.pgtoprcorner.BackColor = titlebarrightcornercolour
' Name_Changer.pgleft.BackColor = windowborderleftcolour
' Name_Changer.pgleft.BackgroundImage = skinwindowborderleft(0)
' Name_Changer.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Name_Changer.pgright.BackColor = windowborderrightcolour
' Name_Changer.pgright.BackgroundImage = skinwindowborderright(0)
' Name_Changer.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Name_Changer.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Name_Changer.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Name_Changer.pgbottom.BackColor = windowborderbottomcolour
' Name_Changer.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Name_Changer.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Name_Changer.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Name_Changer.pgbottomlcorner.Height = windowbordersize
' Name_Changer.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Name_Changer.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Name_Changer.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Name_Changer.pgbottomrcorner.Height = windowbordersize
' Else
' Name_Changer.Close()
' End If
' If Icon_Manager.Visible = True Then
' Icon_Manager.titlebar.BackColor = titlebarcolour
' Icon_Manager.pgtoplcorner.BackColor = titlebarleftcornercolour
' Icon_Manager.pgtoprcorner.BackColor = titlebarrightcornercolour
' Icon_Manager.pgleft.BackColor = windowborderleftcolour
' Icon_Manager.pgleft.BackgroundImage = skinwindowborderleft(0)
' Icon_Manager.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Icon_Manager.pgright.BackColor = windowborderrightcolour
' Icon_Manager.pgright.BackgroundImage = skinwindowborderright(0)
' Icon_Manager.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Icon_Manager.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Icon_Manager.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Icon_Manager.pgbottom.BackColor = windowborderbottomcolour
' Icon_Manager.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Icon_Manager.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Icon_Manager.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Icon_Manager.pgbottomlcorner.Height = windowbordersize
' Icon_Manager.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Icon_Manager.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Icon_Manager.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Icon_Manager.pgbottomrcorner.Height = windowbordersize
' Else
' Icon_Manager.Close()
' End If
' If Bitnote_Wallet.Visible = True Then
' Bitnote_Wallet.titlebar.BackColor = titlebarcolour
' Bitnote_Wallet.pgtoplcorner.BackColor = titlebarleftcornercolour
' Bitnote_Wallet.pgtoprcorner.BackColor = titlebarrightcornercolour
' Bitnote_Wallet.pgleft.BackColor = windowborderleftcolour
' Bitnote_Wallet.pgleft.BackgroundImage = skinwindowborderleft(0)
' Bitnote_Wallet.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Bitnote_Wallet.pgright.BackColor = windowborderrightcolour
' Bitnote_Wallet.pgright.BackgroundImage = skinwindowborderright(0)
' Bitnote_Wallet.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Bitnote_Wallet.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Bitnote_Wallet.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Bitnote_Wallet.pgbottom.BackColor = windowborderbottomcolour
' Bitnote_Wallet.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Bitnote_Wallet.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Bitnote_Wallet.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Bitnote_Wallet.pgbottomlcorner.Height = windowbordersize
' Bitnote_Wallet.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Bitnote_Wallet.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Bitnote_Wallet.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Bitnote_Wallet.pgbottomrcorner.Height = windowbordersize
' Else
' Bitnote_Wallet.Close()
' End If
' If Bitnote_Digger.Visible = True Then
' Bitnote_Digger.titlebar.BackColor = titlebarcolour
' Bitnote_Digger.pgtoplcorner.BackColor = titlebarleftcornercolour
' Bitnote_Digger.pgtoprcorner.BackColor = titlebarrightcornercolour
' Bitnote_Digger.pgleft.BackColor = windowborderleftcolour
' Bitnote_Digger.pgleft.BackgroundImage = skinwindowborderleft(0)
' Bitnote_Digger.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Bitnote_Digger.pgright.BackColor = windowborderrightcolour
' Bitnote_Digger.pgright.BackgroundImage = skinwindowborderright(0)
' Bitnote_Digger.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Bitnote_Digger.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Bitnote_Digger.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Bitnote_Digger.pgbottom.BackColor = windowborderbottomcolour
' Bitnote_Digger.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Bitnote_Digger.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Bitnote_Digger.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Bitnote_Digger.pgbottomlcorner.Height = windowbordersize
' Bitnote_Digger.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Bitnote_Digger.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Bitnote_Digger.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Bitnote_Digger.pgbottomrcorner.Height = windowbordersize
' Else
' Bitnote_Digger.Close()
' End If
' If Skinshifter.Visible = True Then
' Skinshifter.titlebar.BackColor = titlebarcolour
' Skinshifter.pgtoplcorner.BackColor = titlebarleftcornercolour
' Skinshifter.pgtoprcorner.BackColor = titlebarrightcornercolour
' Skinshifter.pgleft.BackColor = windowborderleftcolour
' Skinshifter.pgleft.BackgroundImage = skinwindowborderleft(0)
' Skinshifter.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Skinshifter.pgright.BackColor = windowborderrightcolour
' Skinshifter.pgright.BackgroundImage = skinwindowborderright(0)
' Skinshifter.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Skinshifter.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Skinshifter.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Skinshifter.pgbottom.BackColor = windowborderbottomcolour
' Skinshifter.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Skinshifter.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Skinshifter.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Skinshifter.pgbottomlcorner.Height = windowbordersize
' Skinshifter.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Skinshifter.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Skinshifter.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Skinshifter.pgbottomrcorner.Height = windowbordersize
' Else
' Skinshifter.Close()
' End If
' If Shiftnet.Visible = True Then
' Shiftnet.titlebar.BackColor = titlebarcolour
' Shiftnet.pgtoplcorner.BackColor = titlebarleftcornercolour
' Shiftnet.pgtoprcorner.BackColor = titlebarrightcornercolour
' Shiftnet.pgleft.BackColor = windowborderleftcolour
' Shiftnet.pgleft.BackgroundImage = skinwindowborderleft(0)
' Shiftnet.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Shiftnet.pgright.BackColor = windowborderrightcolour
' Shiftnet.pgright.BackgroundImage = skinwindowborderright(0)
' Shiftnet.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Shiftnet.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Shiftnet.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Shiftnet.pgbottom.BackColor = windowborderbottomcolour
' Shiftnet.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Shiftnet.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Shiftnet.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Shiftnet.pgbottomlcorner.Height = windowbordersize
' Shiftnet.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Shiftnet.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Shiftnet.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Shiftnet.pgbottomrcorner.Height = windowbordersize
' Else
' Shiftnet.Close()
' End If
' If Downloader.Visible = True Then
' Downloader.titlebar.BackColor = titlebarcolour
' Downloader.pgtoplcorner.BackColor = titlebarleftcornercolour
' Downloader.pgtoprcorner.BackColor = titlebarrightcornercolour
' Downloader.pgleft.BackColor = windowborderleftcolour
' Downloader.pgleft.BackgroundImage = skinwindowborderleft(0)
' Downloader.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Downloader.pgright.BackColor = windowborderrightcolour
' Downloader.pgright.BackgroundImage = skinwindowborderright(0)
' Downloader.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Downloader.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Downloader.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Downloader.pgbottom.BackColor = windowborderbottomcolour
' Downloader.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Downloader.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Downloader.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Downloader.pgbottomlcorner.Height = windowbordersize
' Downloader.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Downloader.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Downloader.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Downloader.pgbottomrcorner.Height = windowbordersize
' Else
' Downloader.Close()
' End If
' 'If Dodge.Visible = True Then
' ' Dodge.titlebar.BackColor = titlebarcolour
' ' Dodge.pgtoplcorner.BackColor = titlebarleftcornercolour
' ' Dodge.pgtoprcorner.BackColor = titlebarrightcornercolour
' ' Dodge.pgleft.BackColor = windowborderleftcolour
' ' Dodge.pgleft.BackgroundImage = skinwindowborderleft(0)
' ' Dodge.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' ' Dodge.pgright.BackColor = windowborderrightcolour
' ' Dodge.pgright.BackgroundImage = skinwindowborderright(0)
' ' Dodge.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' ' Dodge.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' ' Dodge.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' ' Dodge.pgbottom.BackColor = windowborderbottomcolour
' ' Dodge.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' ' Dodge.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' ' Dodge.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' ' Dodge.pgbottomlcorner.Height = windowbordersize
' ' Dodge.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' ' Dodge.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' ' Dodge.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' ' Dodge.pgbottomrcorner.Height = windowbordersize
' 'Else
' ' Dodge.Close()
' 'End If
' If Downloadmanager.Visible = True Then
' Downloadmanager.titlebar.BackColor = titlebarcolour
' Downloadmanager.pgtoplcorner.BackColor = titlebarleftcornercolour
' Downloadmanager.pgtoprcorner.BackColor = titlebarrightcornercolour
' Downloadmanager.pgleft.BackColor = windowborderleftcolour
' Downloadmanager.pgleft.BackgroundImage = skinwindowborderleft(0)
' Downloadmanager.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Downloadmanager.pgright.BackColor = windowborderrightcolour
' Downloadmanager.pgright.BackgroundImage = skinwindowborderright(0)
' Downloadmanager.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Downloadmanager.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Downloadmanager.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Downloadmanager.pgbottom.BackColor = windowborderbottomcolour
' Downloadmanager.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Downloadmanager.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Downloadmanager.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Downloadmanager.pgbottomlcorner.Height = windowbordersize
' Downloadmanager.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Downloadmanager.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Downloadmanager.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Downloadmanager.pgbottomrcorner.Height = windowbordersize
' Else
' Downloadmanager.Close()
' End If
' If Installer.Visible = True Then
' Installer.titlebar.BackColor = titlebarcolour
' Installer.pgtoplcorner.BackColor = titlebarleftcornercolour
' Installer.pgtoprcorner.BackColor = titlebarrightcornercolour
' Installer.pgleft.BackColor = windowborderleftcolour
' Installer.pgleft.BackgroundImage = skinwindowborderleft(0)
' Installer.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Installer.pgright.BackColor = windowborderrightcolour
' Installer.pgright.BackgroundImage = skinwindowborderright(0)
' Installer.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Installer.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Installer.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Installer.pgbottom.BackColor = windowborderbottomcolour
' Installer.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Installer.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Installer.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Installer.pgbottomlcorner.Height = windowbordersize
' Installer.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Installer.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Installer.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Installer.pgbottomrcorner.Height = windowbordersize
' Else
' Installer.Close()
' End If
' If Snakey.Visible = True Then
' Snakey.titlebar.BackColor = titlebarcolour
' Snakey.pgtoplcorner.BackColor = titlebarleftcornercolour
' Snakey.pgtoprcorner.BackColor = titlebarrightcornercolour
' Snakey.pgleft.BackColor = windowborderleftcolour
' Snakey.pgleft.BackgroundImage = skinwindowborderleft(0)
' Snakey.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Snakey.pgright.BackColor = windowborderrightcolour
' Snakey.pgright.BackgroundImage = skinwindowborderright(0)
' Snakey.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Snakey.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Snakey.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Snakey.pgbottom.BackColor = windowborderbottomcolour
' Snakey.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Snakey.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Snakey.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Snakey.pgbottomlcorner.Height = windowbordersize
' Snakey.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Snakey.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Snakey.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Snakey.pgbottomrcorner.Height = windowbordersize
' Else
' Snakey.Close()
' End If
' If SystemInfo.Visible = True Then
' SystemInfo.titlebar.BackColor = titlebarcolour
' SystemInfo.pgtoplcorner.BackColor = titlebarleftcornercolour
' SystemInfo.pgtoprcorner.BackColor = titlebarrightcornercolour
' SystemInfo.pgleft.BackColor = windowborderleftcolour
' SystemInfo.pgleft.BackgroundImage = skinwindowborderleft(0)
' SystemInfo.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' SystemInfo.pgright.BackColor = windowborderrightcolour
' SystemInfo.pgright.BackgroundImage = skinwindowborderright(0)
' SystemInfo.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' SystemInfo.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' SystemInfo.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' SystemInfo.pgbottom.BackColor = windowborderbottomcolour
' SystemInfo.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' SystemInfo.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' SystemInfo.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' SystemInfo.pgbottomlcorner.Height = windowbordersize
' SystemInfo.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' SystemInfo.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' SystemInfo.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' SystemInfo.pgbottomrcorner.Height = windowbordersize
' Else
' SystemInfo.Close()
' End If
' If OrcWrite.Visible = True Then
' OrcWrite.titlebar.BackColor = titlebarcolour
' OrcWrite.pgtoplcorner.BackColor = titlebarleftcornercolour
' OrcWrite.pgtoprcorner.BackColor = titlebarrightcornercolour
' OrcWrite.pgleft.BackColor = windowborderleftcolour
' OrcWrite.pgleft.BackgroundImage = skinwindowborderleft(0)
' OrcWrite.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' OrcWrite.pgright.BackColor = windowborderrightcolour
' OrcWrite.pgright.BackgroundImage = skinwindowborderright(0)
' OrcWrite.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' OrcWrite.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' OrcWrite.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' OrcWrite.pgbottom.BackColor = windowborderbottomcolour
' OrcWrite.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' OrcWrite.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' OrcWrite.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' OrcWrite.pgbottomlcorner.Height = windowbordersize
' OrcWrite.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' OrcWrite.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' OrcWrite.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' OrcWrite.pgbottomrcorner.Height = windowbordersize
' Else
' OrcWrite.Close()
' End If
' If FloodGate_Manager.Visible = True Then
' FloodGate_Manager.titlebar.BackColor = titlebarcolour
' FloodGate_Manager.pgtoplcorner.BackColor = titlebarleftcornercolour
' FloodGate_Manager.pgtoprcorner.BackColor = titlebarrightcornercolour
' FloodGate_Manager.pgleft.BackColor = windowborderleftcolour
' FloodGate_Manager.pgleft.BackgroundImage = skinwindowborderleft(0)
' FloodGate_Manager.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' FloodGate_Manager.pgright.BackColor = windowborderrightcolour
' FloodGate_Manager.pgright.BackgroundImage = skinwindowborderright(0)
' FloodGate_Manager.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' FloodGate_Manager.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' FloodGate_Manager.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' FloodGate_Manager.pgbottom.BackColor = windowborderbottomcolour
' FloodGate_Manager.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' FloodGate_Manager.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' FloodGate_Manager.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' FloodGate_Manager.pgbottomlcorner.Height = windowbordersize
' FloodGate_Manager.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' FloodGate_Manager.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' FloodGate_Manager.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' FloodGate_Manager.pgbottomrcorner.Height = windowbordersize
' Else
' FloodGate_Manager.Close()
' End If
' If VirusScanner.Visible = True Then
' VirusScanner.titlebar.BackColor = titlebarcolour
' VirusScanner.pgtoplcorner.BackColor = titlebarleftcornercolour
' VirusScanner.pgtoprcorner.BackColor = titlebarrightcornercolour
' VirusScanner.pgleft.BackColor = windowborderleftcolour
' VirusScanner.pgleft.BackgroundImage = skinwindowborderleft(0)
' VirusScanner.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' VirusScanner.pgright.BackColor = windowborderrightcolour
' VirusScanner.pgright.BackgroundImage = skinwindowborderright(0)
' VirusScanner.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' VirusScanner.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' VirusScanner.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' VirusScanner.pgbottom.BackColor = windowborderbottomcolour
' VirusScanner.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' VirusScanner.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' VirusScanner.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' VirusScanner.pgbottomlcorner.Height = windowbordersize
' VirusScanner.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' VirusScanner.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' VirusScanner.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' VirusScanner.pgbottomrcorner.Height = windowbordersize
' Else
' VirusScanner.Close()
' End If
' If template.Visible = True Then
' template.titlebar.BackColor = titlebarcolour
' template.pgtoplcorner.BackColor = titlebarleftcornercolour
' template.pgtoprcorner.BackColor = titlebarrightcornercolour
' template.pgleft.BackColor = windowborderleftcolour
' template.pgleft.BackgroundImage = skinwindowborderleft(0)
' template.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' template.pgright.BackColor = windowborderrightcolour
' template.pgright.BackgroundImage = skinwindowborderright(0)
' template.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' template.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' template.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' template.pgbottom.BackColor = windowborderbottomcolour
' template.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' template.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' template.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' template.pgbottomlcorner.Height = windowbordersize
' template.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' template.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' template.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' template.pgbottomrcorner.Height = windowbordersize
' Else
' template.Close()
' End If
' If Terminal.Visible = True Then
' Terminal.titlebar.BackColor = titlebarcolour
' Terminal.pgtoplcorner.BackColor = titlebarleftcornercolour
' Terminal.pgtoprcorner.BackColor = titlebarrightcornercolour
' Terminal.pgleft.BackColor = windowborderleftcolour
' Terminal.pgleft.BackgroundImage = skinwindowborderleft(0)
' Terminal.pgleft.BackgroundImageLayout = skinwindowborderleftstyle
' Terminal.pgright.BackColor = windowborderrightcolour
' Terminal.pgright.BackgroundImage = skinwindowborderright(0)
' Terminal.pgright.BackgroundImageLayout = skinwindowborderrightstyle
' Terminal.pgbottom.BackColor = windowborderbottomcolour
' Terminal.pgbottom.BackgroundImage = skinwindowborderbottom(0)
' Terminal.pgbottom.BackgroundImageLayout = skinwindowborderbottomstyle
' Terminal.pgbottomlcorner.BackColor = windowborderbottomleftcolour
' Terminal.pgbottomlcorner.BackgroundImage = skinwindowborderbottomleft(0)
' Terminal.pgbottomlcorner.BackgroundImageLayout = skinwindowborderbottomleftstyle
' Terminal.pgbottomlcorner.Height = windowbordersize
' Terminal.pgbottomrcorner.BackColor = windowborderbottomrightcolour
' Terminal.pgbottomrcorner.BackgroundImage = skinwindowborderbottomright(0)
' Terminal.pgbottomrcorner.BackgroundImageLayout = skinwindowborderbottomrightstyle
' Terminal.pgbottomrcorner.Height = windowbordersize
' Else
' Terminal.Close()
' End If
'End Sub
Public Sub setupiconprocess(ByVal location As String, ByRef imagetochange As Image)
If IO.File.Exists(ShiftOSPath + "Shiftum42\Icons\" & location & ".pic") Then
imagetochange = GetImage(ShiftOSPath + "Shiftum42\Icons\" & location & ".pic")
End If
End Sub
Public Sub setupicons()
iconmanagericondatalines = IO.File.ReadAllLines(ShiftOSPath + "Shiftum42\Icons\icondata.dat")
titlebariconsize = iconmanagericondatalines(0)
panelbuttoniconsize = iconmanagericondatalines(1)
launchericonsize = iconmanagericondatalines(2)
setupiconprocess("titlebarartpadicon", artpadicontitlebar)
setupiconprocess("titlebaraudioplayericon", audioplayericontitlebar)
setupiconprocess("titlebarcalculatoricon", calculatoricontitlebar)
setupiconprocess("titlebarclockicon", clockicontitlebar)
setupiconprocess("titlebarcolourpickericon", colourpickericontitlebar)
setupiconprocess("titlebarfileopenericon", fileopenericontitlebar)
setupiconprocess("titlebarfilesavericon", filesavericontitlebar)
setupiconprocess("titlebarfileskimmericon", fileskimmericontitlebar)
setupiconprocess("titlebargraphicpickericon", graphicpickericontitlebar)
setupiconprocess("titlebarinfoboxicon", infoboxicontitlebar)
setupiconprocess("titlebarknowledgeinputicon", knowledgeinputicontitlebar)
setupiconprocess("titlebarpongicon", pongicontitlebar)
setupiconprocess("titlebarshiftericon", shiftericontitlebar)
setupiconprocess("titlebarshiftoriumicon", shiftoriumicontitlebar)
setupiconprocess("titlebarskinloadericon", skinloadericontitlebar)
setupiconprocess("titlebarterminalicon", terminalicontitlebar)
setupiconprocess("titlebartextpadicon", textpadicontitlebar)
setupiconprocess("titlebarvideoplayericon", videoplayericontitlebar)
setupiconprocess("titlebarwebbrowsericon", webbrowsericontitlebar)
setupiconprocess("titlebarnamechangericon", namechangericontitlebar)
setupiconprocess("titlebariconmanagericon", iconmanagericontitlebar)
setupiconprocess("titlebarbitnotewalleticon", bitnotewalleticontitlebar)
setupiconprocess("titlebarbitnotediggericon", bitnotediggericontitlebar)
setupiconprocess("titlebardownloadericon", bitnotediggericontitlebar)
setupiconprocess("titlebardodgeicon", bitnotediggericontitlebar)
setupiconprocess("titlebardownloadmanagericon", bitnotediggericontitlebar)
setupiconprocess("titlebarinstallericon", bitnotediggericontitlebar)
setupiconprocess("titlebarsnakeyicon", snakeyicontitlebar)
setupiconprocess("titlebarsysinfoicon", sysinfoicontitlebar)
setupiconprocess("titlebarorcwriteicon", orcwriteicontitlebar)
setupiconprocess("titlebarfloodgateicon", floodgateicontitlebar)
setupiconprocess("titlebarmazeicon", mazeicontitlebar)
setupiconprocess("titlebarvirusscannericon", virusscannericontitlebar)
setupiconprocess("panelbuttonartpadicon", artpadiconpanelbutton)
setupiconprocess("panelbuttonaudioplayericon", audioplayericonpanelbutton)
setupiconprocess("panelbuttoncalculatoricon", calculatoriconpanelbutton)
setupiconprocess("panelbuttonclockicon", clockiconpanelbutton)
setupiconprocess("panelbuttoncolourpickericon", colourpickericonpanelbutton)
setupiconprocess("panelbuttonfileopenericon", fileopenericonpanelbutton)
setupiconprocess("panelbuttonfilesavericon", filesavericonpanelbutton)
setupiconprocess("panelbuttonfileskimmericon", fileskimmericonpanelbutton)
setupiconprocess("panelbuttongraphicpickericon", graphicpickericonpanelbutton)
setupiconprocess("panelbuttoninfoboxicon", infoboxiconpanelbutton)
setupiconprocess("panelbuttonknowledgeinputicon", knowledgeinputiconpanelbutton)
setupiconprocess("panelbuttonpongicon", pongiconpanelbutton)
setupiconprocess("panelbuttonshiftericon", shiftericonpanelbutton)
setupiconprocess("panelbuttonshiftoriumicon", shiftoriumiconpanelbutton)
setupiconprocess("panelbuttonskinloadericon", skinloadericonpanelbutton)
setupiconprocess("panelbuttonterminalicon", terminaliconpanelbutton)
setupiconprocess("panelbuttontextpadicon", textpadiconpanelbutton)
setupiconprocess("panelbuttonvideoplayericon", videoplayericonpanelbutton)
setupiconprocess("panelbuttonwebbrowsericon", webbrowsericonpanelbutton)
setupiconprocess("panelbuttonnamechangericon", namechangericonpanelbutton)
setupiconprocess("panelbuttoniconmanagericon", iconmanagericonpanelbutton)
setupiconprocess("panelbuttonbitnotewalleticon", bitnotewalleticonpanelbutton)
setupiconprocess("panelbuttonbitnotediggericon", bitnotediggericonpanelbutton)
setupiconprocess("panelbuttondownloadericon", bitnotediggericonpanelbutton)
setupiconprocess("titlebardodgeicon", bitnotediggericontitlebar)
setupiconprocess("titlebardownloadmanagericon", bitnotediggericontitlebar)
setupiconprocess("titlebarinstallericon", bitnotediggericontitlebar)
setupiconprocess("titlebarsnakeyicon", snakeyicontitlebar)
setupiconprocess("titlebarsysinfoicon", sysinfoicontitlebar)
setupiconprocess("titlebarorcwriteicon", orcwriteicontitlebar)
setupiconprocess("titlebarfloodgateicon", floodgateicontitlebar)
setupiconprocess("titlebarmazeicon", mazeicontitlebar)
setupiconprocess("titlebarvirusscannericon", virusscannericontitlebar)
setupiconprocess("launcherartpadicon", artpadiconlauncher)
setupiconprocess("launcheraudioplayericon", audioplayericonlauncher)
setupiconprocess("launchercalculatoricon", calculatoriconlauncher)
setupiconprocess("launcherclockicon", clockiconlauncher)
setupiconprocess("launchercolourpickericon", colourpickericonlauncher)
setupiconprocess("launcherfileopenericon", fileopenericonlauncher)
setupiconprocess("launcherfilesavericon", filesavericonlauncher)
setupiconprocess("launcherfileskimmericon", fileskimmericonlauncher)
setupiconprocess("launchergraphicpickericon", graphicpickericonlauncher)
setupiconprocess("launcherinfoboxicon", infoboxiconlauncher)
setupiconprocess("launcherknowledgeinputicon", knowledgeinputiconlauncher)
setupiconprocess("launcherpongicon", pongiconlauncher)
setupiconprocess("launchershiftericon", shiftericonlauncher)
setupiconprocess("launchershiftoriumicon", shiftoriumiconlauncher)
setupiconprocess("launcherskinloadericon", skinloadericonlauncher)
setupiconprocess("launcherterminalicon", terminaliconlauncher)
setupiconprocess("launchertextpadicon", textpadiconlauncher)
setupiconprocess("launchervideoplayericon", videoplayericonlauncher)
setupiconprocess("launcherwebbrowsericon", webbrowsericonlauncher)
setupiconprocess("launchernamechangericon", namechangericonlauncher)
setupiconprocess("launchericonmanagericon", iconmanagericonlauncher)
setupiconprocess("launcherbitnotewalleticon", bitnotewalleticonlauncher)
setupiconprocess("launcherbitnotediggericon", bitnotediggericonlauncher)
setupiconprocess("launcherdownloadericon", bitnotediggericonlauncher)
setupiconprocess("titlebardodgeicon", bitnotediggericontitlebar)
setupiconprocess("titlebardownloadmanagericon", bitnotediggericontitlebar)
setupiconprocess("titlebarinstallericon", bitnotediggericontitlebar)
setupiconprocess("titlebarsnakeyicon", snakeyicontitlebar)
setupiconprocess("titlebarsysinfoicon", sysinfoicontitlebar)
setupiconprocess("titlebarorcwriteicon", orcwriteicontitlebar)
setupiconprocess("titlebarfloodgateicon", floodgateicontitlebar)
setupiconprocess("titlebarmazeicon", mazeicontitlebar)
setupiconprocess("titlebarvirusscannericon", virusscannericontitlebar)
setupiconprocess("launchershutdownicon", shutdowniconlauncher)
setupiconprocess("launcherunitytoggleicon", unitytoggleiconlauncher)
End Sub
Private Sub KnowledgeInputToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles KnowledgeInputToolStripMenuItem.Click
closeeverything()
log = log & My.Computer.Clock.LocalTime & " User opened Knowledge Input from the app launcher" & Environment.NewLine
Knowledge_Input.Show()
Knowledge_Input.BringToFront()
End Sub
Private Sub ShiftoriumToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ShiftoriumToolStripMenuItem.Click
closeeverything()
log = log & My.Computer.Clock.LocalTime & " User opened Shiftorium from the app launcher" & Environment.NewLine
Shiftorium.Show()
Shiftorium.BringToFront()
End Sub
Private Sub ClockToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ClockToolStripMenuItem.Click
closeeverything()
log = log & My.Computer.Clock.LocalTime & " User opened Clock from the app launcher" & Environment.NewLine
Clock.Show()
Clock.BringToFront()
End Sub
Private Sub TerminalToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles TerminalToolStripMenuItem.Click
closeeverything()
log = log & My.Computer.Clock.LocalTime & " User opened Terminal from the app launcher" & Environment.NewLine
Terminal.Show()
Terminal.BringToFront()
End Sub
Private Sub CalculatorToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles CalculatorToolStripMenuItem.Click
closeeverything()
Calculator.Show()
Calculator.BringToFront()
End Sub
Private Sub ApplicationsToolStripMenuItem_MouseEnter(sender As Object, e As EventArgs) Handles ApplicationsToolStripMenuItem.MouseEnter
Me.Focus()
ToolStripManager.Renderer = New MyToolStripRenderer()
End Sub
Private Sub ShutdownToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ShutdownToolStripMenuItem.Click
Terminal.Show()
Terminal.BringToFront()
log = log & My.Computer.Clock.LocalTime & " User Shut Down ShiftOS from the app launcher" & Environment.NewLine
shutdownshiftos()
End Sub
Private Sub clocktick_Tick(sender As Object, e As EventArgs) Handles clocktick.Tick
setclocktime()
End Sub
Private Sub setclocktime()
If boughtsplitsecondtime = True Then
paneltimetext.Text = TimeOfDay
Else
If boughtminuteaccuracytime = True Then
If Date.Now.Hour < 12 Then
paneltimetext.Text = TimeOfDay.Hour & ":" & Format(TimeOfDay.Minute, "00") & " AM"
Else
paneltimetext.Text = TimeOfDay.Hour - 12 & ":" & Format(TimeOfDay.Minute, "00") & " PM"
End If
Else
If boughtpmandam = True Then
If Date.Now.Hour < 12 Then
paneltimetext.Text = TimeOfDay.Hour & " AM"
Else
paneltimetext.Text = TimeOfDay.Hour - 12 & " PM"
End If
Else
If boughthourspastmidnight = True Then
paneltimetext.Text = Math.Floor(Date.Now.Subtract(Date.Today).TotalSeconds / 60 / 60)
Else
If boughtminutespastmidnight = True Then
paneltimetext.Text = Math.Floor(Date.Now.Subtract(Date.Today).TotalSeconds / 60)
Else
If boughtsecondspastmidnight = True Then
paneltimetext.Text = Math.Floor(Date.Now.Subtract(Date.Today).TotalSeconds)
End If
End If
End If
End If
End If
End If
End Sub
Private Sub ShifterToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ShifterToolStripMenuItem.Click
closeeverything()
log = log & My.Computer.Clock.LocalTime & " User opened Shifter from the app launcher" & Environment.NewLine
Shifter.Show()
Shifter.BringToFront()
End Sub
Private Sub PongToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles PongToolStripMenuItem.Click
closeeverything()
Pong.Show()
Pong.BringToFront()
End Sub
Private Sub FileSkimmerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles FileSkimmerToolStripMenuItem.Click
closeeverything()
File_Skimmer.Show()
File_Skimmer.BringToFront()
End Sub
Private Sub TextPadToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles TextPadToolStripMenuItem.Click
closeeverything()
TextPad.Show()
TextPad.BringToFront()
End Sub
Private Sub SkinLoaderToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles SkinLoaderToolStripMenuItem.Click
closeeverything()
Skin_Loader.Show()
Skin_Loader.BringToFront()
End Sub
Private Sub ArtpadToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ArtpadToolStripMenuItem.Click
closeeverything()
ArtPad.Show()
ArtPad.BringToFront()
End Sub
Private Sub AudioplayerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles AudioplayerToolStripMenuItem.Click
closeeverything()
Audio_Player.Show()
Audio_Player.BringToFront()
End Sub
Private Sub WebBrowserToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles WebBrowserToolStripMenuItem.Click
closeeverything()
Web_Browser.Show()
Web_Browser.BringToFront()
If Web_Browser.Location.Y <= 0 Then Web_Browser.Location = New Point(Web_Browser.Location.X, Web_Browser.Location.Y + 5000)
Web_Browser.resettitlebar()
End Sub
Private Sub VideoplayerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles VideoplayerToolStripMenuItem.Click
closeeverything()
Video_Player.Show()
Video_Player.BringToFront()
End Sub
Private Sub NameChangerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles NameChangerToolStripMenuItem.Click
closeeverything()
Name_Changer.Show()
Name_Changer.BringToFront()
End Sub
Private Sub IconManagerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles IconManagerToolStripMenuItem.Click
closeeverything()
Icon_Manager.Show()
Icon_Manager.BringToFront()
End Sub
Private Sub bitnotewalletToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles BitnoteWalletToolStripMenuItem.Click
closeeverything()
Bitnote_Wallet.Show()
Bitnote_Wallet.BringToFront()
End Sub
Private Sub bitnotediggerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles BitnoteDiggerToolStripMenuItem.Click
closeeverything()
Bitnote_Digger.Show()
Bitnote_Digger.BringToFront()
End Sub
Private Sub SkinshifterToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles SkinShifterToolStripMenuItem.Click
closeeverything()
Skinshifter.Show()
Skinshifter.BringToFront()
End Sub
Private Sub ShiftnetToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ShiftnetToolStripMenuItem.Click
closeeverything()
Shiftnet.Show()
Shiftnet.BringToFront()
End Sub
Private Sub DodgeToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles DodgeToolStripMenuItem.Click
closeeverything()
Dodge.Show()
Dodge.BringToFront()
End Sub
Private Sub downloadmanagerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles downloadmanagerToolStripMenuItem.Click
closeeverything()
Downloadmanager.Show()
Downloadmanager.BringToFront()
End Sub
Private Sub installerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles InstallerToolStripMenuItem.Click
closeeverything()
Installer.Show()
Installer.BringToFront()
End Sub
Private Sub snakeyToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles SnakeyToolStripMenuItem.Click
closeeverything()
Snakey.Show()
Snakey.BringToFront()
End Sub
Private Sub sysinfoToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles sysinfoToolStripMenuItem.Click
closeeverything()
systeminfo.Show()
systeminfo.BringToFront()
End Sub
Private Sub orcwriteToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles orcwriteToolStripMenuItem.Click
closeeverything()
OrcWrite.Show()
OrcWrite.BringToFront()
End Sub
Private Sub floodgateToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles FloodGateToolStripMenuItem.Click
closeeverything()
FloodGate_Manager.Show()
FloodGate_Manager.BringToFront()
End Sub
Private Sub mazeToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles MazeToolStripMenuItem.Click
closeeverything()
Labyrinth.Show()
Labyrinth.BringToFront()
End Sub
Private Sub virusscannerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles VirusScannerToolStripMenuItem.Click
closeeverything()
VirusScanner.Show()
VirusScanner.BringToFront()
End Sub
Private Sub autosave_Tick(sender As Object, e As EventArgs) Handles autosave.Tick
savegame()
End Sub
Public Sub ApplicationsToolStripMenuItem_Paint(sender As Object, e As PaintEventArgs) Handles ApplicationsToolStripMenuItem.Paint
If Skins.applauncher Is Nothing Then
Else
e.Graphics.DrawImage(Skins.applauncher, 0, 0, Skins.applauncher.Width, Skins.applauncher.Height)
End If
End Sub
Public Sub minimizeprogram(ByVal whatprogram As Form, ByVal isitpong As Boolean)
If whatprogram.Location.Y > 0 Then
whatprogram.Location = New Point(whatprogram.Location.X, whatprogram.Location.Y - 5000)
If isitpong = True Then
Pong.rollupanddown()
End If
Else
whatprogram.Location = New Point(whatprogram.Location.X, whatprogram.Location.Y + 5000)
whatprogram.BringToFront()
If isitpong = True Then
Pong.rollupanddown()
End If
End If
End Sub
Private Sub pnlpanelbuttonclock_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonclock.Click, tbclockicon.Click, tbclocktext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Clock, False)
End If
End Sub
Private Sub pnlpanelbuttoncolourpicker_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttoncolourpicker.Click, tbcolourpickericon.Click, tbcolourpickertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Colour_Picker, False)
End If
End Sub
Private Sub pnlpanelbuttonfileopener_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonfileopener.Click, tbfileopenericon.Click, tbfileopenertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(File_Opener, False)
End If
End Sub
Private Sub pnlpanelbuttonfilesaver_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonfilesaver.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(File_Saver, False)
End If
End Sub
Private Sub pnlpanelbuttonfileskimmer_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonfileskimmer.Click, tbfileskimmericon.Click, tbfileskimmertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(File_Skimmer, False)
End If
End Sub
Private Sub pnlpanelbuttongraphicpicker_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttongraphicpicker.Click, tbgraphicpickericon.Click, tbgraphicpickertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Graphic_Picker, False)
End If
End Sub
Private Sub pnlpanelbuttoninfobox_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttoninfobox.Click, tbinfoboxicon.Click, tbinfoboxtext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(infobox, False)
End If
End Sub
Private Sub pnlpanelbuttonknowledgeinput_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonknowledgeinput.Click, tbknowledgeinputicon.Click, tbknowledgeinputtext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Knowledge_Input, False)
End If
End Sub
Private Sub pnlpanelbuttonpong_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonpong.Click, tbpongicon.Click, tbpongtext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Pong, True)
End If
End Sub
Private Sub pnlpanelbuttonshifter_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonshifter.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Shifter, False)
End If
End Sub
Private Sub pnlpanelbuttonshiftorium_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonshiftorium.Click, tbshiftoriumicon.Click, tbshiftoriumtext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Shiftorium, False)
End If
End Sub
Private Sub pnlpanelbuttonskinloader_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonskinloader.Click, tbskinloadericon.Click, tbskinloadertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Skin_Loader, False)
End If
End Sub
Private Sub pnlpanelbuttonterminal_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonterminal.Click, tbterminalicon.Click, tbterminaltext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Terminal, False)
End If
End Sub
Private Sub pnlpanelbuttontextpad_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttontextpad.Click, tbtextpadicon.Click, tbtextpadtext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(TextPad, False)
End If
End Sub
Private Sub pnlpanelbuttonartpad_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonartpad.Click, tbartpadicon.Click, tbartpadtext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(ArtPad, False)
End If
End Sub
Private Sub pnlpanelbuttoncalculator_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttoncalculator.Click, tbcalculatoricon.Click, tbcalculatortext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Calculator, False)
End If
End Sub
Private Sub pnlpanelbuttonaudioplayer_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonaudioplayer.Click, tbaudioplayericon.Click, tbaudioplayertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Audio_Player, False)
End If
End Sub
Private Sub pnlpanelbuttonwebbrowser_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonwebbrowser.Click, tbwebbrowsericon.Click, tbwebbrowsertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Web_Browser, False)
End If
End Sub
Private Sub pnlpanelbuttonvideoplayer_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonvideoplayer.Click, tbvideoplayericon.Click, tbvideoplayertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Video_Player, False)
End If
End Sub
Private Sub pnlpanelbuttonnamechanger_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonnamechanger.Click, tbnamechangericon.Click, tbnamechangertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Name_Changer, False)
End If
End Sub
Private Sub pnlpanelbuttoniconmanager_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttoniconmanager.Click, tbiconmanagericon.Click, tbiconmanagertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Icon_Manager, False)
End If
End Sub
Private Sub pnlpanelbuttonbitnotewallet_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonbitnotewallet.Click, tbbitnotewalleticon.Click, tbbitnotewallettext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Bitnote_Wallet, False)
End If
End Sub
Private Sub pnlpanelbuttonbitnotedigger_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonbitnotedigger.Click, tbbitnotediggericon.Click, tbbitnotediggertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Bitnote_Digger, False)
End If
End Sub
Private Sub pnlpanelbuttonskinshifter_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonskinshifter.Click, tbskinshiftericon.Click, tbskinshiftertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Skinshifter, False)
End If
End Sub
Private Sub pnlpanelbuttonShiftnet_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonshiftnet.Click, tbshiftneticon.Click, tbshiftnettext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Shiftnet, False)
End If
End Sub
Private Sub pnlpanelbuttonDownloader_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttondownloader.Click, tbdownloadericon.Click, tbdownloadertext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Downloader, False)
End If
End Sub
Private Sub pnlpanelbuttondodge_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttondodge.Click, tbdodgeicon.Click, tbdodgetext.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Dodge, False)
End If
End Sub
Private Sub pnlpanelbuttondownloadmanager_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttondownloadmanager.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Downloadmanager, False)
End If
End Sub
Private Sub pnlpanelbuttoninstaller_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttoninstaller.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Installer, False)
End If
End Sub
Private Sub pnl_panelbuttonsnakey_Click(sender As Object, e As EventArgs) Handles pnl_panelbuttonsnakey.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Snakey, False)
End If
End Sub
Private Sub pnlpanelbuttonsysinfo_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonsysinfo.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(systeminfo, False)
End If
End Sub
Private Sub pnl_panelbuttonorcwrite_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonorcwrite.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(OrcWrite, False)
End If
End Sub
Private Sub pnl_panelbuttonfloodgate_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonfloodgate.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(FloodGate_Manager, False)
End If
End Sub
Private Sub pnl_panelbuttonmaze_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonmaze.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(Labyrinth, False)
End If
End Sub
Private Sub pnl_panelbuttonvirusscanner_Click(sender As Object, e As EventArgs) Handles pnlpanelbuttonvirusscanner.Click
If boughtusefulpanelbuttons = True Then
minimizeprogram(VirusScanner, False)
End If
End Sub
Private Sub setpanelbuttonappearnce(label As Label, pictureBox As PictureBox, label1 As Label, p4 As Boolean)
Throw New NotImplementedException
End Sub
Private Sub UnityToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles UnityToolStripMenuItem.Click
If boughtunitymodetoggle = True Then
If unitymode = False Then
unitymode = True
setupdesktop()
Else
unitymode = False
setupdesktop()
End If
End If
End Sub
Public Sub logit(msg As String)
log = log & ControlChars.NewLine & msg
End Sub
#End Region
#Region "Auto-Generated Code"
'Don't use the toolkit
#End Region
#Region "DetectCrashes"
Private Sub nocheat_Tick(sender As Object, e As EventArgs) Handles nocheat.Tick
FindProc()
End Sub
#End Region
' disabled for release (Completely unfinished feature)
'Private Sub Button1_Click_1(sender As Object, e As EventArgs) handles button1.click
' STML_Test.Show()
' Me.BackgroundImage = Skins.applauncher
'End Sub
Public Sub refreshIcons()
desktopicons.Items.Clear()
desktopicons.ForeColor = Skins.icontextcolor
desktopicons.View = iconview1
If Skins.showicons = True Then
desktopicons.LargeImageList = File_Skimmer.ImageList1
desktopicons.SmallImageList = File_Skimmer.ImageList1
Dim dir As New IO.DirectoryInfo("C:\ShiftOS\Home\Desktop")
Dim files As IO.FileInfo() = dir.GetFiles()
Dim file As IO.FileInfo
Dim folders As IO.DirectoryInfo() = dir.GetDirectories()
Dim folder As IO.DirectoryInfo
Dim filetype As Integer
For Each folder In folders
Dim Str(3) As String
Str(0) = folder.Name
Str(1) = folder.LastAccessTime
Str(2) = "Directory"
Dim folderIcon As New ListViewItem
folderIcon.Text = Str(0)
folderIcon.Tag = folder.FullName
folderIcon.SubItems.Add(Str(1))
folderIcon.SubItems.Add(Str(2))
folderIcon.ImageIndex = 0
desktopicons.Items.Add(folderIcon)
Next
For Each file In files
Dim filename As String = file.Name
Dim fileex As String = file.Extension
Dim program As String
Dim item As New ListViewItem
item.Text = filename
item.Tag = file.FullName
item.SubItems.Add(file.LastWriteTime)
filetype = File_Skimmer.getExType(fileex)(0)
program = File_Skimmer.getExType(fileex)(1)
item.SubItems.Add(program)
item.ImageIndex = filetype
desktopicons.Items.Add(item)
Next
End If
lvadvplaces.Items.Clear()
lvadvplaces.SmallImageList = File_Skimmer.ImageList1
lvadvplaces.LargeImageList = File_Skimmer.ImageList1
For Each folder In My.Computer.FileSystem.GetDirectories("C:\ShiftOS\Home")
Dim placeinfo As New IO.DirectoryInfo(folder)
Dim place As New ListViewItem
place.Text = placeinfo.Name
place.Tag = placeinfo.FullName
place.ImageIndex = 0
lvadvplaces.Items.Add(place)
Next
lvadvfiles.Items.Clear()
lvadvfiles.LargeImageList = File_Skimmer.ImageList1
lvadvfiles.SmallImageList = File_Skimmer.ImageList1
For Each File In My.Computer.FileSystem.GetFiles("C:\ShiftOS\SoftwareData\AdvStart\Recent")
Dim fileinfo As New IO.FileInfo(File)
Dim item As New ListViewItem
item.Text = fileinfo.Name
item.Tag = fileinfo.FullName
Dim fileex As String = fileinfo.Extension
item.ImageIndex = File_Skimmer.getExType(fileex)(0)
lvadvfiles.Items.Add(item)
Next
End Sub
Private Sub ClickDesktopIcon(sender As Object, e As EventArgs) Handles desktopicons.DoubleClick
If desktopicons.SelectedItems.Count > 0 Then
Dim Path As String = desktopicons.SelectedItems(0).Tag
File_Skimmer.OpenFile(Path)
End If
End Sub
Private Sub AboutToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles AboutToolStripMenuItem.Click
infobox.title = "Desktop++ - About"
infobox.textinfo = My.Resources.DesktopPlusPlusAbout
infobox.resizeAndLoad(infobox.Width, 325) 'Resizes Infobox because if not, the full text for the message is cut off.
End Sub
Private Sub IconViewToolStripMenuItem_Click(sender As Object, e As EventArgs)
desktopicons.View = View.LargeIcon
refreshIcons()
End Sub
Private Sub TileViewToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles TileViewToolStripMenuItem.Click
desktopicons.View = View.SmallIcon
desktopicons.SmallImageList = File_Skimmer.ImageList1
refreshIcons()
End Sub
Public Sub makefolder()
My.Computer.FileSystem.CreateDirectory("C:/ShiftOS/Home/Desktop/" & infobox.txtuserinput.Text)
refreshIcons()
infobox.Close()
End Sub
Private Sub FolderToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles FolderToolStripMenuItem.Click
infobox.title = "Create New Folder"
infobox.textinfo = "What shall the name of your folder be?"
infobox.txtuserinput.Visible = True
infobox.state = "makingdesktopfolder"
infobox.Show()
End Sub
Private Sub contextmenu_Show(sender As Object, e As PaintEventArgs) Handles ContextMenuStrip1.Paint
If desktopicons.SelectedItems.Count > 0 Then
TileViewToolStripMenuItem.Visible = True
fileActionsSeparator.Visible = True
Else
TileViewToolStripMenuItem.Visible = False
fileActionsSeparator.Visible = False
End If
End Sub
Private Sub NewSkin_Click(sender As Object, e As EventArgs) Handles NewSkin.Click
infobox.title = "Skin Loader"
infobox.textinfo = "What should the name of your skin be?"
infobox.state = "generatingskin"
infobox.txtuserinput.Visible = True
infobox.Show()
End Sub
Private Sub SystemInformationReportToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles SystemInformationReportToolStripMenuItem.Click
infobox.title = "System Information Dump"
infobox.textinfo = "Please enter the name of the dump file."
infobox.state = "generatingdump"
infobox.txtuserinput.Visible = True
infobox.Show()
End Sub
Private Sub TextDocumentToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles TextDocumentToolStripMenuItem.Click
infobox.title = "New Text Document"
infobox.textinfo = "What should the name of your text file be?"
infobox.state = "newtextdocondesktop"
infobox.txtuserinput.Visible = True
infobox.Show()
End Sub
Public Sub generateShortCut(Name As String, relayPath As String)
Dim sw As New IO.StreamWriter("C:/ShiftOS/Home/Desktop/" & Name & ".sct")
sw.Write(relayPath)
sw.Close()
End Sub
Private Sub ShortcutToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ShortcutToolStripMenuItem.Click
File_Opener.openingprogram = "shortcut"
File_Opener.lbtitletext.Text = "Create Shortcut"
File_Opener.Show()
End Sub
Private Sub desktopicons_ItemDrag(ByVal sender As Object, ByVal e As System.Windows.Forms.ItemDragEventArgs) Handles desktopicons.ItemDrag
If Skins.enabledraggableicons = True Then
Dim lvi As ListViewItem = CType(e.Item, ListViewItem)
desktopicons.DoDragDrop(New DataObject("System.Windows.Forms.ListViewItem", lvi), DragDropEffects.Move)
End If
End Sub
Private Sub desktopicons_DragEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles desktopicons.DragEnter
If Skins.enabledraggableicons = True Then
If e.Data.GetDataPresent("System.Windows.Forms.ListViewItem") Then
e.Effect = DragDropEffects.Move
End If
End If
End Sub
Private Sub desktopicons_DragOver(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles desktopicons.DragOver
If Skins.enabledraggableicons = True Then
Dim lvi As ListViewItem = CType(e.Data.GetData("System.Windows.Forms.ListViewItem"), ListViewItem)
Dim Offset As Size = Size.Subtract(Cursor.Size, New Size(Cursor.HotSpot.X, Cursor.HotSpot.Y))
If (e.X < 53) Then
lvi.Position = Point.Subtract(desktopicons.PointToClient(New Point(53, e.Y)), Offset)
Else
lvi.Position = Point.Subtract(desktopicons.PointToClient(New Point(e.X, e.Y)), Offset)
End If
e.Effect = DragDropEffects.Move
End If
End Sub
Private Sub DeleteToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles DeleteToolStripMenuItem.Click
If My.Computer.FileSystem.DirectoryExists(desktopicons.SelectedItems(0).Tag) Then
My.Computer.FileSystem.DeleteDirectory(desktopicons.SelectedItems(0).Tag, FileIO.DeleteDirectoryOption.DeleteAllContents)
Else
My.Computer.FileSystem.DeleteFile(desktopicons.SelectedItems(0).Tag)
End If
refreshIcons()
End Sub
Private Sub TerminalToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles TerminalToolStripMenuItem1.Click
Terminal.Show()
Terminal.TopMost = True
hideStart()
End Sub
Private Sub FileSkimmerToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles FileSkimmerToolStripMenuItem1.Click
If boughtfileskimmer = True Then
File_Skimmer.Show()
File_Skimmer.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'File Skimmer'.")
End If
End Sub
Private Sub SystemInformationToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles SystemInformationToolStripMenuItem.Click
If installedsysinfo = True Then
systeminfo.Show()
systeminfo.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'System Information'.")
End If
End Sub
Private Sub ShifterToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles ShifterToolStripMenuItem1.Click
If boughtshifter = True Then
Shifter.Show()
Shifter.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'Shifter'.")
End If
End Sub
Private Sub SkinLoaderToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles SkinLoaderToolStripMenuItem1.Click
If boughtskinloader = True Then
Skin_Loader.Show()
Skin_Loader.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'Skin Loader'.")
End If
End Sub
Private Sub SkinShifterToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles SkinShifterToolStripMenuItem1.Click
If boughtskinshifter Then
Skinshifter.Show()
Skinshifter.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'skinshifter.saa'.")
End If
End Sub
Private Sub IconManagerToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles IconManagerToolStripMenuItem1.Click
If boughticonmanager = True Then
Icon_Manager.Show()
Icon_Manager.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'icon_manager.saa'.")
End If
End Sub
Private Sub NameChangerToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles NameChangerToolStripMenuItem1.Click
If boughtnamechanger = True Then
Name_Changer.Show()
Name_Changer.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'namechanger.saa'.")
End If
End Sub
Private Sub ShiftnetToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles ShiftnetToolStripMenuItem1.Click
If boughtshiftnet = True Then
Shiftnet.Show()
Shiftnet.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'shiftnet.dri'.")
End If
End Sub
Private Sub ShiftoriumToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles ShiftoriumToolStripMenuItem1.Click
Shiftorium.Show()
Shiftorium.TopMost = True
hideStart()
End Sub
Private Sub WebBrowserToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles WebBrowserToolStripMenuItem1.Click
If boughtwebbrowser = True Then
Web_Browser.Show()
Web_Browser.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'webbrowser.saa'.")
End If
End Sub
Private Sub DownloadManagerToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles DownloadManagerToolStripMenuItem1.Click
If boughtshiftnet = True Then
Downloadmanager.Show()
Downloadmanager.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'shiftnet.dri'.")
End If
End Sub
Private Sub InstallerToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles InstallerToolStripMenuItem1.Click
If boughtshiftnet = True Then
Installer.Show()
Installer.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'shiftnet.dri'.")
End If
End Sub
Private Sub BitnoteDiggerToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles BitnoteDiggerToolStripMenuItem1.Click
If boughtbitnotedigger = True Then
Bitnote_Digger.Show()
Bitnote_Digger.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'btn_dig.dri'.")
End If
End Sub
Private Sub BitnoteWalletToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles BitnoteWalletToolStripMenuItem1.Click
If boughtbitnotewallet = True Then
Bitnote_Wallet.Show()
Bitnote_Wallet.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'btn_wallet.saa'.")
End If
End Sub
Private Sub FloodGateManagerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles FloodGateManagerToolStripMenuItem.Click
If boughtfloodgate = True Then
FloodGate_Manager.Show()
FloodGate_Manager.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'floodgateman.saa'.")
End If
End Sub
Private Sub VirusScannerToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles VirusScannerToolStripMenuItem1.Click
If installedvirusscanner = True Then
VirusScanner.Show()
VirusScanner.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'virusscanner.saa'.")
End If
End Sub
Private Sub DodgeToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles DodgeToolStripMenuItem1.Click
If installeddodge = True Then
Dodge.Show()
Dodge.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'Dodge'.")
End If
End Sub
Private Sub SnakeyToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles SnakeyToolStripMenuItem1.Click
If boughtsnakey = True Then
Snakey.Show()
Snakey.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'Snakey'.")
End If
End Sub
Private Sub PongToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles PongToolStripMenuItem1.Click
If boughtpong = True Then
Pong.Show()
Pong.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'Pong'.")
End If
End Sub
Private Sub KnowledgeInputToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles KnowledgeInputToolStripMenuItem1.Click
Knowledge_Input.Show()
Knowledge_Input.TopMost = True
hideStart()
End Sub
Private Sub LabyrinthToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles LabyrinthToolStripMenuItem.Click
Labyrinth.Show()
Labyrinth.TopMost = True
hideStart()
End Sub
Private Sub ArtpadToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles ArtpadToolStripMenuItem1.Click
If boughtartpad = True Then
ArtPad.Show()
ArtPad.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'Artpad'.")
End If
End Sub
Private Sub TextpadToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles TextpadToolStripMenuItem1.Click
If boughttextpad = True Then
TextPad.Show()
TextPad.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'TextPad'.")
End If
End Sub
Private Sub OrcWriteToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles OrcWriteToolStripMenuItem1.Click
If installedorcwrite = True Then
OrcWrite.Show()
OrcWrite.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find driver 'OWDHandler.dri'.")
End If
End Sub
Private Sub AudioPlayerToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles AudioPlayerToolStripMenuItem1.Click
If boughtaudioplayer = True Then
Audio_Player.Show()
Audio_Player.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'audplay.saa'.")
End If
End Sub
Private Sub VideoPlayerToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles VideoPlayerToolStripMenuItem1.Click
If boughtvideoplayer = True Then
Video_Player.Show()
Video_Player.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find file 'video_player.saa'.")
End If
End Sub
Private Sub ClockToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles ClockToolStripMenuItem1.Click
If boughtclock = True Then
Clock.Show()
Clock.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'Clock'.")
End If
End Sub
Private Sub CalculatorToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles CalculatorToolStripMenuItem1.Click
If boughtcalculator = True Then
Calculator.Show()
Calculator.TopMost = True
hideStart()
Else
infobox.showinfo("Error", "Could not find app 'Calculator'.")
End If
End Sub
Public Sub hideStart()
pnladvapplauncher.Hide()
End Sub
Private Sub btnadvshutdown_Click(sender As Object, e As EventArgs) Handles btnadvshutdown.Click
savegame()
shutdownshiftos()
End Sub
Private Sub lvadvplaces_SelectedIndexChanged(sender As Object, e As EventArgs) Handles lvadvplaces.SelectedIndexChanged
If lvadvplaces.SelectedItems.Count > 0 Then
Dim fName As String = lvadvplaces.SelectedItems(0).Tag
fName = fName.Replace("\", "/")
File_Skimmer.OpenFile(fName)
End If
pnladvapplauncher.Hide()
End Sub
Private Sub lvadvfiles_SelectedIndexChanged(sender As Object, e As EventArgs) Handles lvadvfiles.SelectedIndexChanged
If lvadvfiles.SelectedItems.Count > 0 Then
File_Skimmer.OpenFile(lvadvfiles.SelectedItems(0).Tag)
End If
pnladvapplauncher.Hide()
End Sub
Private Sub ApplicationsToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ApplicationsToolStripMenuItem.Click
If boughtadvapplauncher = False And Skins.useClassicAppLauncher = False Then 'Change false to true when the ability to buy the Advanced App Launcher from the Shiftnet is finished.
ApplicationsToolStripMenuItem.HideDropDown()
If pnladvapplauncher.Visible = False Then
pnladvapplauncher.Show()
Else
pnladvapplauncher.Hide()
End If
lbuser.Text = username
Select Case Skins.desktoppanelposition
Case "Top"
pnladvapplauncher.Location = New Point(0, desktoppanel.Height)
Case "Bottom"
pnladvapplauncher.Location = New Point(0, Me.Height - desktoppanel.Height - pnladvapplauncher.Height)
End Select
refreshIcons()
End If
End Sub
End Class
|