home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / COMM / QMWP20.ZIP / WPSETUP.QSC < prev   
Encoding:
Text File  |  1997-05-11  |  32.0 KB  |  881 lines

  1. declare function GetDlgItem lib "user32" (hwindow as integer, id as integer) as integer
  2. declare function EnableWindow lib "user32" (hwindow as integer, on as integer) as integer
  3.  
  4. dialog SetupDialog 9, 20, 400, 268
  5.   caption "╬≈╡π╫╘╢»╔╧╒╛╔Φ╓├"
  6.   FONT 9 , "╦╬╠σ"
  7.   
  8.   groupbox "╗∙▒╛╧ε─┐", 1, 12, 9, 182, 64
  9.   ltext "─·╘┌╬≈╡π╒╛╔╧╡─┤≤├√:", -1, 20, 25, 76, 8
  10.   ltext "─·╡╟┬╝╬≈╡π╡─├▄┬δ:",   -1, 20, 40, 76, 8
  11.   ltext "─·╡─╔·╚╒(MM-DD-YY):", -1, 20, 55, 76, 8
  12.   Your_ID       as edittext 2,103, 23, 82, 12
  13.   Your_Password as edittext 3,103, 38, 82, 12
  14.   Birthday      as edittext 4,103, 53, 82, 12
  15.  
  16.   groupbox "╬≈╡π═┼╬»", 10, 12, 80,182, 79
  17.   ltext "─·╩╟╬≈╡π═┼╘▒┬≡?", -1, 20, 96, 60, 8
  18.   League_Member_true as radiobutton "╩╟", 11, 97, 94, 24, 12
  19.   League_Member_false as radiobutton "╖±", 12, 129, 94, 24, 12
  20.   League_Member_Dues_AutoPay as checkbox "╩╣╙├╫╘╢»╜╗─╔═┼╖╤╣ª─▄", 13, 20, 111, 92, 8
  21.   ltext "╔╧┤╬╜╗─╔═┼╖╤╩▒╝Σ:", 14, 20, 126, 68, 8
  22.   ltext "╩╒╜╔╚╦:", 15, 20, 141, 28, 8
  23.   ltext "╜≡╢ε", 16, 138, 126, 16, 8
  24.   ltext "╢▄", 17, 174, 126, 8, 8
  25.   ltext "╕╜╤╘:", 16, 106, 141, 20, 8
  26.   League_Member_Dues_Paytime as edittext 18,92, 124, 38, 12
  27.   League_Member_Dues as edittext 20,158,124,12,12
  28.   League_Member_Dues_PayTo as edittext 19,56, 139, 42, 12
  29.   League_Member_Brief as edittext 21,130,139,56,12
  30.  
  31.   groupbox "╨┼╙├╡π", 60, 12, 166, 182, 66
  32.   XYD_AutoSold as checkbox "╫╘╢»┬⌠│÷╨┼╙├╡π",61,20,182,68,8
  33.   XYD_AutoBuy as checkbox "╫╘╢»┬≥╚δ╨┼╙├╡π",62,116,182,68,8
  34.   ltext "┤∩╡╜", -1, 20, 197, 16, 8
  35.   ltext "╕÷╨┼╙├╡π╩▒", -1, 68, 197, 40, 8  
  36.   ltext "┬⌠│÷",   -1, 20, 212, 16, 8
  37.   ltext "╕÷╨┼╙├╡π", -1, 68, 212, 32, 8
  38.   ltext "┤∩╡╜", -1, 116, 197, 16, 8
  39.   ltext "╢▄╩▒", -1, 164, 197, 16, 8  
  40.   ltext "┬≥╚δ", -1, 116, 212, 16, 8
  41.   ltext "╢▄", -1, 164, 212, 8, 8
  42.   XYD_Max  as edittext 63,40, 195, 24, 12
  43.   XYD_Sold as edittext 64,40,212 , 24, 12
  44.   DUN_Max  as edittext 65,136, 195, 24, 12
  45.   XYD_Buy as edittext 66,136,212 , 24, 12
  46.  
  47.   groupbox "╨┼┴┐", 50, 206, 9, 182, 49
  48.   Xin_Liang_AutoSold as checkbox "╫╘╢»┬⌠╨┼┴┐",51,214,25,52,8
  49.   ltext "┤∩╡╜", 52, 214, 40, 16, 8
  50.   ltext "╖Γ╨┼╩▒,", 53, 262, 40, 32, 8  
  51.   ltext "┬⌠│÷",   54, 294, 40, 16, 8
  52.   ltext "╖Γ╨┼", 55, 342, 40, 24, 8
  53.   Xin_Liang_Max  as edittext 56,236, 38, 24, 12
  54.   Xin_Liang_Sold as edittext 57,314, 38, 24, 12
  55.   
  56.   groupbox "╬≈╡πE╚╦╗∙╜≡╗ß", 30, 206, 65, 182, 94
  57.   ltext "─·╩╟╬≈╡πE╚╦╗∙╜≡╗ß╗ß╘▒┬≡?", -1, 214, 81, 96, 8
  58.   Foundation_Wp_true as radiobutton "╩╟", 31, 318, 79, 24, 12
  59.   Foundation_Wp_false as radiobutton "╖±", 32, 346, 79, 24, 12
  60.   Foundation_Wp_AutoSave as checkbox "╩╣╙├╫╘╢»┤µ┐ε╣ª─▄", 33, 214, 96, 80, 8
  61.   ltext "E╚╦╗∙╜≡╗ß╡▒╟░╡─ID╩╟:", 34, 214, 111, 80, 8
  62.   ltext "┤∩╡╜", 35, 214, 126, 16, 8
  63.   ltext "╬≈╡π╢▄╩▒┐¬╞⌠╫╘╢»┤µ┐ε" ,36, 264, 126, 80, 8  
  64.   ltext "┤µ┐ε", 37, 214, 141, 16, 8
  65.   ltext "╬≈╡π╢▄", 38, 264, 141, 24, 8
  66.   ltext "╕╜╤╘:", 38, 300, 141, 20, 8
  67.   Foundation_Wp_ID as edittext 39,302,109,78,12
  68.   Foundation_wp_Max as edittext 40,234, 124, 24, 12
  69.   Foundation_wp_Save as edittext 41,234, 139, 24, 12
  70.   Foundation_Wp_Brief as edittext 42,324,139,56,12
  71.  
  72.  
  73.   groupbox "╬─╝■", 70, 206, 166, 182, 66
  74.   Upload_Wanted as checkbox "╫╘╢»╔╧╘╪╚φ╝■", 71, 216, 186, 60, 8
  75.   pushbutton "╔╧╘╪╚φ╝■╟σ╡Ñ", 72, 306, 183, 64, 14
  76.   Download_Wanted as checkbox "╫╘╢»╧┬╘╪╚φ╝■", 81, 216, 208, 60, 8
  77.   pushbutton "╧┬╘╪╚φ╝■╟σ╡Ñ", 82, 306, 205, 64, 14
  78.  
  79.   defpushbutton "╚╖╢¿", IDOK, 28, 242, 46, 14
  80.   pushbutton "╚í╧√", IDCANCEL, 102, 242, 46, 14
  81.   pushbutton "╞Σ╦ⁿ", 90, 176, 242, 46, 14
  82.   pushbutton "╣╪╙┌", 91, 250, 242, 46, 14
  83.   pushbutton "╝≥╜Θ", 92, 324, 242, 46, 14
  84. end dialog
  85.  
  86. dialog Elsesdialog 100,50,208,148
  87.   caption "╞Σ╦ⁿ"
  88.   FONT 9 , "╦╬╠σ"
  89.   groupbox "", 100, 12, 9, 184, 106
  90.   ltext "PKZIP.EXE╦∙╘┌─┐┬╝:",-1,24,30,72,8
  91.   ltext "┴┘╩▒╬─╝■─┐┬╝:",-1,24,50,56,8
  92.   ltext "╔╧┤½╨┼░ⁿ┬╖╛╢:",-1,24,70,56,8
  93.   ltext "╧┬┤½╨┼░ⁿ┬╖╛╢:",-1,24,90,56,8
  94.   Pkzip_Dir as edittext 101,100,28,84,12
  95.   Temp_Dir as edittext 102,84, 48, 100, 12
  96.   Msg_UpLoad_Dir as edittext 103,84, 68, 100, 12
  97.   Msg_DownLoad_Dir as edittext 104,84, 88, 100, 12
  98.   defpushbutton "╚╖╢¿", IDOK, 36, 124, 50, 14
  99.   pushbutton "╚í╧√", IDCANCEL, 122, 124, 50, 14
  100. end dialog  
  101.  
  102.  
  103. dialog Aboutdialog 100,25,200,184
  104.   caption "╣╪╙┌"
  105.   FONT 9 , "╦╬╠σ"
  106.   groupbox "", 200, 14, 10, 172, 140
  107.   Ctext "QMODEM PRO 2.0╢α╣ª─▄╫╘╢»╔╧╒╛│╠╨≥",-1,16,40,168,8
  108.   Ctext "░µ▒╛2.0",-1,16,60,168,8
  109.   Ctext "╫≈╒▀: Jin Hui í■íεíεí■",-1,16,80,168,8
  110.   Ctext "EMAIL: JINHUI@USA.NET",-1,16,100,168,8
  111.   Ctext "TEL: (10)63245654",-1,16,120,168,8
  112.   defpushbutton "╚╖╢¿", IDOK, 75, 160, 50, 14
  113. end dialog  
  114.  
  115. dialog Briefdialog 100,13,200,204
  116.   caption "╝≥╜Θ"
  117.   FONT 9 , "╦╬╠σ"
  118.   groupbox "", 300, 14, 10, 172, 160
  119.   ltext "    ▒╛│╠╨≥╡──┐╡─╩╟╩╡╧╓╬≈╡πBBS╡─╢α╣ª─▄╫",-1,22,30,156,8
  120.   ltext "╫╘╢»╔╧╒╛íú╓≈╥¬╣ª─▄╩╟┬⌠│÷╨┼┴┐ú¼ ┬⌠│÷╨┼╙├",-1,22,50,156,8
  121.   ltext "╡πú¼╜╗─╔═┼╖╤ú¼╧≥E╚╦╗∙╜≡╗ß┤µ┐ε╝░╔╧╘╪╧┬╘╪",-1,22,70,156,8
  122.   ltext "╓╕╢¿╚φ╝■,▓ó░╤╬≈╡π╥°╨╨─┌╦∙╙╨▓┘╫≈╝╟┬╝▓╢╗±",-1,22,90,156,8
  123.   ltext "╬¬MONEY.TXT╬─╝■ú¼╘┘╤╣╦⌡╡╜╧┬╘╪╨┼░ⁿ╓╨íú",-1,22,110,156,8
  124.   ltext "╙├╗º┐╔╘┌└╝▓¿╓╨╡─WELCOME╧ε└∩▓Θ┐┤┤╦╬─╝■íú",-1,22,130,156,8
  125.   ltext "   ▒╛│╠╨≥╔╨╘┌╡≈╩╘╓╨ú¼│÷╧╓╬╩╠Γ╟δ╝┤═¿╓¬íú",-1,22,150,156,8
  126.   defpushbutton "╚╖╢¿", IDOK, 75, 180, 50, 14
  127. end dialog  
  128.  
  129.  
  130. dialog Uploaddialog 100,50,208,269
  131.   caption "╔╧╘╪╚φ╝■╟σ╡Ñ"
  132.   FONT 9 , "╦╬╠σ"
  133.   groupbox "", 400, 12, 9, 184, 226
  134.   ltext "╬─╝■1┬╖╛╢:",-1,24,25,40,8
  135.   ltext "╝≥╢╠╦╡├≈:",-1,24,40,36,8
  136.   ltext "╬─╝■2┬╖╛╢:",-1,24,60,40,8
  137.   ltext "╝≥╢╠╦╡├≈:",-1,24,75,36,8
  138.   ltext "╬─╝■3┬╖╛╢:",-1,24,95,40,8
  139.   ltext "╝≥╢╠╦╡├≈:",-1,24,110,36,8
  140.   ltext "╬─╝■4┬╖╛╢:",-1,24,130,40,8
  141.   ltext "╝≥╢╠╦╡├≈:",-1,24,145,36,8
  142.   ltext "╬─╝■5┬╖╛╢:",-1,24,165,40,8
  143.   ltext "╝≥╢╠╦╡├≈:",-1,24,180,36,8
  144.   ltext "╬─╝■6┬╖╛╢:",-1,24,200,40,8
  145.   ltext "╝≥╢╠╦╡├≈:",-1,24,215,36,8
  146.   Upload_File1_Name as edittext 401,68,23,116,12
  147.   Upload_File1_Brief as edittext 402,68, 38, 116, 12
  148.   Upload_File2_Name as edittext 403,68,58,116,12
  149.   Upload_File2_Brief as edittext 404,68, 73, 116, 12
  150.   Upload_File3_Name as edittext 405,68,93,116,12
  151.   Upload_File3_Brief as edittext 406,68, 108, 116, 12
  152.   Upload_File4_Name as edittext 407,68,128,116,12
  153.   Upload_File4_Brief as edittext 408,68, 143, 116, 12
  154.   Upload_File5_Name as edittext 409,68,163,116,12
  155.   Upload_File5_Brief as edittext 410,68, 178, 116, 12
  156.   Upload_File6_Name as edittext 411,68,198,116,12
  157.   Upload_File6_Brief as edittext 412,68, 213, 116, 12
  158.   defpushbutton "╚╖╢¿", IDOK, 36, 245, 50, 14
  159.   pushbutton "╚í╧√", IDCANCEL, 122, 245, 50, 14
  160. end dialog  
  161.  
  162. dialog Downloaddialog 100,25,208,183
  163.   caption "╧┬╘╪╚φ╝■╟σ╡Ñ"
  164.   FONT 9 , "╦╬╠σ"
  165.   groupbox "", 500, 12, 9, 184, 140
  166.   ltext "1 ╬─╝■╟°:",-1,24,27,36,8
  167.   ltext "╬─╝■├√:",-1,92,27,28,8
  168.   ltext "2 ╬─╝■╟°:",-1,24,47,36,8
  169.   ltext "╬─╝■├√:",-1,92,47,28,8
  170.   ltext "3 ╬─╝■╟°:",-1,24,67,36,8
  171.   ltext "╬─╝■├√:",-1,92,67,28,8
  172.   ltext "4 ╬─╝■╟°:",-1,24,87,36,8
  173.   ltext "╬─╝■├√:",-1,92,87,28,8
  174.   ltext "5 ╬─╝■╟°:",-1,24,107,36,8
  175.   ltext "╬─╝■├√:",-1,92,107,28,8
  176.   ltext "6 ╬─╝■╟°:",-1,24,127,36,8
  177.   ltext "╬─╝■├√:",-1,92,127,28,8
  178.   Download_File1_Area as edittext 501,64, 25, 12, 12
  179.   Download_File1_Name as edittext 502,124,25,56,12
  180.   Download_File2_Area as edittext 503,64, 45, 12, 12
  181.   Download_File2_Name as edittext 504,124,45,56,12
  182.   Download_File3_Area as edittext 505,64, 65, 12, 12
  183.   Download_File3_Name as edittext 506,124,65,56,12
  184.   Download_File4_Area as edittext 507,64, 85, 12, 12
  185.   Download_File4_Name as edittext 508,124,85,56,12
  186.   Download_File5_Area as edittext 509,64, 105, 12, 12
  187.   Download_File5_Name as edittext 510,124,105,56,12
  188.   Download_File6_Area as edittext 511,64, 125, 12, 12
  189.   Download_File6_Name as edittext 512,124,125,56,12
  190.   defpushbutton "╚╖╢¿", IDOK, 36, 159, 50, 14
  191.   pushbutton "╚í╧√", IDCANCEL, 122, 159, 50, 14
  192. end dialog  
  193.  
  194.  
  195. dim Setup as setupdialog
  196. dim About as aboutdialog
  197. dim Brief as Briefdialog
  198. dim Elses as Elsesdialog
  199. dim Up as Uploaddialog
  200. dim Down as DownLoaddialog
  201.  
  202. function SetupDialog.id(11) as integer
  203. EnableWindow(GetDlgItem(HWindow, 13), true)
  204. dim i as integer
  205. if League_Member_Dues_AutoPay=1 then
  206.     for i=14 to 21
  207.       EnableWindow(GetDlgItem(HWindow, i), true)
  208.     next i
  209. else
  210.     for i=14 to 21
  211.       EnableWindow(GetDlgItem(HWindow, i), false)
  212.     next i
  213. end if
  214. end function
  215.  
  216. function SetupDialog.id(13) as integer
  217. dim i as integer
  218. if League_Member_Dues_AutoPay=1 then
  219.     for i=14 to 21
  220.       EnableWindow(GetDlgItem(HWindow, i), true)
  221.     next i
  222. else
  223.     for i=14 to 21
  224.       EnableWindow(GetDlgItem(HWindow, i), false)
  225.     next i
  226. end if
  227. end function
  228.  
  229.  
  230. function SetupDialog.id(12) as integer
  231. dim i as integer
  232.     for i=13 to 21
  233.       EnableWindow(GetDlgItem(HWindow, i), false)
  234.     next i
  235. end function
  236.  
  237. function SetupDialog.id(31) as integer
  238. EnableWindow(GetDlgItem(HWindow, 33), true)
  239. dim i as integer
  240. if Foundation_Wp_AutoSave=1 then
  241.     for i=34 to 42
  242.       EnableWindow(GetDlgItem(HWindow, i), true)
  243.     next i
  244. else
  245.     for i=34 to 42
  246.       EnableWindow(GetDlgItem(HWindow, i), false)
  247.     next i
  248. end if
  249. end function
  250.  
  251. function SetupDialog.id(32) as integer
  252. dim i as integer
  253. for i=33 to 42
  254.     EnableWindow(GetDlgItem(HWindow, i), false)
  255. next i
  256. end function
  257.  
  258. function SetupDialog.id(33) as integer
  259. dim i as integer
  260. if Foundation_Wp_AutoSave=1 then
  261.     for i=34 to 42
  262.       EnableWindow(GetDlgItem(HWindow, i), true)
  263.     next i
  264. else
  265.     for i=34 to 42
  266.       EnableWindow(GetDlgItem(HWindow, i), false)
  267.     next i
  268. end if
  269. end function
  270.  
  271. function SetupDialog.id(51) as integer
  272. dim i as integer
  273. if Xin_Liang_AutoSold=1 then
  274.     for i=52 to 57
  275.       EnableWindow(GetDlgItem(HWindow, i), true)
  276.     next i
  277. else
  278.     for i=52 to 57
  279.       EnableWindow(GetDlgItem(HWindow, i), false)
  280.     next i
  281. end if
  282. end function
  283.  
  284. function SetupDialog.id(61) as integer
  285.     if XYD_AutoSold=1 then
  286.         EnableWindow(GetDlgItem(HWindow, 63),True)
  287.         EnableWindow(GetDlgItem(HWindow, 64),True)
  288.         EnableWindow(GetDlgItem(HWindow, 65),False)
  289.         EnableWindow(GetDlgItem(HWindow, 66),False)
  290.         XYD_AutoBuy=0
  291.     else
  292.         EnableWindow(GetDlgItem(HWindow, 63),False)
  293.         EnableWindow(GetDlgItem(HWindow, 64),False)
  294.     end if
  295. end function
  296.  
  297. function SetupDialog.id(62) as integer
  298.     if XYD_AutoBuy=1 then
  299.         EnableWindow(GetDlgItem(HWindow, 65),True)
  300.         EnableWindow(GetDlgItem(HWindow, 66),True)
  301.         EnableWindow(GetDlgItem(HWindow, 63),False)
  302.         EnableWindow(GetDlgItem(HWindow, 64),False)
  303.         XYD_AutoSold=0
  304.     else
  305.         EnableWindow(GetDlgItem(HWindow, 65),False)
  306.         EnableWindow(GetDlgItem(HWindow, 66),False)
  307.     end if
  308. end function
  309.  
  310. function SetupDialog.id(71) as integer
  311.     if Upload_Wanted=1 then
  312.         EnableWindow(GetDlgItem(HWindow, 72), true)
  313.     else
  314.         EnableWindow(GetDlgItem(HWindow, 72), False)
  315.     end if
  316. end function
  317.  
  318. function SetupDialog.id(72) as integer
  319.     dim sr as searchrec
  320.     dim Count as integer
  321.     dim temp11 as string,temp12 as string
  322.     dim temp21 as string,temp22 as string
  323.     dim temp31 as string,temp32 as string
  324.     dim temp41 as string,temp42 as string
  325.     dim temp51 as string,temp52 as string
  326.     dim temp61 as string,temp62 as string 
  327.  
  328.     Temp11=Up.Upload_File1_Name
  329.     Temp12=Up.Upload_File1_Brief
  330.     Temp21=Up.Upload_File2_Name
  331.     Temp22=Up.Upload_File2_Brief
  332.     Temp31=Up.Upload_File3_Name
  333.     Temp32=Up.Upload_File3_Brief
  334.     Temp41=Up.Upload_File4_Name
  335.     Temp42=Up.Upload_File4_Brief
  336.     Temp51=Up.Upload_File5_Name
  337.     Temp52=Up.Upload_File5_Brief
  338.     Temp61=Up.Upload_File6_Name
  339.     Temp62=Up.Upload_File6_Brief
  340.  
  341.     Again:
  342.     Count=0
  343.     if dialogbox(Up)= IDOK then
  344.         if ltrim(Up.Upload_File1_Name)="" then
  345.             Count=Count+1
  346.             Up.Upload_File1_Brief=""
  347.         else 
  348.             if findfirst(Up.Upload_File1_Name , sr)<>0 then
  349.                 msgbox ("╬─╝■1┬╖╛╢┤φ!")
  350.                 goto again
  351.             end if
  352.         end if
  353.         if ltrim(Up.Upload_File2_Name)="" then
  354.             Count=Count+1
  355.             Up.Upload_File2_Brief=""            
  356.         else 
  357.             if findfirst(Up.Upload_File2_Name , sr)<>0 then
  358.                 msgbox ("╬─╝■2┬╖╛╢┤φ!")
  359.                 goto again
  360.             end if
  361.         end if
  362.         if ltrim(Up.Upload_File3_Name)="" then
  363.             Count=Count+1
  364.             Up.Upload_File3_Brief=""            
  365.         else 
  366.             if findfirst(Up.Upload_File3_Name , sr)<>0 then
  367.                 msgbox ("╬─╝■3┬╖╛╢┤φ!")
  368.                 goto again
  369.             end if
  370.         end if
  371.         if ltrim(Up.Upload_File4_Name)="" then
  372.             Count=Count+1
  373.             Up.Upload_File4_Brief=""            
  374.         else 
  375.             if findfirst(Up.Upload_File4_Name , sr)<>0 then
  376.                 msgbox ("╬─╝■4┬╖╛╢┤φ!")
  377.                 goto again
  378.             end if
  379.         end if
  380.         if ltrim(Up.Upload_File5_Name)="" then
  381.             Count=Count+1
  382.             Up.Upload_File5_Brief=""            
  383.         else 
  384.             if findfirst(Up.Upload_File5_Name , sr)<>0 then
  385.                 msgbox ("╬─╝■5┬╖╛╢┤φ!")
  386.                 goto again
  387.             end if
  388.         end if
  389.         if ltrim(Up.Upload_File6_Name)="" then
  390.             Count=Count+1
  391.             Up.Upload_File6_Brief=""            
  392.         else 
  393.             if findfirst(Up.Upload_File6_Name , sr)<>0 then
  394.                 msgbox ("╬─╝■6┬╖╛╢┤φ!")
  395.                 goto again
  396.             end if
  397.         end if
  398.         if Count=6 then 
  399.             Setup.Upload_Wanted=0
  400.             EnableWindow(GetDlgItem(HWindow, 72), False)
  401.         end if
  402.     else 
  403.         Up.Upload_File1_Name=Temp11
  404.         Up.Upload_File1_Brief=Temp12
  405.         Up.Upload_File2_Name=Temp21
  406.         Up.Upload_File2_Brief=Temp22
  407.         Up.Upload_File3_Name=Temp31
  408.         Up.Upload_File3_Brief=Temp32
  409.         Up.Upload_File4_Name=Temp41
  410.         Up.Upload_File4_Brief=Temp42
  411.         Up.Upload_File5_Name=Temp51
  412.         Up.Upload_File5_Brief=Temp52
  413.         Up.Upload_File6_Name=Temp61
  414.         Up.Upload_File6_Brief=Temp62
  415.     end if
  416. end function
  417.  
  418.  
  419. function SetupDialog.id(81) as integer
  420.       if DownLoad_Wanted=1 then
  421.           EnableWindow(GetDlgItem(HWindow, 82), true)
  422.       else
  423.           EnableWindow(GetDlgItem(HWindow, 82), False)
  424.       end if
  425. end function
  426.  
  427. function SetupDialog.id(82) as integer
  428.     dim Count as integer
  429.     dim temp11 as string,temp12 as string
  430.     dim temp21 as string,temp22 as string
  431.     dim temp31 as string,temp32 as string
  432.     dim temp41 as string,temp42 as string
  433.     dim temp51 as string,temp52 as string
  434.     dim temp61 as string,temp62 as string 
  435.  
  436.     Temp11=Down.Download_File1_Area
  437.     Temp12=Down.Download_File1_Name
  438.     Temp21=Down.Download_File2_Area
  439.     Temp22=Down.Download_File2_Name
  440.     Temp31=Down.Download_File3_Area
  441.     Temp32=Down.Download_File3_Name
  442.     Temp41=Down.Download_File4_Area
  443.     Temp42=Down.Download_File4_Name
  444.     Temp51=Down.Download_File5_Area
  445.     Temp52=Down.Download_File5_Name
  446.     Temp61=Down.Download_File6_Area
  447.     Temp62=Down.Download_File6_Name
  448.     
  449.     again:
  450.     Count=0
  451.     if dialogbox(down)= IDOK then
  452.         if ltrim(Down.Download_File1_Area)="" or ltrim(Down.Download_File1_Name)="" then
  453.             Down.Download_File1_Area=""
  454.             Down.Download_File1_Name=""
  455.         end if
  456.         if ltrim(Down.Download_File2_Area)="" or ltrim(Down.Download_File2_Name)="" then
  457.             Down.Download_File2_Area=""
  458.             Down.Download_File2_Name=""
  459.         end if
  460.         if ltrim(Down.Download_File3_Area)="" or ltrim(Down.Download_File3_Name)="" then
  461.             Down.Download_File3_Area=""
  462.             Down.Download_File3_Name=""
  463.         end if
  464.         if ltrim(Down.Download_File4_Area)="" or ltrim(Down.Download_File4_Name)="" then
  465.             Down.Download_File4_Area=""
  466.             Down.Download_File4_Name=""
  467.         end if
  468.         if ltrim(Down.Download_File5_Area)="" or ltrim(Down.Download_File5_Name)="" then
  469.             Down.Download_File5_Area=""
  470.             Down.Download_File5_Name=""
  471.         end if
  472.         if ltrim(Down.Download_File6_Area)="" or ltrim(Down.Download_File6_Name)="" then
  473.             Down.Download_File6_Area=""
  474.             Down.Download_File6_Name=""
  475.         end if
  476.  
  477.         if ltrim(Down.Download_File1_Area)<>"" then 
  478.             if Down.Download_File1_Area<>str(int(val(Down.Download_File1_Area)))  then
  479.                 msgbox ("╬─╝■1╡─╬─╝■╟°╕±╩╜┤φ!")
  480.                 goto again
  481.             end if
  482.         else
  483.             Count=Count+1
  484.         end if
  485.         if ltrim(Down.Download_File2_Area)<>"" then 
  486.             if Down.Download_File2_Area<>str(int(val(Down.Download_File2_Area)))  then
  487.                 msgbox ("╬─╝■2╡─╬─╝■╟°╕±╩╜┤φ!")
  488.                 goto again
  489.             end if
  490.         else
  491.             Count=Count+1
  492.         end if
  493.         if ltrim(Down.Download_File3_Area)<>"" then 
  494.             if Down.Download_File3_Area<>str(int(val(Down.Download_File3_Area)))  then
  495.                 msgbox ("╬─╝■3╡─╬─╝■╟°╕±╩╜┤φ!")
  496.                 goto again
  497.             end if
  498.         else
  499.             Count=Count+1
  500.         end if
  501.         if ltrim(Down.Download_File4_Area)<>"" then                     
  502.             if Down.Download_File4_Area<>str(int(val(Down.Download_File4_Area)))  then
  503.                 msgbox ("╬─╝■4╡─╬─╝■╟°╕±╩╜┤φ!")
  504.                 goto again
  505.             end if
  506.         else
  507.             Count=Count+1
  508.         end if
  509.         if ltrim(Down.Download_File5_Area)<>"" then 
  510.             if Down.Download_File5_Area<>str(int(val(Down.Download_File5_Area)))  then
  511.                 msgbox ("╬─╝■5╡─╬─╝■╟°╕±╩╜┤φ!")
  512.                 goto again
  513.             end if
  514.         else
  515.             Count=Count+1
  516.         end if
  517.         if ltrim(Down.Download_File6_Area)<>"" then 
  518.             if Down.Download_File6_Area<>str(int(val(Down.Download_File6_Area)))  then
  519.                 msgbox ("╬─╝■6╡─╬─╝■╟°╕±╩╜┤φ!")
  520.                 goto again
  521.             end if
  522.         else
  523.             Count=Count+1
  524.         end if
  525.         if Count=6 then 
  526.             Setup.Download_Wanted=0
  527.             EnableWindow(GetDlgItem(HWindow, 82), False)
  528.         end if
  529.     else
  530.         Down.Download_File1_Area=Temp11
  531.         Down.Download_File1_Name=Temp12
  532.         Down.Download_File2_Area=Temp21
  533.         Down.Download_File2_Name=Temp22
  534.         Down.Download_File3_Area=Temp31
  535.         Down.Download_File3_Name=Temp32
  536.         Down.Download_File4_Area=Temp41
  537.         Down.Download_File4_Name=Temp42
  538.         Down.Download_File5_Area=Temp51
  539.         Down.Download_File5_Name=Temp52
  540.         Down.Download_File6_Area=Temp61
  541.         Down.Download_File6_Name=Temp62
  542.     end if
  543. end function
  544.  
  545. function SetupDialog.id(90) as integer
  546.     dim sr as searchrec
  547.     dim temp1 as string,temp2 as string,temp3 as string, temp4 as string
  548.     temp1=elses.Pkzip_Dir
  549.     temp2=elses.Temp_Dir
  550.     temp3=Elses.Msg_Upload_dir
  551.     temp4=Elses.Msg_download_dir
  552.     Display:
  553.     if dialogbox(Elses)=IDOK then
  554.         if right(Elses.Pkzip_Dir,1)="\" then Elses.Pkzip_Dir=left(Elses.Pkzip_Dir,Len(Elses.Pkzip_Dir)-1)
  555.         if right(Elses.Temp_Dir,1)="\" then Elses.Temp_Dir=left(Elses.Temp_Dir,Len(Elses.Temp_Dir)-1)
  556.         if findfirst(elses.Pkzip_Dir+"\pkzip.exe", sr)<>0 then 
  557.             MsgBox ("PKZIP.EXE┬╖╛╢┤φ╬≤!")
  558.             goto display
  559.         end if
  560.         if findfirst(elses.Temp_Dir, sr)<>0 then 
  561.             MsgBox ("┴┘╩▒╬─╝■─┐┬╝┤φ╬≤!")
  562.             goto display
  563.         end if
  564.         if findfirst(Elses.Msg_Upload_dir,sr)<>0 then
  565.             MsgBox ("╔╧┤½╨┼░ⁿ┬╖╛╢┤φ╬≤!")
  566.             goto display
  567.         end if 
  568.         if findfirst(Elses.Msg_download_dir,sr)<>0 then
  569.             MsgBox ("╧┬┤½╨┼░ⁿ┬╖╛╢┤φ╬≤!")
  570.             goto display
  571.         end if 
  572.     else
  573.         elses.Pkzip_Dir=temp1
  574.         elses.Temp_Dir=temp2
  575.         Elses.Msg_Upload_dir=temp3
  576.         Elses.Msg_download_dir=temp4
  577.     end if
  578. end function
  579.  
  580. function SetupDialog.id(91) as integer
  581. if dialogbox(about)=idok then 
  582. end if
  583. end function
  584.  
  585. function SetupDialog.id(92) as integer
  586. if dialogbox(Brief)=idok then 
  587. end if
  588. end function
  589.  
  590.         
  591. sub SetupDialog.Init
  592. dim i as integer
  593.  
  594. if setup.League_Member_true=1 then
  595.     EnableWindow(GetDlgItem(HWindow, 13), true)
  596.     if League_Member_Dues_AutoPay=1 then
  597.         for i=14 to 21
  598.           EnableWindow(GetDlgItem(HWindow, i), true)
  599.         next i
  600.     else
  601.         for i=14 to 21
  602.           EnableWindow(GetDlgItem(HWindow, i), false)
  603.         next i
  604.     end if
  605. else    
  606.     for i=13 to 21
  607.       EnableWindow(GetDlgItem(HWindow, i), false)
  608.     next i
  609. end if    
  610. if setup.Foundation_Wp_True=1 then
  611.     EnableWindow(GetDlgItem(HWindow, 33), true)
  612.     if Foundation_Wp_AutoSave=1 then
  613.         for i=34 to 42
  614.           EnableWindow(GetDlgItem(HWindow, i), true)
  615.         next i
  616.     else
  617.         for i=34 to 42
  618.           EnableWindow(GetDlgItem(HWindow, i), false)
  619.         next i
  620.     end if
  621. else    
  622.     for i=33 to 42
  623.         EnableWindow(GetDlgItem(HWindow, i), false)
  624.     next i
  625. end if    
  626.     
  627. if Xin_Liang_AutoSold=1 then
  628.     for i=52 to 57
  629.       EnableWindow(GetDlgItem(HWindow, i), true)
  630.     next i
  631. else
  632.     for i=52 to 57
  633.       EnableWindow(GetDlgItem(HWindow, i), false)
  634.     next i
  635. end if
  636.     
  637. if XYD_AutoSold=0 then
  638.     for i=63 to 64
  639.       EnableWindow(GetDlgItem(HWindow, i), False)
  640.     next i
  641. end if
  642. if XYD_AutoBuy=0 then
  643.     for i=65 to 66
  644.       EnableWindow(GetDlgItem(HWindow, i), false)
  645.     next i
  646. end if
  647.  
  648. if Up.Upload_File1_Name="" and Up.Upload_File2_Name="" and Up.Upload_File3_Name="" and Up.Upload_File4_Name="" and Up.Upload_File5_Name="" and Up.Upload_File6_Name="" then
  649.       EnableWindow(GetDlgItem(HWindow, 72), false)
  650.       Upload_Wanted=0
  651. else
  652.       EnableWindow(GetDlgItem(HWindow, 72), true)
  653.       Upload_Wanted=1
  654. end if
  655.  
  656. if Down.Download_File1_Name="" and Down.Download_File2_Name="" and Down.Download_File3_Name="" and Down.Download_File4_Name="" and Down.Download_File5_Name="" and Down.Download_File6_Name="" then
  657.       EnableWindow(GetDlgItem(HWindow, 82), false)
  658.       DownLoad_Wanted=0
  659. else
  660.       DownLoad_Wanted=1
  661.       EnableWindow(GetDlgItem(HWindow, 82), true)
  662. end if
  663.     
  664. end sub
  665.  
  666. sub Read_Data
  667.     dim Rectemp as string
  668.     dim temp as string
  669.     dim Item as string
  670.     dim value as string
  671.  
  672.     open configscriptpath+"\westpont.ini" for input as #1
  673.     read_next:
  674.     receive #1,Rectemp
  675.     temp=ltrim(rectemp)
  676.     if instr(temp,"=")=0 or len(temp)=0 or left(temp,1)=chr(13) or left(temp,1)=";" then goto read_next
  677.     if instr(temp,";")<>0 then temp=left(temp,instr(temp,";")-1)
  678.     item=rtrim(left(temp,instr(temp,"=")-1))
  679.     value=ltrim(rtrim(right(temp,len(temp)-instr(temp,"="))))
  680.     if item="Your_ID" then setup.Your_ID=value
  681.     if item="Your_Password" then setup.Your_Password=value
  682.     if item="Birthday" then setup.Birthday=value
  683.     if item="League_Member" then 
  684.         if Val(value)=1 then
  685.             setup.League_Member_true=1
  686.         else
  687.             setup.League_Member_false=1
  688.         end if
  689.     end if
  690.     if item="League_Member_Dues_AutoPay" then setup.League_Member_Dues_AutoPay=val(value)
  691.     if item="League_Member_Dues_Paytime" then setup.League_Member_Dues_Paytime=value
  692.     if item="League_Member_Dues_Payto" then setup.League_Member_Dues_Payto=value
  693.     if item="League_Member_Dues" then setup.League_Member_Dues=value
  694.     if item="League_Member_Brief" then setup.League_Member_Brief=value
  695.     if item="Foundation_Wp" then 
  696.         if Val(value)=1 then
  697.             setup.Foundation_Wp_true=1
  698.         else
  699.             setup.Foundation_Wp_false=1
  700.         end if
  701.     end if
  702.     if item="Foundation_Wp_AutoSave" then setup.Foundation_Wp_AutoSave=val(value)
  703.     if item="Foundation_Wp_ID" then setup.Foundation_Wp_ID=value
  704.     if item="Foundation_Wp_Max" then setup.Foundation_Wp_Max=value
  705.     if item="Foundation_Wp_Save" then setup.Foundation_Wp_Save=value
  706.     if item="Foundation_Wp_Brief" then setup.Foundation_Wp_Brief=value
  707.     if item="Xin_Liang_AutoSold" then setup.Xin_Liang_AutoSold=val(value)
  708.     if item="Xin_Liang_Max" then setup.Xin_Liang_Max=value
  709.     if item="Xin_Liang_Sold" then setup.Xin_Liang_Sold=value
  710.     if item="Xyd_AutoSold" then setup.XYD_AutoSold=val(value)
  711.     if item="Xyd_AutoBuy" then setup.XYD_AutoBuy=val(value)
  712.     if item="Xyd_Max" then setup.XYD_Max=value
  713.     if item="Xyd_Sold" then setup.XYD_Sold=value
  714.     if item="Dun_Max" then setup.Dun_Max=value
  715.     if item="Xyd_Buy" then setup.Xyd_Buy=value
  716.     if item="Upload_Wanted" then setup.Upload_Wanted=val(value)
  717.     if item="Upload_File1_Name" then Up.Upload_File1_Name=value
  718.     if item="Upload_File1_Brief" then Up.Upload_File1_Brief=value
  719.     if item="Upload_File2_Name" then  Up.Upload_File2_Name=value
  720.     if item="Upload_File2_Brief" then Up.Upload_File2_Brief=value
  721.     if item="Upload_File3_Name" then Up.Upload_File3_Name=value
  722.     if item="Upload_File3_Brief" then Up.Upload_File3_Brief=value
  723.     if item="Upload_File4_Name" then Up.Upload_File4_Name=value
  724.     if item="Upload_File4_Brief" then Up.Upload_File4_Brief=value
  725.     if item="Upload_File5_Name" then Up.Upload_File5_Name=value
  726.     if item="Upload_File5_Brief" then Up.Upload_File5_Brief=value
  727.     if item="Upload_File6_Name" then Up.Upload_File6_Name=value
  728.     if item="Upload_File6_Brief" then Up.Upload_File6_Brief=value
  729.     if item="Download_Wanted" then setup.Download_Wanted=val(value)
  730.     if item="Download_File1_Area" then down.Download_File1_Area=value
  731.     if item="Download_File1_Name" then down.Download_File1_Name=value
  732.     if item="Download_File2_Area" then down.Download_File2_Area=value
  733.     if item="Download_File2_Name" then down.Download_File2_Name=value
  734.     if item="Download_File3_Area" then down.Download_File3_Area=value
  735.     if item="Download_File3_Name" then down.Download_File3_Name=value
  736.     if item="Download_File4_Area" then down.Download_File4_Area=value
  737.     if item="Download_File4_Name" then down.Download_File4_Name=value
  738.     if item="Download_File5_Area" then down.Download_File5_Area=value
  739.     if item="Download_File5_Name" then down.Download_File5_Name=value
  740.     if item="Download_File6_Area" then down.Download_File6_Area=value
  741.     if item="Download_File6_Name" then down.Download_File6_Name=value
  742.     if item="Pkzip_Dir" then Elses.Pkzip_Dir=value
  743.     if item="Temp_Dir" then Elses.Temp_dir=value
  744.     if item="Msg_Upload_Dir" then elses.Msg_Upload_Dir=value
  745.     if item="Msg_Download_Dir" then elses.Msg_Download_Dir=value
  746.     if not eof(1) then goto Read_Next
  747.     close #1
  748. end sub
  749.  
  750. sub Write_TO_INI
  751.     open configscriptpath+"\westpont.ini" for output as #1
  752.     print #1,"Your_ID="+setup.Your_ID
  753.     print #1,"Your_Password="+setup.Your_Password
  754.     print #1,"Birthday="+setup.Birthday
  755.     print #1,"League_Member="+str(setup.League_Member_true)
  756.     print #1,"League_Member_Dues_AutoPay="+str(setup.League_Member_Dues_AutoPay)
  757.     print #1,"League_Member_Dues_Paytime="+setup.League_Member_Dues_Paytime
  758.     print #1,"League_Member_Dues_Payto="+setup.League_Member_Dues_Payto
  759.     print #1,"League_Member_Dues="+str(val(setup.League_Member_Dues))
  760.     print #1,"League_Member_Brief="+setup.League_Member_Brief
  761.     print #1,"Foundation_Wp="+str(setup.Foundation_Wp_true)
  762.     print #1,"Foundation_Wp_AutoSave="+str(setup.Foundation_Wp_AutoSave)
  763.     print #1,"Foundation_Wp_ID="+setup.Foundation_Wp_ID
  764.     print #1,"Foundation_Wp_Max="+str(val(setup.Foundation_Wp_Max))
  765.     print #1,"Foundation_Wp_Save="+str(val(setup.Foundation_Wp_Save))
  766.     print #1,"Foundation_Wp_Brief="+setup.Foundation_Wp_Brief
  767.     print #1,"Xin_Liang_AutoSold="+str(setup.Xin_Liang_AutoSold)
  768.     print #1,"Xin_Liang_Max="+str(val(setup.Xin_Liang_Max))
  769.     print #1,"Xin_Liang_Sold="+str(val(setup.Xin_Liang_Sold))
  770.     print #1,"Xyd_AutoSold="+str(setup.Xyd_AutoSold)
  771.     print #1,"Xyd_AutoBuy="+str(setup.Xyd_AutoBuy)
  772.     print #1,"Xyd_Max="+str(val(setup.Xyd_Max))
  773.     print #1,"Xyd_Sold="+str(val(setup.Xyd_Sold))
  774.     print #1,"Dun_Max="+str(val(setup.Dun_Max))
  775.     print #1,"Xyd_Buy="+str(val(setup.Xyd_Buy))
  776.     print #1,"Upload_Wanted="+str(setup.Upload_Wanted)
  777.     print #1,"Upload_File1_Name="+Up.Upload_File1_Name
  778.     print #1,"Upload_File1_Brief="+Up.Upload_File1_Brief
  779.     print #1,"Upload_File2_Name="+Up.Upload_File2_Name
  780.     print #1,"Upload_File2_Brief="+Up.Upload_File2_Brief
  781.     print #1,"Upload_File3_Name="+Up.Upload_File3_Name
  782.     print #1,"Upload_File3_Brief="+Up.Upload_File3_Brief
  783.     print #1,"Upload_File4_Name="+Up.Upload_File4_Name
  784.     print #1,"Upload_File4_Brief="+Up.Upload_File4_Brief
  785.     print #1,"Upload_File5_Name="+Up.Upload_File5_Name
  786.     print #1,"Upload_File5_Brief="+Up.Upload_File5_Brief
  787.     print #1,"Upload_File6_Name="+Up.Upload_File6_Name
  788.     print #1,"Upload_File6_Brief="+Up.Upload_File6_Brief
  789.     print #1,"Download_Wanted="+str(setup.Download_Wanted)
  790.     print #1,"Download_File1_Area="+down.Download_File1_Area
  791.     print #1,"Download_File1_Name="+down.Download_File1_Name
  792.     print #1,"Download_File2_Area="+down.Download_File2_Area
  793.     print #1,"Download_File2_Name="+down.Download_File2_Name
  794.     print #1,"Download_File3_Area="+down.Download_File3_Area
  795.     print #1,"Download_File3_Name="+down.Download_File3_Name
  796.     print #1,"Download_File4_Area="+down.Download_File4_Area
  797.     print #1,"Download_File4_Name="+down.Download_File4_Name
  798.     print #1,"Download_File5_Area="+down.Download_File5_Area
  799.     print #1,"Download_File5_Name="+down.Download_File5_Name
  800.     print #1,"Download_File6_Area="+down.Download_File6_Area
  801.     print #1,"Download_File6_Name="+down.Download_File6_Name
  802.     print #1,"Pkzip_Dir="+Elses.Pkzip_Dir
  803.     print #1,"Temp_Dir="+Elses.Temp_Dir
  804.     print #1,"Msg_Upload_Dir="+Elses.Msg_Upload_Dir
  805.     print #1,"Msg_Download_Dir="+Elses.Msg_Download_Dir
  806.     close #1
  807. end Sub
  808.  
  809. sub Load_Setup_Dialog
  810.     dim temp as string
  811.     dim sr as searchrec    
  812.     RELOAD:
  813.     if DIALOGBOX(setup)=idok then
  814.         if  setup.League_Member_Dues_AutoPay=1 and setup.League_Member_True=1 then
  815.             temp=setup.League_Member_Dues_Paytime 
  816.             if ltrim(temp)<>"" then
  817.                 if Mid(temp,3,1)<>"/" or Mid(temp,6,1)<>"/" then 
  818.                     MsgBox("╜╗═┼╖╤╩▒╝Σ╕±╩╜┤φ!╙ª╬¬YY/MM/DD.")
  819.                     goto reload
  820.                 end if
  821.                 if temp>date or val(Left(temp,2))<96 or Val(mid(temp,4,2))>12 or val(Right(temp,2))>31 or Val(mid(temp,4,2))=0 or val(Right(temp,2))=0 then
  822.                     MsgBox("╜╗═┼╖╤╩▒╝Σ╕±╩╜┤φ!╙ª╬¬YY/MM/DD.")
  823.                     goto reload
  824.                 end if
  825.             end if
  826.         end if
  827.         
  828.         temp=setup.Birthday 
  829.         if Mid(temp,3,1)<>"-" or Mid(temp,6,1)<>"-" then 
  830.             MsgBox("╔·╚╒╩▒╝Σ╕±╩╜┤φ!")
  831.             goto reload
  832.         end if
  833.         if temp>date or val(Left(temp,2))>12 or Val(mid(temp,4,2))>31 or Val(mid(temp,4,2))=0 or val(left(temp,2))=0 then
  834.             MsgBox("╔·╚╒╩▒╝Σ╕±╩╜┤φ!")
  835.             goto reload
  836.         end if
  837.  
  838.         if findfirst(elses.Pkzip_Dir+"\pkzip.exe", sr)<>0 then 
  839.             MsgBox ("PKZIP.EXE┬╖╛╢┤φ╬≤!")
  840.             goto reload
  841.         end if
  842.         if findfirst(elses.Temp_Dir, sr)<>0 then 
  843.             MsgBox ("┴┘╩▒╬─╝■─┐┬╝┤φ╬≤!")
  844.             goto reload
  845.         end if
  846.         if findfirst(Elses.Msg_Upload_dir,sr)<>0 then
  847.             MsgBox ("╔╧┤½╨┼░ⁿ┬╖╛╢┤φ╬≤!")
  848.             goto reload
  849.         end if 
  850.         if findfirst(Elses.Msg_download_dir,sr)<>0 then
  851.             MsgBox ("╧┬┤½╨┼░ⁿ┬╖╛╢┤φ╬≤!")
  852.             goto reload
  853.         end if 
  854.         if val(setup.Xyd_Buy) > val(setup.Dun_Max)/5 and setup.Xyd_Autobuy=1 then
  855.             msgbox ("┬≥╚δ╨┼╙├╡π╡─╫ε┤≤╓╡╩╟:"+str(val(setup.Dun_Max)/5))
  856.              goto reload
  857.         end if
  858.         if val(setup.Xyd_Sold) > val(setup.Xyd_Max) and setup.Xyd_AutoSold=1 then
  859.             msgbox ("┬⌠│÷╨┼╙├╡π╡─╫ε┤≤╓╡╩╟:"+setup.Xyd_Max)
  860.              goto reload
  861.         end if
  862.         if val(setup.Xin_Liang_Sold) > val(setup.Xin_Liang_Max) and setup.Xin_Liang_AutoSold=1 then
  863.             msgbox ("┬⌠│÷╨┼┴┐╡─╫ε┤≤╓╡╩╟:"+setup.Xin_Liang_Max)
  864.              goto reload
  865.         end if
  866.         if val(setup.Foundation_wp_Save) > val(setup.Foundation_wp_Max) and setup.Foundation_Wp_AutoSave=1 and setup.Foundation_Wp_True=1 then
  867.             msgbox ("┤µ┐ε╡─╫ε┤≤╓╡╩╟:"+setup.Foundation_wp_Max)
  868.              goto reload
  869.         end if
  870.         
  871.         
  872.         Write_TO_INI
  873.         
  874.         
  875.     end if
  876. end sub
  877.  
  878. Read_Data
  879. Load_Setup_Dialog
  880.  
  881.