w_fx_regcompany.srw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786
  1. $PBExportHeader$w_fx_regcompany.srw
  2. $PBExportComments$分销系统注册窗口
  3. forward
  4. global type w_fx_regcompany from w_publ_base
  5. end type
  6. type st_1 from statictext within w_fx_regcompany
  7. end type
  8. type sle_comname from singlelineedit within w_fx_regcompany
  9. end type
  10. type st_2 from statictext within w_fx_regcompany
  11. end type
  12. type sle_simplename from singlelineedit within w_fx_regcompany
  13. end type
  14. type st_3 from statictext within w_fx_regcompany
  15. end type
  16. type sle_custype from singlelineedit within w_fx_regcompany
  17. end type
  18. type st_4 from statictext within w_fx_regcompany
  19. end type
  20. type sle_tele from singlelineedit within w_fx_regcompany
  21. end type
  22. type st_5 from statictext within w_fx_regcompany
  23. end type
  24. type sle_address from singlelineedit within w_fx_regcompany
  25. end type
  26. type st_8 from statictext within w_fx_regcompany
  27. end type
  28. type sle_usercode from singlelineedit within w_fx_regcompany
  29. end type
  30. type st_9 from statictext within w_fx_regcompany
  31. end type
  32. type sle_psw from singlelineedit within w_fx_regcompany
  33. end type
  34. type st_10 from statictext within w_fx_regcompany
  35. end type
  36. type mle_dscrp from multilineedit within w_fx_regcompany
  37. end type
  38. type cbx_show from checkbox within w_fx_regcompany
  39. end type
  40. type st_6 from statictext within w_fx_regcompany
  41. end type
  42. type sle_legalperson from singlelineedit within w_fx_regcompany
  43. end type
  44. type st_13 from statictext within w_fx_regcompany
  45. end type
  46. type st_14 from statictext within w_fx_regcompany
  47. end type
  48. type sle_license from singlelineedit within w_fx_regcompany
  49. end type
  50. type sle_regaddress from singlelineedit within w_fx_regcompany
  51. end type
  52. type st_7 from statictext within w_fx_regcompany
  53. end type
  54. type mle_business from multilineedit within w_fx_regcompany
  55. end type
  56. type st_11 from statictext within w_fx_regcompany
  57. end type
  58. type p_license from picture within w_fx_regcompany
  59. end type
  60. type cb_1 from commandbutton within w_fx_regcompany
  61. end type
  62. end forward
  63. global type w_fx_regcompany from w_publ_base
  64. integer width = 3942
  65. integer height = 1741
  66. string title = "企业注册"
  67. boolean minbox = false
  68. boolean center = true
  69. st_1 st_1
  70. sle_comname sle_comname
  71. st_2 st_2
  72. sle_simplename sle_simplename
  73. st_3 st_3
  74. sle_custype sle_custype
  75. st_4 st_4
  76. sle_tele sle_tele
  77. st_5 st_5
  78. sle_address sle_address
  79. st_8 st_8
  80. sle_usercode sle_usercode
  81. st_9 st_9
  82. sle_psw sle_psw
  83. st_10 st_10
  84. mle_dscrp mle_dscrp
  85. cbx_show cbx_show
  86. st_6 st_6
  87. sle_legalperson sle_legalperson
  88. st_13 st_13
  89. st_14 st_14
  90. sle_license sle_license
  91. sle_regaddress sle_regaddress
  92. st_7 st_7
  93. mle_business mle_business
  94. st_11 st_11
  95. p_license p_license
  96. cb_1 cb_1
  97. end type
  98. global w_fx_regcompany w_fx_regcompany
  99. type variables
  100. string ins_fileDir // LOGO本地存放文件夹
  101. string ins_licenseFileDir // 营业执照图片路径
  102. end variables
  103. on w_fx_regcompany.create
  104. int iCurrent
  105. call super::create
  106. this.st_1=create st_1
  107. this.sle_comname=create sle_comname
  108. this.st_2=create st_2
  109. this.sle_simplename=create sle_simplename
  110. this.st_3=create st_3
  111. this.sle_custype=create sle_custype
  112. this.st_4=create st_4
  113. this.sle_tele=create sle_tele
  114. this.st_5=create st_5
  115. this.sle_address=create sle_address
  116. this.st_8=create st_8
  117. this.sle_usercode=create sle_usercode
  118. this.st_9=create st_9
  119. this.sle_psw=create sle_psw
  120. this.st_10=create st_10
  121. this.mle_dscrp=create mle_dscrp
  122. this.cbx_show=create cbx_show
  123. this.st_6=create st_6
  124. this.sle_legalperson=create sle_legalperson
  125. this.st_13=create st_13
  126. this.st_14=create st_14
  127. this.sle_license=create sle_license
  128. this.sle_regaddress=create sle_regaddress
  129. this.st_7=create st_7
  130. this.mle_business=create mle_business
  131. this.st_11=create st_11
  132. this.p_license=create p_license
  133. this.cb_1=create cb_1
  134. iCurrent=UpperBound(this.Control)
  135. this.Control[iCurrent+1]=this.st_1
  136. this.Control[iCurrent+2]=this.sle_comname
  137. this.Control[iCurrent+3]=this.st_2
  138. this.Control[iCurrent+4]=this.sle_simplename
  139. this.Control[iCurrent+5]=this.st_3
  140. this.Control[iCurrent+6]=this.sle_custype
  141. this.Control[iCurrent+7]=this.st_4
  142. this.Control[iCurrent+8]=this.sle_tele
  143. this.Control[iCurrent+9]=this.st_5
  144. this.Control[iCurrent+10]=this.sle_address
  145. this.Control[iCurrent+11]=this.st_8
  146. this.Control[iCurrent+12]=this.sle_usercode
  147. this.Control[iCurrent+13]=this.st_9
  148. this.Control[iCurrent+14]=this.sle_psw
  149. this.Control[iCurrent+15]=this.st_10
  150. this.Control[iCurrent+16]=this.mle_dscrp
  151. this.Control[iCurrent+17]=this.cbx_show
  152. this.Control[iCurrent+18]=this.st_6
  153. this.Control[iCurrent+19]=this.sle_legalperson
  154. this.Control[iCurrent+20]=this.st_13
  155. this.Control[iCurrent+21]=this.st_14
  156. this.Control[iCurrent+22]=this.sle_license
  157. this.Control[iCurrent+23]=this.sle_regaddress
  158. this.Control[iCurrent+24]=this.st_7
  159. this.Control[iCurrent+25]=this.mle_business
  160. this.Control[iCurrent+26]=this.st_11
  161. this.Control[iCurrent+27]=this.p_license
  162. this.Control[iCurrent+28]=this.cb_1
  163. end on
  164. on w_fx_regcompany.destroy
  165. call super::destroy
  166. destroy(this.st_1)
  167. destroy(this.sle_comname)
  168. destroy(this.st_2)
  169. destroy(this.sle_simplename)
  170. destroy(this.st_3)
  171. destroy(this.sle_custype)
  172. destroy(this.st_4)
  173. destroy(this.sle_tele)
  174. destroy(this.st_5)
  175. destroy(this.sle_address)
  176. destroy(this.st_8)
  177. destroy(this.sle_usercode)
  178. destroy(this.st_9)
  179. destroy(this.sle_psw)
  180. destroy(this.st_10)
  181. destroy(this.mle_dscrp)
  182. destroy(this.cbx_show)
  183. destroy(this.st_6)
  184. destroy(this.sle_legalperson)
  185. destroy(this.st_13)
  186. destroy(this.st_14)
  187. destroy(this.sle_license)
  188. destroy(this.sle_regaddress)
  189. destroy(this.st_7)
  190. destroy(this.mle_business)
  191. destroy(this.st_11)
  192. destroy(this.p_license)
  193. destroy(this.cb_1)
  194. end on
  195. type cb_func from w_publ_base`cb_func within w_fx_regcompany
  196. integer x = 1741
  197. integer y = 1520
  198. integer taborder = 100
  199. string text = "注册"
  200. end type
  201. event cb_func::clicked;call super::clicked;if Trim(sle_comname.Text) = '' then
  202. MessageBox('提示', '企业名称不能为空')
  203. return
  204. end if
  205. if Trim(sle_simplename.Text) = '' then
  206. MessageBox('提示', '企业简称不能为空')
  207. return
  208. end if
  209. if Trim(sle_custype.Text) = '' then
  210. MessageBox('提示', '联系人不能为空')
  211. return
  212. end if
  213. if Trim(sle_tele.Text) = '' then
  214. MessageBox('提示', '联系电话不能为空')
  215. return
  216. end if
  217. if Trim(sle_usercode.Text) = '' then
  218. MessageBox('提示', '登陆名不能为空')
  219. return
  220. end if
  221. if Trim(sle_psw.Text) = '' then
  222. MessageBox('提示', '登陆密码不能为空')
  223. return
  224. end if
  225. if Trim(sle_LegalPerson.Text) = '' then
  226. MessageBox('提示', '企业法人不能为空')
  227. return
  228. end if
  229. if Trim(sle_RegAddress.Text) = '' then
  230. MessageBox('提示', '注册地址不能为空')
  231. return
  232. end if
  233. if Trim(mle_business.Text) = '' then
  234. MessageBox('提示', '经营范围不能为空')
  235. return
  236. end if
  237. if Trim(sle_license.Text) = '' then
  238. MessageBox('提示', '营业执照注册编号不能为空')
  239. return
  240. end if
  241. oleobject req
  242. req = FXAppCom.CreatePbDictionary()
  243. req.SetString('comname', sle_comname.Text)
  244. req.SetString('simplename', sle_simplename.Text)
  245. req.SetString('custype', sle_custype.Text)
  246. req.SetString('tele', sle_tele.Text)
  247. req.SetString('address', sle_address.Text)
  248. req.SetString('dscrp', mle_dscrp.Text)
  249. req.SetString('usercode', sle_usercode.Text)
  250. req.SetString('psw', sle_psw.Text)
  251. req.SetString('LegalPerson', sle_LegalPerson.Text)
  252. req.SetString('RegAddress', sle_RegAddress.Text)
  253. req.SetString('business', mle_business.Text)
  254. req.SetString('license', sle_license.Text)
  255. IF ins_licenseFileDir <> '' THEN
  256. req.SetFile('licensePic',ins_licenseFileDir)
  257. string licensePicName
  258. int slashIndex
  259. slashIndex=lastpos (ins_licenseFileDir, "\")
  260. licensePicName = Right(ins_licenseFileDir,Len(ins_licenseFileDir) - slashIndex)
  261. req.SetString('licensePicName', licensePicName)
  262. END IF
  263. oleObject response
  264. string arg_msg
  265. response = FXAppCom.DoExecute("RegCompany",req)
  266. arg_msg = response.GetString('ErrMsg')
  267. IF (arg_msg <> '') THEN
  268. MessageBox('提示', '注册失败:' + arg_msg)
  269. ELSE
  270. MessageBox('提示', '注册成功')
  271. close(parent)
  272. return
  273. END IF
  274. end event
  275. type cb_exit from w_publ_base`cb_exit within w_fx_regcompany
  276. integer x = 2136
  277. integer y = 1520
  278. integer taborder = 110
  279. end type
  280. type st_1 from statictext within w_fx_regcompany
  281. integer x = 48
  282. integer y = 74
  283. integer width = 260
  284. integer height = 48
  285. boolean bringtotop = true
  286. integer textsize = -9
  287. integer weight = 400
  288. fontcharset fontcharset = gb2312charset!
  289. fontpitch fontpitch = variable!
  290. string facename = "宋体"
  291. long textcolor = 33554432
  292. long backcolor = 134217739
  293. string text = "*企业名称"
  294. alignment alignment = right!
  295. long bordercolor = 134217739
  296. boolean focusrectangle = false
  297. end type
  298. type sle_comname from singlelineedit within w_fx_regcompany
  299. integer x = 322
  300. integer y = 58
  301. integer width = 600
  302. integer height = 83
  303. integer taborder = 10
  304. boolean bringtotop = true
  305. integer textsize = -9
  306. integer weight = 400
  307. fontcharset fontcharset = gb2312charset!
  308. fontpitch fontpitch = variable!
  309. string facename = "宋体"
  310. long textcolor = 33554432
  311. borderstyle borderstyle = stylelowered!
  312. end type
  313. type st_2 from statictext within w_fx_regcompany
  314. integer x = 1028
  315. integer y = 74
  316. integer width = 260
  317. integer height = 48
  318. boolean bringtotop = true
  319. integer textsize = -9
  320. integer weight = 400
  321. fontcharset fontcharset = gb2312charset!
  322. fontpitch fontpitch = variable!
  323. string facename = "宋体"
  324. long textcolor = 33554432
  325. long backcolor = 134217739
  326. string text = "*企业简称"
  327. alignment alignment = right!
  328. long bordercolor = 134217739
  329. boolean focusrectangle = false
  330. end type
  331. type sle_simplename from singlelineedit within w_fx_regcompany
  332. integer x = 1313
  333. integer y = 58
  334. integer width = 600
  335. integer height = 83
  336. integer taborder = 20
  337. boolean bringtotop = true
  338. integer textsize = -9
  339. integer weight = 400
  340. fontcharset fontcharset = gb2312charset!
  341. fontpitch fontpitch = variable!
  342. string facename = "宋体"
  343. long textcolor = 33554432
  344. borderstyle borderstyle = stylelowered!
  345. end type
  346. type st_3 from statictext within w_fx_regcompany
  347. integer x = 48
  348. integer y = 378
  349. integer width = 252
  350. integer height = 48
  351. boolean bringtotop = true
  352. integer textsize = -9
  353. integer weight = 400
  354. fontcharset fontcharset = gb2312charset!
  355. fontpitch fontpitch = variable!
  356. string facename = "宋体"
  357. long textcolor = 33554432
  358. long backcolor = 134217739
  359. string text = "*联系人"
  360. alignment alignment = right!
  361. long bordercolor = 134217739
  362. boolean focusrectangle = false
  363. end type
  364. type sle_custype from singlelineedit within w_fx_regcompany
  365. integer x = 322
  366. integer y = 362
  367. integer width = 600
  368. integer height = 83
  369. integer taborder = 30
  370. boolean bringtotop = true
  371. integer textsize = -9
  372. integer weight = 400
  373. fontcharset fontcharset = gb2312charset!
  374. fontpitch fontpitch = variable!
  375. string facename = "宋体"
  376. long textcolor = 33554432
  377. borderstyle borderstyle = stylelowered!
  378. end type
  379. type st_4 from statictext within w_fx_regcompany
  380. integer x = 1028
  381. integer y = 378
  382. integer width = 260
  383. integer height = 48
  384. boolean bringtotop = true
  385. integer textsize = -9
  386. integer weight = 400
  387. fontcharset fontcharset = gb2312charset!
  388. fontpitch fontpitch = variable!
  389. string facename = "宋体"
  390. long textcolor = 33554432
  391. long backcolor = 134217739
  392. string text = "*联系电话"
  393. alignment alignment = right!
  394. long bordercolor = 134217739
  395. boolean focusrectangle = false
  396. end type
  397. type sle_tele from singlelineedit within w_fx_regcompany
  398. integer x = 1313
  399. integer y = 362
  400. integer width = 600
  401. integer height = 83
  402. integer taborder = 40
  403. boolean bringtotop = true
  404. integer textsize = -9
  405. integer weight = 400
  406. fontcharset fontcharset = gb2312charset!
  407. fontpitch fontpitch = variable!
  408. string facename = "宋体"
  409. long textcolor = 33554432
  410. borderstyle borderstyle = stylelowered!
  411. end type
  412. type st_5 from statictext within w_fx_regcompany
  413. integer x = 48
  414. integer y = 522
  415. integer width = 252
  416. integer height = 48
  417. boolean bringtotop = true
  418. integer textsize = -9
  419. integer weight = 400
  420. fontcharset fontcharset = gb2312charset!
  421. fontpitch fontpitch = variable!
  422. string facename = "宋体"
  423. long textcolor = 33554432
  424. long backcolor = 134217739
  425. string text = " 地址"
  426. alignment alignment = right!
  427. long bordercolor = 134217739
  428. boolean focusrectangle = false
  429. end type
  430. type sle_address from singlelineedit within w_fx_regcompany
  431. integer x = 322
  432. integer y = 506
  433. integer width = 1591
  434. integer height = 83
  435. integer taborder = 50
  436. boolean bringtotop = true
  437. integer textsize = -9
  438. integer weight = 400
  439. fontcharset fontcharset = gb2312charset!
  440. fontpitch fontpitch = variable!
  441. string facename = "宋体"
  442. long textcolor = 33554432
  443. borderstyle borderstyle = stylelowered!
  444. end type
  445. type st_8 from statictext within w_fx_regcompany
  446. integer x = 48
  447. integer y = 218
  448. integer width = 252
  449. integer height = 48
  450. boolean bringtotop = true
  451. integer textsize = -9
  452. integer weight = 400
  453. fontcharset fontcharset = gb2312charset!
  454. fontpitch fontpitch = variable!
  455. string facename = "宋体"
  456. long textcolor = 33554432
  457. long backcolor = 134217739
  458. string text = "*登陆名"
  459. alignment alignment = right!
  460. long bordercolor = 134217739
  461. boolean focusrectangle = false
  462. end type
  463. type sle_usercode from singlelineedit within w_fx_regcompany
  464. integer x = 322
  465. integer y = 202
  466. integer width = 600
  467. integer height = 83
  468. integer taborder = 80
  469. boolean bringtotop = true
  470. integer textsize = -9
  471. integer weight = 400
  472. fontcharset fontcharset = gb2312charset!
  473. fontpitch fontpitch = variable!
  474. string facename = "宋体"
  475. long textcolor = 33554432
  476. borderstyle borderstyle = stylelowered!
  477. end type
  478. type st_9 from statictext within w_fx_regcompany
  479. integer x = 1028
  480. integer y = 218
  481. integer width = 260
  482. integer height = 48
  483. boolean bringtotop = true
  484. integer textsize = -9
  485. integer weight = 400
  486. fontcharset fontcharset = gb2312charset!
  487. fontpitch fontpitch = variable!
  488. string facename = "宋体"
  489. long textcolor = 33554432
  490. long backcolor = 134217739
  491. string text = "*登陆密码"
  492. alignment alignment = right!
  493. long bordercolor = 134217739
  494. boolean focusrectangle = false
  495. end type
  496. type sle_psw from singlelineedit within w_fx_regcompany
  497. integer x = 1313
  498. integer y = 202
  499. integer width = 600
  500. integer height = 83
  501. integer taborder = 90
  502. boolean bringtotop = true
  503. integer textsize = -9
  504. integer weight = 400
  505. fontcharset fontcharset = gb2312charset!
  506. fontpitch fontpitch = variable!
  507. string facename = "宋体"
  508. long textcolor = 33554432
  509. boolean password = true
  510. borderstyle borderstyle = stylelowered!
  511. end type
  512. type st_10 from statictext within w_fx_regcompany
  513. integer x = 48
  514. integer y = 666
  515. integer width = 260
  516. integer height = 48
  517. boolean bringtotop = true
  518. integer textsize = -9
  519. integer weight = 400
  520. fontcharset fontcharset = gb2312charset!
  521. fontpitch fontpitch = variable!
  522. string facename = "宋体"
  523. long textcolor = 33554432
  524. long backcolor = 134217739
  525. string text = " 简介备注"
  526. alignment alignment = right!
  527. boolean focusrectangle = false
  528. end type
  529. type mle_dscrp from multilineedit within w_fx_regcompany
  530. integer x = 322
  531. integer y = 650
  532. integer width = 1591
  533. integer height = 787
  534. integer taborder = 60
  535. boolean bringtotop = true
  536. integer textsize = -9
  537. integer weight = 400
  538. fontcharset fontcharset = gb2312charset!
  539. fontpitch fontpitch = variable!
  540. string facename = "宋体"
  541. long textcolor = 33554432
  542. boolean vscrollbar = true
  543. borderstyle borderstyle = stylelowered!
  544. end type
  545. type cbx_show from checkbox within w_fx_regcompany
  546. integer x = 1609
  547. integer y = 294
  548. integer width = 304
  549. integer height = 61
  550. boolean bringtotop = true
  551. integer textsize = -9
  552. integer weight = 400
  553. fontcharset fontcharset = gb2312charset!
  554. fontpitch fontpitch = variable!
  555. string facename = "宋体"
  556. long textcolor = 33554432
  557. long backcolor = 134217739
  558. string text = "显示密码"
  559. end type
  560. event clicked;sle_psw.Password = not this.Checked
  561. end event
  562. type st_6 from statictext within w_fx_regcompany
  563. integer x = 1968
  564. integer y = 70
  565. integer width = 263
  566. integer height = 48
  567. boolean bringtotop = true
  568. integer textsize = -9
  569. integer weight = 400
  570. fontcharset fontcharset = gb2312charset!
  571. fontpitch fontpitch = variable!
  572. string facename = "宋体"
  573. long textcolor = 33554432
  574. long backcolor = 134217739
  575. string text = "*企业法人"
  576. long bordercolor = 134217739
  577. boolean focusrectangle = false
  578. end type
  579. type sle_legalperson from singlelineedit within w_fx_regcompany
  580. integer x = 2231
  581. integer y = 54
  582. integer width = 600
  583. integer height = 83
  584. integer taborder = 10
  585. boolean bringtotop = true
  586. integer textsize = -9
  587. integer weight = 400
  588. fontcharset fontcharset = gb2312charset!
  589. fontpitch fontpitch = variable!
  590. string facename = "宋体"
  591. long textcolor = 33554432
  592. borderstyle borderstyle = stylelowered!
  593. end type
  594. type st_13 from statictext within w_fx_regcompany
  595. integer x = 1964
  596. integer y = 358
  597. integer width = 263
  598. integer height = 48
  599. boolean bringtotop = true
  600. integer textsize = -9
  601. integer weight = 400
  602. fontcharset fontcharset = gb2312charset!
  603. fontpitch fontpitch = variable!
  604. string facename = "宋体"
  605. long textcolor = 33554432
  606. long backcolor = 134217739
  607. string text = "*经营范围"
  608. long bordercolor = 134217739
  609. boolean focusrectangle = false
  610. end type
  611. type st_14 from statictext within w_fx_regcompany
  612. integer x = 1964
  613. integer y = 675
  614. integer width = 483
  615. integer height = 48
  616. boolean bringtotop = true
  617. integer textsize = -9
  618. integer weight = 400
  619. fontcharset fontcharset = gb2312charset!
  620. fontpitch fontpitch = variable!
  621. string facename = "宋体"
  622. long textcolor = 33554432
  623. long backcolor = 134217739
  624. string text = "*营业执照注册编号"
  625. long bordercolor = 134217739
  626. boolean focusrectangle = false
  627. end type
  628. type sle_license from singlelineedit within w_fx_regcompany
  629. integer x = 2447
  630. integer y = 653
  631. integer width = 1375
  632. integer height = 83
  633. integer taborder = 90
  634. boolean bringtotop = true
  635. integer textsize = -9
  636. integer weight = 400
  637. fontcharset fontcharset = gb2312charset!
  638. fontpitch fontpitch = variable!
  639. string facename = "宋体"
  640. long textcolor = 33554432
  641. borderstyle borderstyle = stylelowered!
  642. end type
  643. type sle_regaddress from singlelineedit within w_fx_regcompany
  644. integer x = 2227
  645. integer y = 202
  646. integer width = 1591
  647. integer height = 83
  648. integer taborder = 60
  649. boolean bringtotop = true
  650. integer textsize = -9
  651. integer weight = 400
  652. fontcharset fontcharset = gb2312charset!
  653. fontpitch fontpitch = variable!
  654. string facename = "宋体"
  655. long textcolor = 33554432
  656. borderstyle borderstyle = stylelowered!
  657. end type
  658. type st_7 from statictext within w_fx_regcompany
  659. integer x = 1964
  660. integer y = 214
  661. integer width = 263
  662. integer height = 48
  663. boolean bringtotop = true
  664. integer textsize = -9
  665. integer weight = 400
  666. fontcharset fontcharset = gb2312charset!
  667. fontpitch fontpitch = variable!
  668. string facename = "宋体"
  669. long textcolor = 33554432
  670. long backcolor = 134217739
  671. string text = "*注册地址"
  672. long bordercolor = 134217739
  673. boolean focusrectangle = false
  674. end type
  675. type mle_business from multilineedit within w_fx_regcompany
  676. integer x = 2227
  677. integer y = 346
  678. integer width = 1591
  679. integer height = 250
  680. integer taborder = 70
  681. boolean bringtotop = true
  682. integer textsize = -9
  683. integer weight = 400
  684. fontcharset fontcharset = gb2312charset!
  685. fontpitch fontpitch = variable!
  686. string facename = "宋体"
  687. long textcolor = 33554432
  688. boolean vscrollbar = true
  689. borderstyle borderstyle = stylelowered!
  690. end type
  691. type st_11 from statictext within w_fx_regcompany
  692. integer x = 1957
  693. integer y = 806
  694. integer width = 263
  695. integer height = 48
  696. boolean bringtotop = true
  697. integer textsize = -9
  698. integer weight = 400
  699. fontcharset fontcharset = gb2312charset!
  700. fontpitch fontpitch = variable!
  701. string facename = "宋体"
  702. long textcolor = 33554432
  703. long backcolor = 134217739
  704. string text = "营业执照"
  705. alignment alignment = right!
  706. long bordercolor = 134217739
  707. boolean focusrectangle = false
  708. end type
  709. type p_license from picture within w_fx_regcompany
  710. integer x = 2235
  711. integer y = 915
  712. integer width = 1587
  713. integer height = 522
  714. boolean bringtotop = true
  715. boolean focusrectangle = false
  716. end type
  717. type cb_1 from commandbutton within w_fx_regcompany
  718. integer x = 2235
  719. integer y = 787
  720. integer width = 413
  721. integer height = 83
  722. integer taborder = 100
  723. boolean bringtotop = true
  724. integer textsize = -9
  725. integer weight = 400
  726. fontcharset fontcharset = gb2312charset!
  727. fontpitch fontpitch = variable!
  728. string facename = "宋体"
  729. string text = "选择图片"
  730. end type
  731. event clicked;string ls_pathname, ls_name
  732. if (GetFileOpenName('请选择图片', ls_pathname, ls_name) = 1) then
  733. ins_licenseFileDir = ls_pathname
  734. p_license.picturename = ins_licenseFileDir
  735. end if
  736. end event