w_genapp_about.srw 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. $PBExportHeader$w_genapp_about.srw
  2. $PBExportComments$Generated About window
  3. forward
  4. global type w_genapp_about from window
  5. end type
  6. type st_publish from statictext within w_genapp_about
  7. end type
  8. type st_4 from statictext within w_genapp_about
  9. end type
  10. type st_tele1 from statictext within w_genapp_about
  11. end type
  12. type cb_ok from uo_imflatbutton within w_genapp_about
  13. end type
  14. type cb_reg from uo_imflatbutton within w_genapp_about
  15. end type
  16. type st_internet from statictext within w_genapp_about
  17. end type
  18. type st_address from statictext within w_genapp_about
  19. end type
  20. type st_tele from statictext within w_genapp_about
  21. end type
  22. type p_1 from picture within w_genapp_about
  23. end type
  24. type st_copyright from statictext within w_genapp_about
  25. end type
  26. type st_3 from statictext within w_genapp_about
  27. end type
  28. type st_2 from statictext within w_genapp_about
  29. end type
  30. type st_1 from statictext within w_genapp_about
  31. end type
  32. end forward
  33. global type w_genapp_about from window
  34. integer x = 777
  35. integer y = 436
  36. integer width = 2176
  37. integer height = 1636
  38. boolean titlebar = true
  39. string title = "关于"
  40. boolean controlmenu = true
  41. windowtype windowtype = popup!
  42. long backcolor = 16777215
  43. st_publish st_publish
  44. st_4 st_4
  45. st_tele1 st_tele1
  46. cb_ok cb_ok
  47. cb_reg cb_reg
  48. st_internet st_internet
  49. st_address st_address
  50. st_tele st_tele
  51. p_1 p_1
  52. st_copyright st_copyright
  53. st_3 st_3
  54. st_2 st_2
  55. st_1 st_1
  56. end type
  57. global w_genapp_about w_genapp_about
  58. on w_genapp_about.create
  59. this.st_publish=create st_publish
  60. this.st_4=create st_4
  61. this.st_tele1=create st_tele1
  62. this.cb_ok=create cb_ok
  63. this.cb_reg=create cb_reg
  64. this.st_internet=create st_internet
  65. this.st_address=create st_address
  66. this.st_tele=create st_tele
  67. this.p_1=create p_1
  68. this.st_copyright=create st_copyright
  69. this.st_3=create st_3
  70. this.st_2=create st_2
  71. this.st_1=create st_1
  72. this.Control[]={this.st_publish,&
  73. this.st_4,&
  74. this.st_tele1,&
  75. this.cb_ok,&
  76. this.cb_reg,&
  77. this.st_internet,&
  78. this.st_address,&
  79. this.st_tele,&
  80. this.p_1,&
  81. this.st_copyright,&
  82. this.st_3,&
  83. this.st_2,&
  84. this.st_1}
  85. end on
  86. on w_genapp_about.destroy
  87. destroy(this.st_publish)
  88. destroy(this.st_4)
  89. destroy(this.st_tele1)
  90. destroy(this.cb_ok)
  91. destroy(this.cb_reg)
  92. destroy(this.st_internet)
  93. destroy(this.st_address)
  94. destroy(this.st_tele)
  95. destroy(this.p_1)
  96. destroy(this.st_copyright)
  97. destroy(this.st_3)
  98. destroy(this.st_2)
  99. destroy(this.st_1)
  100. end on
  101. event open;environment exerun_env
  102. GetEnvironment(exerun_env )
  103. THIS.Move ( (PixelsToUnits(exerun_env.ScreenWidth, XPixelsToUnits!) - THIS.Width)/2,&
  104. (PixelsToUnits(exerun_env.ScreenHeight, XPixelsToUnits!) - THIS.Height - 300 )/2) //
  105. st_1.Text = '系 统:'+sys_message_title
  106. st_2.Text = '版 本:'+sys_cur_version //sys_message_copyright_inc
  107. st_3.Text = '用 户:'+sys_message_report_title
  108. if sys_ifoem = 1 then
  109. st_publish.Text = '发 行 者:'+ProfileString ( sys_inioem, 'oem', 'publish', '立想咨询' )
  110. st_tele.Text = '电 话:' +ProfileString ( sys_inioem, 'oem', 'tele', '0757 - 23873986 , 23635986' )
  111. st_tele1.Text = '传 真:' +ProfileString ( sys_inioem, 'oem', 'fax', '0757 - 23635987' )
  112. st_internet.Text = '网 站:'+ProfileString ( sys_inioem, 'oem', 'internet', 'www.longserve.com , www.longjoe.com' )
  113. st_address.Text = ProfileString ( sys_inioem, 'oem', 'address', '佛山市顺德区龙江镇西溪工业区雄塑科技大厦二楼' )
  114. st_copyright.text= '系统开发:'+ProfileString ( sys_inioem, 'oem', 'copyright', 'www.longserve.com , www.longjoe.com' )
  115. else
  116. st_publish.Text = '发 行 者:'+ProfileString ( sys_inifilename, 'cr', 'publish', '顺德龙嘉软件' )
  117. st_tele.Text = '电 话:' +ProfileString ( sys_inifilename, 'cr', 'tele', '0757 - 23873986 , 23635986' )
  118. st_tele1.Text = '传 真:' +ProfileString ( sys_inifilename, 'cr', 'fax', '0757 - 23635987' )
  119. //st_tele2.Text = '服 务:' +ProfileString ( sys_inifilename, 'cr', 'service', '0757 - 23393986 , 23635988' )
  120. st_internet.Text = '网 站:'+ProfileString ( sys_inifilename, 'cr', 'internet', 'www.longserve.com , www.longjoe.com' )
  121. st_address.Text = ProfileString ( sys_inifilename, 'cr', 'address', '佛山市顺德区龙江镇西溪工业区雄塑科技大厦二楼' )
  122. //st_copyright.Text = '发 行 者:'+ProfileString ( sys_inifilename, 'cr', 'copyright', '顺德龙嘉软件' )
  123. st_copyright.text=st_copyright.text + char(13) +char(10) + " www.longjoe.com"
  124. end if
  125. end event
  126. type st_publish from statictext within w_genapp_about
  127. integer x = 238
  128. integer y = 728
  129. integer width = 1810
  130. integer height = 60
  131. integer textsize = -9
  132. integer weight = 400
  133. fontcharset fontcharset = gb2312charset!
  134. fontpitch fontpitch = variable!
  135. string facename = "宋体"
  136. long backcolor = 16777215
  137. boolean enabled = false
  138. string text = "发 行 者:"
  139. boolean focusrectangle = false
  140. end type
  141. type st_4 from statictext within w_genapp_about
  142. integer x = 238
  143. integer y = 1068
  144. integer width = 274
  145. integer height = 68
  146. integer textsize = -9
  147. integer weight = 400
  148. fontcharset fontcharset = gb2312charset!
  149. fontpitch fontpitch = variable!
  150. string facename = "宋体"
  151. long backcolor = 16777215
  152. boolean enabled = false
  153. string text = "地 址:"
  154. boolean focusrectangle = false
  155. end type
  156. type st_tele1 from statictext within w_genapp_about
  157. integer x = 238
  158. integer y = 892
  159. integer width = 1810
  160. integer height = 60
  161. integer textsize = -9
  162. integer weight = 400
  163. fontcharset fontcharset = gb2312charset!
  164. fontpitch fontpitch = variable!
  165. string facename = "宋体"
  166. long backcolor = 16777215
  167. boolean enabled = false
  168. string text = "传 真:"
  169. boolean focusrectangle = false
  170. end type
  171. type cb_ok from uo_imflatbutton within w_genapp_about
  172. integer x = 864
  173. integer y = 1352
  174. integer width = 416
  175. integer height = 140
  176. integer taborder = 20
  177. integer textsize = -10
  178. boolean default = true
  179. string normalpicname = "ok.bmp"
  180. integer picsize = 16
  181. end type
  182. event clicked;call super::clicked;// Close "About" window
  183. Close (parent)
  184. end event
  185. type cb_reg from uo_imflatbutton within w_genapp_about
  186. boolean visible = false
  187. integer x = 960
  188. integer y = 1228
  189. integer width = 329
  190. integer height = 92
  191. integer taborder = 10
  192. string text = "注册信息"
  193. end type
  194. event clicked;call super::clicked;open(w_sys_register)
  195. end event
  196. type st_internet from statictext within w_genapp_about
  197. integer x = 238
  198. integer y = 980
  199. integer width = 1810
  200. integer height = 60
  201. integer textsize = -9
  202. integer weight = 400
  203. fontcharset fontcharset = gb2312charset!
  204. fontpitch fontpitch = variable!
  205. string facename = "宋体"
  206. long backcolor = 16777215
  207. boolean enabled = false
  208. string text = "网 站:"
  209. boolean focusrectangle = false
  210. end type
  211. type st_address from statictext within w_genapp_about
  212. integer x = 517
  213. integer y = 1068
  214. integer width = 1531
  215. integer height = 100
  216. integer textsize = -9
  217. integer weight = 400
  218. fontcharset fontcharset = gb2312charset!
  219. fontpitch fontpitch = variable!
  220. string facename = "宋体"
  221. long backcolor = 16777215
  222. boolean enabled = false
  223. boolean focusrectangle = false
  224. end type
  225. type st_tele from statictext within w_genapp_about
  226. integer x = 238
  227. integer y = 804
  228. integer width = 1810
  229. integer height = 60
  230. integer textsize = -9
  231. integer weight = 400
  232. fontcharset fontcharset = gb2312charset!
  233. fontpitch fontpitch = variable!
  234. string facename = "宋体"
  235. long backcolor = 16777215
  236. boolean enabled = false
  237. string text = "电 话:"
  238. boolean focusrectangle = false
  239. end type
  240. type p_1 from picture within w_genapp_about
  241. integer width = 2167
  242. integer height = 400
  243. boolean originalsize = true
  244. string picturename = "graphics\登录top.png"
  245. borderstyle borderstyle = styleshadowbox!
  246. boolean focusrectangle = false
  247. end type
  248. event doubleclicked;//if sys_if_network = 1 then return
  249. if not sys_power_issuper then return
  250. OPEN(w_set_version)
  251. end event
  252. type st_copyright from statictext within w_genapp_about
  253. integer x = 233
  254. integer y = 1196
  255. integer width = 1810
  256. integer height = 124
  257. integer textsize = -9
  258. integer weight = 400
  259. fontcharset fontcharset = gb2312charset!
  260. fontpitch fontpitch = variable!
  261. string facename = "宋体"
  262. long backcolor = 16777215
  263. boolean enabled = false
  264. string text = "系统开发:佛山市顺德区龙嘉软件有限公司"
  265. boolean focusrectangle = false
  266. end type
  267. type st_3 from statictext within w_genapp_about
  268. integer x = 238
  269. integer y = 604
  270. integer width = 1810
  271. integer height = 60
  272. integer textsize = -9
  273. integer weight = 400
  274. fontcharset fontcharset = gb2312charset!
  275. fontpitch fontpitch = variable!
  276. string facename = "宋体"
  277. long backcolor = 16777215
  278. boolean enabled = false
  279. string text = "用 户:"
  280. boolean focusrectangle = false
  281. end type
  282. type st_2 from statictext within w_genapp_about
  283. integer x = 238
  284. integer y = 524
  285. integer width = 1810
  286. integer height = 60
  287. integer textsize = -9
  288. integer weight = 400
  289. fontcharset fontcharset = gb2312charset!
  290. fontpitch fontpitch = variable!
  291. string facename = "宋体"
  292. long backcolor = 16777215
  293. boolean enabled = false
  294. string text = "版 本:软件开发中心"
  295. boolean focusrectangle = false
  296. end type
  297. type st_1 from statictext within w_genapp_about
  298. integer x = 238
  299. integer y = 448
  300. integer width = 1810
  301. integer height = 60
  302. integer textsize = -9
  303. integer weight = 400
  304. fontcharset fontcharset = gb2312charset!
  305. fontpitch fontpitch = variable!
  306. string facename = "宋体"
  307. long backcolor = 16777215
  308. boolean enabled = false
  309. string text = "系 统:管理系统"
  310. boolean focusrectangle = false
  311. end type