w_oa_workremind_detonate.srw 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504
  1. $PBExportHeader$w_oa_workremind_detonate.srw
  2. forward
  3. global type w_oa_workremind_detonate from window
  4. end type
  5. type st_rslt from statictext within w_oa_workremind_detonate
  6. end type
  7. type st_9 from statictext within w_oa_workremind_detonate
  8. end type
  9. type em_9 from editmask within w_oa_workremind_detonate
  10. end type
  11. type rb_4 from radiobutton within w_oa_workremind_detonate
  12. end type
  13. type rb_3 from radiobutton within w_oa_workremind_detonate
  14. end type
  15. type em_8 from editmask within w_oa_workremind_detonate
  16. end type
  17. type st_8 from statictext within w_oa_workremind_detonate
  18. end type
  19. type em_7 from editmask within w_oa_workremind_detonate
  20. end type
  21. type em_6 from editmask within w_oa_workremind_detonate
  22. end type
  23. type st_7 from statictext within w_oa_workremind_detonate
  24. end type
  25. type st_6 from statictext within w_oa_workremind_detonate
  26. end type
  27. type ddlb_3 from dropdownlistbox within w_oa_workremind_detonate
  28. end type
  29. type em_5 from editmask within w_oa_workremind_detonate
  30. end type
  31. type rb_2 from radiobutton within w_oa_workremind_detonate
  32. end type
  33. type em_4 from editmask within w_oa_workremind_detonate
  34. end type
  35. type rb_1 from radiobutton within w_oa_workremind_detonate
  36. end type
  37. type cbx_tue from checkbox within w_oa_workremind_detonate
  38. end type
  39. type cbx_wed from checkbox within w_oa_workremind_detonate
  40. end type
  41. type cbx_thr from checkbox within w_oa_workremind_detonate
  42. end type
  43. type cbx_fri from checkbox within w_oa_workremind_detonate
  44. end type
  45. type cbx_sat from checkbox within w_oa_workremind_detonate
  46. end type
  47. type cbx_sun from checkbox within w_oa_workremind_detonate
  48. end type
  49. type cbx_mon from checkbox within w_oa_workremind_detonate
  50. end type
  51. type st_week from statictext within w_oa_workremind_detonate
  52. end type
  53. type ddlb_week from dropdownlistbox within w_oa_workremind_detonate
  54. end type
  55. type st_day from statictext within w_oa_workremind_detonate
  56. end type
  57. type ddlb_day from dropdownlistbox within w_oa_workremind_detonate
  58. end type
  59. type cb_2 from commandbutton within w_oa_workremind_detonate
  60. end type
  61. type cb_1 from commandbutton within w_oa_workremind_detonate
  62. end type
  63. type st_5 from statictext within w_oa_workremind_detonate
  64. end type
  65. type em_2 from editmask within w_oa_workremind_detonate
  66. end type
  67. type em_1 from editmask within w_oa_workremind_detonate
  68. end type
  69. type ddlb_2 from dropdownlistbox within w_oa_workremind_detonate
  70. end type
  71. type st_4 from statictext within w_oa_workremind_detonate
  72. end type
  73. type st_3 from statictext within w_oa_workremind_detonate
  74. end type
  75. type st_2 from statictext within w_oa_workremind_detonate
  76. end type
  77. type gb_2 from groupbox within w_oa_workremind_detonate
  78. end type
  79. type ddlb_1 from dropdownlistbox within w_oa_workremind_detonate
  80. end type
  81. type st_1 from statictext within w_oa_workremind_detonate
  82. end type
  83. type gb_1 from groupbox within w_oa_workremind_detonate
  84. end type
  85. type gb_3 from groupbox within w_oa_workremind_detonate
  86. end type
  87. type gb_4 from groupbox within w_oa_workremind_detonate
  88. end type
  89. type gb_5 from groupbox within w_oa_workremind_detonate
  90. end type
  91. end forward
  92. global type w_oa_workremind_detonate from window
  93. integer width = 2821
  94. integer height = 2316
  95. boolean titlebar = true
  96. string title = "触发规则属性"
  97. boolean controlmenu = true
  98. windowtype windowtype = response!
  99. long backcolor = 67108864
  100. string icon = "AppIcon!"
  101. boolean center = true
  102. st_rslt st_rslt
  103. st_9 st_9
  104. em_9 em_9
  105. rb_4 rb_4
  106. rb_3 rb_3
  107. em_8 em_8
  108. st_8 st_8
  109. em_7 em_7
  110. em_6 em_6
  111. st_7 st_7
  112. st_6 st_6
  113. ddlb_3 ddlb_3
  114. em_5 em_5
  115. rb_2 rb_2
  116. em_4 em_4
  117. rb_1 rb_1
  118. cbx_tue cbx_tue
  119. cbx_wed cbx_wed
  120. cbx_thr cbx_thr
  121. cbx_fri cbx_fri
  122. cbx_sat cbx_sat
  123. cbx_sun cbx_sun
  124. cbx_mon cbx_mon
  125. st_week st_week
  126. ddlb_week ddlb_week
  127. st_day st_day
  128. ddlb_day ddlb_day
  129. cb_2 cb_2
  130. cb_1 cb_1
  131. st_5 st_5
  132. em_2 em_2
  133. em_1 em_1
  134. ddlb_2 ddlb_2
  135. st_4 st_4
  136. st_3 st_3
  137. st_2 st_2
  138. gb_2 gb_2
  139. ddlb_1 ddlb_1
  140. st_1 st_1
  141. gb_1 gb_1
  142. gb_3 gb_3
  143. gb_4 gb_4
  144. gb_5 gb_5
  145. end type
  146. global w_oa_workremind_detonate w_oa_workremind_detonate
  147. type variables
  148. s_oa_workremind_timeType ins_TimeType
  149. boolean ib_isClose=true
  150. end variables
  151. forward prototypes
  152. public subroutine wf_default ()
  153. public subroutine wf_setexctype (string arg_type)
  154. public subroutine wf_set_frequency (string arg_type)
  155. public subroutine wf_gettotalrslt (string arg_type)
  156. public function string wf_getrslt_fre (string arg_type)
  157. public function string wf_getrslt_fre_day ()
  158. public function string wf_getrslt_lasting ()
  159. public subroutine wf_gettimetype (ref s_oa_workremind_timetype arg_time)
  160. end prototypes
  161. public subroutine wf_default ();ddlb_1.selectitem(1)
  162. ddlb_2.selectitem(2)
  163. ddlb_3.selectitem(1)
  164. ddlb_1.TriggerEvent(selectionchanged!)
  165. ddlb_2.TriggerEvent(selectionchanged!)
  166. ddlb_3.TriggerEvent(selectionchanged!)
  167. //rb_1.TriggerEvent("Clicked")
  168. ddlb_week.selectitem(1)
  169. ddlb_day.selectitem(1)
  170. em_2.text=string(today())
  171. em_1.text=string(now())
  172. em_8.text=string(today())
  173. em_9.text=string(today())
  174. em_4.text=string(now())
  175. wf_gettotalrslt(ddlb_1.text)
  176. end subroutine
  177. public subroutine wf_setexctype (string arg_type);boolean once,rep
  178. if arg_type="执行一次"then
  179. once=true
  180. rep=false
  181. elseif arg_type="重复执行"then
  182. once=false
  183. rep=true
  184. end if
  185. //一次 控件
  186. gb_1.enabled=once
  187. st_3.enabled=once
  188. st_4.enabled=once
  189. em_1.enabled=once
  190. em_2.enabled=once
  191. //重复 控件
  192. gb_2.enabled=rep
  193. st_2.enabled=rep
  194. st_5.enabled=rep
  195. ddlb_2.enabled=rep
  196. cbx_mon.enabled=rep
  197. cbx_tue.enabled=rep
  198. cbx_wed.enabled=rep
  199. cbx_thr.enabled=rep
  200. cbx_fri.enabled=rep
  201. cbx_sat.enabled=rep
  202. cbx_sun.enabled=rep
  203. ddlb_week.enabled=rep
  204. ddlb_day.enabled=rep
  205. rb_1.enabled=rep
  206. if rb_1.checked then
  207. rb_1.TriggerEvent(clicked!)
  208. em_4.enabled=rep
  209. elseif rb_2.checked then
  210. rb_2.TriggerEvent(clicked!)
  211. em_5.enabled=rep
  212. em_6.enabled=rep
  213. em_7.enabled=rep
  214. ddlb_3.enabled=rep
  215. end if
  216. rb_2.enabled=rep
  217. em_8.enabled=rep
  218. em_9.enabled=rep
  219. rb_3.enabled=rep
  220. rb_4.enabled=rep
  221. end subroutine
  222. public subroutine wf_set_frequency (string arg_type);boolean day,week,month
  223. if arg_type="每日" then
  224. day=true
  225. month=false
  226. week=false
  227. st_5.visible=true
  228. elseif arg_type="每周" then
  229. day=false
  230. month=false
  231. week=true
  232. st_5.visible=true
  233. elseif arg_type="每月" then
  234. day=false
  235. month=true
  236. week=false
  237. st_5.visible=false
  238. else
  239. day=false
  240. month=false
  241. week=false
  242. st_5.visible=false
  243. end if
  244. //day
  245. ddlb_day.visible=day
  246. st_day.visible=day
  247. //week
  248. ddlb_week.visible=week
  249. st_week.visible=week
  250. cbx_tue.visible=week
  251. cbx_mon.visible=week
  252. cbx_wed.visible=week
  253. cbx_thr.visible=week
  254. cbx_fri.visible=week
  255. cbx_sat.visible=week
  256. cbx_sun.visible=week
  257. //month
  258. end subroutine
  259. public subroutine wf_gettotalrslt (string arg_type);//触发类型
  260. if arg_type="重复执行" then
  261. string rslt
  262. rslt+=wf_getrslt_fre(ddlb_2.text)
  263. rslt+=wf_getrslt_fre_day()
  264. rslt+=wf_getrslt_lasting()
  265. st_rslt.text=rslt
  266. elseif arg_type="执行一次"then
  267. st_rslt.text="在"+em_2.text+" 的"+em_1.text+"执行。"
  268. end if
  269. end subroutine
  270. public function string wf_getrslt_fre (string arg_type);//频率
  271. string rslt
  272. boolean notFirst
  273. notFirst=false
  274. rslt=""
  275. if arg_type="每周" then
  276. rslt="每"+ddlb_week.text+"周的 "
  277. if cbx_mon.checked then
  278. if notFirst then
  279. rslt+=" , "
  280. end if
  281. rslt += cbx_mon.text
  282. notFirst=true
  283. end if
  284. if cbx_tue.checked then
  285. if notFirst then
  286. rslt+=" , "
  287. end if
  288. rslt += cbx_tue.text
  289. notFirst=true
  290. end if
  291. if cbx_wed.checked then
  292. if notFirst then
  293. rslt+=" , "
  294. end if
  295. rslt += cbx_wed.text
  296. notFirst=true
  297. end if
  298. if cbx_thr.checked then
  299. if notFirst then
  300. rslt+=" , "
  301. end if
  302. rslt += cbx_thr.text
  303. notFirst=true
  304. end if
  305. if cbx_fri.checked then
  306. if notFirst then
  307. rslt+=" , "
  308. end if
  309. rslt += cbx_fri.text
  310. notFirst=true
  311. end if
  312. if cbx_sat.checked then
  313. if notFirst then
  314. rslt+=" , "
  315. end if
  316. rslt += cbx_sat.text
  317. notFirst=true
  318. end if
  319. if cbx_sun.checked then
  320. if notFirst then
  321. rslt+=" , "
  322. end if
  323. rslt += cbx_sun.text
  324. notFirst=true
  325. end if
  326. rslt+=" "
  327. elseif arg_type="每日" then
  328. rslt="每"+ddlb_day.text+"日"
  329. end if
  330. return rslt
  331. end function
  332. public function string wf_getrslt_fre_day ();//每天频率
  333. string rslt
  334. rslt=""
  335. if rb_1.checked then
  336. rslt="的 "+em_4.text+" 执行。"
  337. elseif rb_2.checked then
  338. rslt="在 "+em_6.text+" 和 "+em_7.text+" 之间、每 "+em_5.text+ddlb_3.text+" 执行。"
  339. end if
  340. return rslt
  341. end function
  342. public function string wf_getrslt_lasting ();//持续时间
  343. string rslt
  344. rslt="将"
  345. if rb_3.checked then
  346. rslt="在 "+em_8.text+" 和 "+em_9.text+" 之间使用计划。"
  347. elseif rb_4.checked then
  348. rslt="从 "+em_8.text+" 开始计划。"
  349. end if
  350. return rslt
  351. end function
  352. public subroutine wf_gettimetype (ref s_oa_workremind_timetype arg_time);//获取设定的时间类型
  353. if ddlb_1.text="执行一次" then
  354. arg_time.checktype="once"
  355. arg_time.oncedate = em_2.text
  356. arg_time.oncetime = em_1.text
  357. goto ext
  358. elseif ddlb_1.text="重复执行"then
  359. arg_time.checktype="rep"
  360. end if
  361. string ls_tmp
  362. if ddlb_2.text="每周"then
  363. arg_time.IntervalType="week"
  364. ls_tmp=ddlb_week.text+";"
  365. if cbx_mon.checked then
  366. ls_tmp+="1"
  367. else
  368. ls_tmp+="0"
  369. end if
  370. if cbx_tue.checked then
  371. ls_tmp+="1"
  372. else
  373. ls_tmp+="0"
  374. end if
  375. if cbx_wed.checked then
  376. ls_tmp+="1"
  377. else
  378. ls_tmp+="0"
  379. end if
  380. if cbx_thr.checked then
  381. ls_tmp+="1"
  382. else
  383. ls_tmp+="0"
  384. end if
  385. if cbx_fri.checked then
  386. ls_tmp+="1"
  387. else
  388. ls_tmp+="0"
  389. end if
  390. if cbx_sat.checked then
  391. ls_tmp+="1"
  392. else
  393. ls_tmp+="0"
  394. end if
  395. if cbx_sun.checked then
  396. ls_tmp+="1"
  397. else
  398. ls_tmp+="0"
  399. end if
  400. arg_time.Interval=ls_tmp
  401. elseif ddlb_2.text="每日"then
  402. arg_time.IntervalType="day"
  403. arg_time.Interval=ddlb_day.text
  404. end if
  405. if rb_1.checked then
  406. arg_time.fretype="once"
  407. arg_time.fre=em_4.text
  408. elseif rb_2.checked then
  409. arg_time.fretype=ddlb_3.text
  410. ls_tmp=em_5.text+";"
  411. ls_tmp+=em_6.text+";"+em_7.text
  412. arg_time.fre=ls_tmp
  413. end if
  414. if rb_3.checked then
  415. arg_time.startDate=em_8.text+";"+em_9.text
  416. elseif rb_4.checked then
  417. arg_time.startDate=em_8.text+";noend"
  418. end if
  419. ext:
  420. arg_time.direction=st_rslt.text
  421. end subroutine
  422. on w_oa_workremind_detonate.create
  423. this.st_rslt=create st_rslt
  424. this.st_9=create st_9
  425. this.em_9=create em_9
  426. this.rb_4=create rb_4
  427. this.rb_3=create rb_3
  428. this.em_8=create em_8
  429. this.st_8=create st_8
  430. this.em_7=create em_7
  431. this.em_6=create em_6
  432. this.st_7=create st_7
  433. this.st_6=create st_6
  434. this.ddlb_3=create ddlb_3
  435. this.em_5=create em_5
  436. this.rb_2=create rb_2
  437. this.em_4=create em_4
  438. this.rb_1=create rb_1
  439. this.cbx_tue=create cbx_tue
  440. this.cbx_wed=create cbx_wed
  441. this.cbx_thr=create cbx_thr
  442. this.cbx_fri=create cbx_fri
  443. this.cbx_sat=create cbx_sat
  444. this.cbx_sun=create cbx_sun
  445. this.cbx_mon=create cbx_mon
  446. this.st_week=create st_week
  447. this.ddlb_week=create ddlb_week
  448. this.st_day=create st_day
  449. this.ddlb_day=create ddlb_day
  450. this.cb_2=create cb_2
  451. this.cb_1=create cb_1
  452. this.st_5=create st_5
  453. this.em_2=create em_2
  454. this.em_1=create em_1
  455. this.ddlb_2=create ddlb_2
  456. this.st_4=create st_4
  457. this.st_3=create st_3
  458. this.st_2=create st_2
  459. this.gb_2=create gb_2
  460. this.ddlb_1=create ddlb_1
  461. this.st_1=create st_1
  462. this.gb_1=create gb_1
  463. this.gb_3=create gb_3
  464. this.gb_4=create gb_4
  465. this.gb_5=create gb_5
  466. this.Control[]={this.st_rslt,&
  467. this.st_9,&
  468. this.em_9,&
  469. this.rb_4,&
  470. this.rb_3,&
  471. this.em_8,&
  472. this.st_8,&
  473. this.em_7,&
  474. this.em_6,&
  475. this.st_7,&
  476. this.st_6,&
  477. this.ddlb_3,&
  478. this.em_5,&
  479. this.rb_2,&
  480. this.em_4,&
  481. this.rb_1,&
  482. this.cbx_tue,&
  483. this.cbx_wed,&
  484. this.cbx_thr,&
  485. this.cbx_fri,&
  486. this.cbx_sat,&
  487. this.cbx_sun,&
  488. this.cbx_mon,&
  489. this.st_week,&
  490. this.ddlb_week,&
  491. this.st_day,&
  492. this.ddlb_day,&
  493. this.cb_2,&
  494. this.cb_1,&
  495. this.st_5,&
  496. this.em_2,&
  497. this.em_1,&
  498. this.ddlb_2,&
  499. this.st_4,&
  500. this.st_3,&
  501. this.st_2,&
  502. this.gb_2,&
  503. this.ddlb_1,&
  504. this.st_1,&
  505. this.gb_1,&
  506. this.gb_3,&
  507. this.gb_4,&
  508. this.gb_5}
  509. end on
  510. on w_oa_workremind_detonate.destroy
  511. destroy(this.st_rslt)
  512. destroy(this.st_9)
  513. destroy(this.em_9)
  514. destroy(this.rb_4)
  515. destroy(this.rb_3)
  516. destroy(this.em_8)
  517. destroy(this.st_8)
  518. destroy(this.em_7)
  519. destroy(this.em_6)
  520. destroy(this.st_7)
  521. destroy(this.st_6)
  522. destroy(this.ddlb_3)
  523. destroy(this.em_5)
  524. destroy(this.rb_2)
  525. destroy(this.em_4)
  526. destroy(this.rb_1)
  527. destroy(this.cbx_tue)
  528. destroy(this.cbx_wed)
  529. destroy(this.cbx_thr)
  530. destroy(this.cbx_fri)
  531. destroy(this.cbx_sat)
  532. destroy(this.cbx_sun)
  533. destroy(this.cbx_mon)
  534. destroy(this.st_week)
  535. destroy(this.ddlb_week)
  536. destroy(this.st_day)
  537. destroy(this.ddlb_day)
  538. destroy(this.cb_2)
  539. destroy(this.cb_1)
  540. destroy(this.st_5)
  541. destroy(this.em_2)
  542. destroy(this.em_1)
  543. destroy(this.ddlb_2)
  544. destroy(this.st_4)
  545. destroy(this.st_3)
  546. destroy(this.st_2)
  547. destroy(this.gb_2)
  548. destroy(this.ddlb_1)
  549. destroy(this.st_1)
  550. destroy(this.gb_1)
  551. destroy(this.gb_3)
  552. destroy(this.gb_4)
  553. destroy(this.gb_5)
  554. end on
  555. event open;s_oa_workremind_timetype ins_parm
  556. ins_parm=message.PowerObjectParm
  557. wf_default()
  558. wf_setexctype(ddlb_1.text)
  559. wf_set_frequency(ddlb_2.text)
  560. if not isnull(ins_parm) then
  561. if ins_parm.checktype="once" then
  562. // datetime dt
  563. // date d
  564. // time t
  565. // dt=datetime(date(mid(ins_parm.oncedatetime,1,pos(ins_parm.oncedatetime,' ') - 1)),time(right(ins_parm.oncedatetime,8)))
  566. // t=time(dt)
  567. // d=date(dt)
  568. em_2.text=ins_parm.oncedate
  569. em_1.text=ins_parm.oncetime
  570. ddlb_1.selectitem(2)
  571. ddlb_1.triggerEvent(selectionchanged!)
  572. goto ext
  573. elseif ins_parm.checktype="rep"then
  574. else
  575. goto ext
  576. end if
  577. end if
  578. if ins_parm.intervaltype="week" then
  579. ddlb_2.selectitem(1)
  580. ddlb_2.triggerEvent(selectionchanged!)
  581. string ls_dayofweek,ls_week
  582. ls_week=right(ins_parm.interval,7)
  583. ls_dayofweek=mid(ins_parm.interval,1,pos(ins_parm.interval,";")-1)
  584. ddlb_week.text=ls_dayofweek
  585. if mid(ins_parm.interval,1,1) = "1" then
  586. cbx_mon.checked=true
  587. end if
  588. if mid(ins_parm.interval,2,1)="1" then
  589. cbx_tue.checked=true
  590. end if
  591. if mid(ins_parm.interval,3,1)="1" then
  592. cbx_wed.checked=true
  593. end if
  594. if mid(ins_parm.interval,4,1)="1" then
  595. cbx_thr.checked=true
  596. end if
  597. if mid(ins_parm.interval,5,1)="1" then
  598. cbx_fri.checked=true
  599. end if
  600. if mid(ins_parm.interval,6,1)="1" then
  601. cbx_sat.checked=true
  602. end if
  603. if mid(ins_parm.interval,7,1)="1" then
  604. cbx_sun.checked=true
  605. end if
  606. elseif ins_parm.intervaltype="day"then
  607. ddlb_2.selectitem(2)
  608. ddlb_day.text=ins_parm.interval
  609. ddlb_2.triggerEvent(selectionchanged!)
  610. end if
  611. if ins_parm.fretype="once" then
  612. rb_1.checked=true
  613. em_4.text=ins_parm.fre
  614. rb_1.triggerEvent(clicked!)
  615. else
  616. rb_2.checked=true
  617. ddlb_3.text=ins_parm.fretype
  618. string ls_fre
  619. ls_fre=mid(ins_parm.fre,pos(ins_parm.fre,";")+1)
  620. em_5.text=mid(ins_parm.fre,1,pos(ins_parm.fre,";")-1)
  621. em_6.text=mid(ls_fre,1,pos(ls_fre,";")-1)
  622. em_7.text=mid(ls_fre,pos(ls_fre,";")+1)
  623. rb_2.triggerEvent(clicked!)
  624. end if
  625. string st,en
  626. st=mid(ins_parm.startDate,1,pos(ins_parm.startDate,";")-1)
  627. en=mid(ins_parm.startDate,pos(ins_parm.startDate,";")+1)
  628. em_8.text=st
  629. if en="noend" then
  630. rb_4.checked=true
  631. rb_4.triggerEvent(clicked!)
  632. else
  633. em_9.text=en
  634. rb_3.checked=true
  635. rb_3.triggerEvent(clicked!)
  636. end if
  637. ext:
  638. end event
  639. event close;if ib_isClose then
  640. cb_2.triggerEvent(clicked!)
  641. end if
  642. end event
  643. type st_rslt from statictext within w_oa_workremind_detonate
  644. integer x = 334
  645. integer y = 1848
  646. integer width = 2318
  647. integer height = 144
  648. integer textsize = -9
  649. integer weight = 400
  650. fontcharset fontcharset = gb2312charset!
  651. fontpitch fontpitch = variable!
  652. string facename = "宋体"
  653. long textcolor = 33554432
  654. long backcolor = 67108864
  655. boolean focusrectangle = false
  656. end type
  657. type st_9 from statictext within w_oa_workremind_detonate
  658. integer x = 50
  659. integer y = 1856
  660. integer width = 293
  661. integer height = 48
  662. integer textsize = -9
  663. integer weight = 400
  664. fontcharset fontcharset = gb2312charset!
  665. fontpitch fontpitch = variable!
  666. string facename = "宋体"
  667. long textcolor = 33554432
  668. long backcolor = 67108864
  669. string text = "说明:"
  670. boolean focusrectangle = false
  671. end type
  672. type em_9 from editmask within w_oa_workremind_detonate
  673. integer x = 1545
  674. integer y = 1556
  675. integer width = 439
  676. integer height = 76
  677. integer taborder = 70
  678. integer textsize = -9
  679. integer weight = 400
  680. fontcharset fontcharset = gb2312charset!
  681. fontpitch fontpitch = variable!
  682. string facename = "宋体"
  683. long textcolor = 33554432
  684. string text = "none"
  685. borderstyle borderstyle = stylelowered!
  686. maskdatatype maskdatatype = datemask!
  687. string mask = "YYYY-MM-DD"
  688. boolean spin = true
  689. double increment = 1
  690. string minmax = "1900-01-01~~2999-12-31"
  691. end type
  692. event modified;wf_gettotalrslt(ddlb_1.text)
  693. end event
  694. type rb_4 from radiobutton within w_oa_workremind_detonate
  695. integer x = 1175
  696. integer y = 1656
  697. integer width = 411
  698. integer height = 60
  699. integer textsize = -9
  700. integer weight = 400
  701. fontcharset fontcharset = gb2312charset!
  702. fontpitch fontpitch = variable!
  703. string facename = "宋体"
  704. long textcolor = 33554432
  705. long backcolor = 67108864
  706. string text = "无结束日期"
  707. end type
  708. event clicked;rb_3.checked=false
  709. em_9.enabled=false
  710. wf_gettotalrslt(ddlb_1.text)
  711. end event
  712. type rb_3 from radiobutton within w_oa_workremind_detonate
  713. integer x = 1175
  714. integer y = 1556
  715. integer width = 402
  716. integer height = 60
  717. integer textsize = -9
  718. integer weight = 400
  719. fontcharset fontcharset = gb2312charset!
  720. fontpitch fontpitch = variable!
  721. string facename = "宋体"
  722. long textcolor = 33554432
  723. long backcolor = 67108864
  724. string text = "结束日期:"
  725. boolean checked = true
  726. end type
  727. event clicked;rb_4.checked=false
  728. em_9.enabled=true
  729. wf_gettotalrslt(ddlb_1.text)
  730. end event
  731. type em_8 from editmask within w_oa_workremind_detonate
  732. integer x = 366
  733. integer y = 1556
  734. integer width = 439
  735. integer height = 76
  736. integer taborder = 30
  737. integer textsize = -9
  738. integer weight = 400
  739. fontcharset fontcharset = gb2312charset!
  740. fontpitch fontpitch = variable!
  741. string facename = "宋体"
  742. long textcolor = 33554432
  743. string text = "none"
  744. borderstyle borderstyle = stylelowered!
  745. maskdatatype maskdatatype = datemask!
  746. string mask = "YYYY-MM-DD"
  747. boolean spin = true
  748. double increment = 1
  749. string minmax = "1900-01-01~~2999-12-31"
  750. end type
  751. event modified;wf_gettotalrslt(ddlb_1.text)
  752. end event
  753. type st_8 from statictext within w_oa_workremind_detonate
  754. integer x = 46
  755. integer y = 1568
  756. integer width = 402
  757. integer height = 48
  758. integer textsize = -9
  759. integer weight = 400
  760. fontcharset fontcharset = gb2312charset!
  761. fontpitch fontpitch = variable!
  762. string facename = "宋体"
  763. long textcolor = 33554432
  764. long backcolor = 67108864
  765. string text = "开始日期:"
  766. boolean focusrectangle = false
  767. end type
  768. type em_7 from editmask within w_oa_workremind_detonate
  769. integer x = 1509
  770. integer y = 1364
  771. integer width = 357
  772. integer height = 64
  773. integer taborder = 50
  774. integer textsize = -9
  775. integer weight = 400
  776. fontcharset fontcharset = gb2312charset!
  777. fontpitch fontpitch = variable!
  778. string facename = "宋体"
  779. long textcolor = 33554432
  780. boolean enabled = false
  781. string text = "23:59:59"
  782. borderstyle borderstyle = stylelowered!
  783. maskdatatype maskdatatype = timemask!
  784. string mask = "hh:mm:ss"
  785. boolean spin = true
  786. double increment = 1
  787. string minmax = "00:00:00~~23:59:59"
  788. end type
  789. event modified;wf_gettotalrslt(ddlb_1.text)
  790. end event
  791. type em_6 from editmask within w_oa_workremind_detonate
  792. integer x = 1509
  793. integer y = 1264
  794. integer width = 357
  795. integer height = 64
  796. integer taborder = 40
  797. integer textsize = -9
  798. integer weight = 400
  799. fontcharset fontcharset = gb2312charset!
  800. fontpitch fontpitch = variable!
  801. string facename = "宋体"
  802. long textcolor = 33554432
  803. boolean enabled = false
  804. string text = "00:00:00"
  805. borderstyle borderstyle = stylelowered!
  806. maskdatatype maskdatatype = timemask!
  807. string mask = "hh:mm:ss"
  808. boolean spin = true
  809. double increment = 1
  810. string minmax = "00:00:00~~23:59:59"
  811. end type
  812. event modified;wf_gettotalrslt(ddlb_1.text)
  813. end event
  814. type st_7 from statictext within w_oa_workremind_detonate
  815. integer x = 1189
  816. integer y = 1368
  817. integer width = 402
  818. integer height = 48
  819. integer textsize = -9
  820. integer weight = 400
  821. fontcharset fontcharset = gb2312charset!
  822. fontpitch fontpitch = variable!
  823. string facename = "宋体"
  824. long textcolor = 33554432
  825. long backcolor = 67108864
  826. string text = "结束时间:"
  827. boolean focusrectangle = false
  828. end type
  829. type st_6 from statictext within w_oa_workremind_detonate
  830. integer x = 1189
  831. integer y = 1268
  832. integer width = 402
  833. integer height = 48
  834. integer textsize = -9
  835. integer weight = 400
  836. fontcharset fontcharset = gb2312charset!
  837. fontpitch fontpitch = variable!
  838. string facename = "宋体"
  839. long textcolor = 33554432
  840. long backcolor = 67108864
  841. string text = "开始时间:"
  842. boolean focusrectangle = false
  843. end type
  844. type ddlb_3 from dropdownlistbox within w_oa_workremind_detonate
  845. integer x = 654
  846. integer y = 1272
  847. integer width = 343
  848. integer height = 300
  849. integer taborder = 70
  850. integer textsize = -9
  851. integer weight = 400
  852. fontcharset fontcharset = gb2312charset!
  853. fontpitch fontpitch = variable!
  854. string facename = "宋体"
  855. long textcolor = 33554432
  856. boolean enabled = false
  857. boolean sorted = false
  858. string item[] = {"小时","分钟",""}
  859. borderstyle borderstyle = stylelowered!
  860. end type
  861. event selectionchanged;wf_gettotalrslt(ddlb_1.text)
  862. end event
  863. type em_5 from editmask within w_oa_workremind_detonate
  864. integer x = 421
  865. integer y = 1280
  866. integer width = 197
  867. integer height = 64
  868. integer taborder = 60
  869. integer textsize = -9
  870. integer weight = 400
  871. fontcharset fontcharset = gb2312charset!
  872. fontpitch fontpitch = variable!
  873. string facename = "宋体"
  874. long textcolor = 33554432
  875. boolean enabled = false
  876. string text = "1"
  877. alignment alignment = right!
  878. borderstyle borderstyle = stylelowered!
  879. string mask = "##"
  880. boolean spin = true
  881. double increment = 1
  882. string minmax = "1~~24"
  883. end type
  884. event modified;wf_gettotalrslt(ddlb_1.text)
  885. end event
  886. type rb_2 from radiobutton within w_oa_workremind_detonate
  887. integer x = 50
  888. integer y = 1268
  889. integer width = 402
  890. integer height = 60
  891. integer textsize = -9
  892. integer weight = 400
  893. fontcharset fontcharset = gb2312charset!
  894. fontpitch fontpitch = variable!
  895. string facename = "宋体"
  896. long textcolor = 33554432
  897. long backcolor = 67108864
  898. string text = "执行间隔:"
  899. end type
  900. event clicked;rb_1.checked=false
  901. rb_2.checked=true
  902. em_4.enabled=false
  903. em_6.enabled=true
  904. em_5.enabled=true
  905. em_7.enabled=true
  906. ddlb_3.enabled=true
  907. wf_gettotalrslt(ddlb_1.text)
  908. end event
  909. type em_4 from editmask within w_oa_workremind_detonate
  910. integer x = 613
  911. integer y = 1156
  912. integer width = 389
  913. integer height = 64
  914. integer taborder = 40
  915. integer textsize = -9
  916. integer weight = 400
  917. fontcharset fontcharset = gb2312charset!
  918. fontpitch fontpitch = variable!
  919. string facename = "宋体"
  920. long textcolor = 33554432
  921. borderstyle borderstyle = stylelowered!
  922. maskdatatype maskdatatype = timemask!
  923. string mask = "hh:mm:ss"
  924. boolean spin = true
  925. double increment = 1
  926. string minmax = "00:00:00~~23:59:59"
  927. end type
  928. type rb_1 from radiobutton within w_oa_workremind_detonate
  929. integer x = 50
  930. integer y = 1140
  931. integer width = 576
  932. integer height = 92
  933. integer textsize = -9
  934. integer weight = 400
  935. fontcharset fontcharset = gb2312charset!
  936. fontpitch fontpitch = variable!
  937. string facename = "宋体"
  938. long textcolor = 33554432
  939. long backcolor = 67108864
  940. string text = "执行一次,时间为:"
  941. boolean checked = true
  942. end type
  943. event clicked;rb_1.checked=true
  944. rb_2.checked=false
  945. em_4.enabled=true
  946. em_6.enabled=false
  947. em_5.enabled=false
  948. em_7.enabled=false
  949. ddlb_3.enabled=false
  950. wf_gettotalrslt(ddlb_1.text)
  951. end event
  952. type cbx_tue from checkbox within w_oa_workremind_detonate
  953. boolean visible = false
  954. integer x = 759
  955. integer y = 848
  956. integer width = 320
  957. integer height = 60
  958. integer textsize = -9
  959. integer weight = 400
  960. fontcharset fontcharset = gb2312charset!
  961. fontpitch fontpitch = variable!
  962. string facename = "宋体"
  963. long textcolor = 33554432
  964. long backcolor = 67108864
  965. string text = "星期二"
  966. end type
  967. event clicked;wf_gettotalrslt(ddlb_1.text)
  968. end event
  969. type cbx_wed from checkbox within w_oa_workremind_detonate
  970. boolean visible = false
  971. integer x = 1083
  972. integer y = 848
  973. integer width = 320
  974. integer height = 60
  975. integer textsize = -9
  976. integer weight = 400
  977. fontcharset fontcharset = gb2312charset!
  978. fontpitch fontpitch = variable!
  979. string facename = "宋体"
  980. long textcolor = 33554432
  981. long backcolor = 67108864
  982. string text = "星期三"
  983. end type
  984. event clicked;wf_gettotalrslt(ddlb_1.text)
  985. end event
  986. type cbx_thr from checkbox within w_oa_workremind_detonate
  987. boolean visible = false
  988. integer x = 1413
  989. integer y = 848
  990. integer width = 320
  991. integer height = 60
  992. integer textsize = -9
  993. integer weight = 400
  994. fontcharset fontcharset = gb2312charset!
  995. fontpitch fontpitch = variable!
  996. string facename = "宋体"
  997. long textcolor = 33554432
  998. long backcolor = 67108864
  999. string text = "星期四"
  1000. end type
  1001. event clicked;wf_gettotalrslt(ddlb_1.text)
  1002. end event
  1003. type cbx_fri from checkbox within w_oa_workremind_detonate
  1004. boolean visible = false
  1005. integer x = 1733
  1006. integer y = 844
  1007. integer width = 320
  1008. integer height = 60
  1009. integer textsize = -9
  1010. integer weight = 400
  1011. fontcharset fontcharset = gb2312charset!
  1012. fontpitch fontpitch = variable!
  1013. string facename = "宋体"
  1014. long textcolor = 33554432
  1015. long backcolor = 67108864
  1016. string text = "星期五"
  1017. end type
  1018. event clicked;wf_gettotalrslt(ddlb_1.text)
  1019. end event
  1020. type cbx_sat from checkbox within w_oa_workremind_detonate
  1021. boolean visible = false
  1022. integer x = 407
  1023. integer y = 932
  1024. integer width = 320
  1025. integer height = 60
  1026. integer textsize = -9
  1027. integer weight = 400
  1028. fontcharset fontcharset = gb2312charset!
  1029. fontpitch fontpitch = variable!
  1030. string facename = "宋体"
  1031. long textcolor = 33554432
  1032. long backcolor = 67108864
  1033. string text = "星期六"
  1034. end type
  1035. event clicked;wf_gettotalrslt(ddlb_1.text)
  1036. end event
  1037. type cbx_sun from checkbox within w_oa_workremind_detonate
  1038. boolean visible = false
  1039. integer x = 754
  1040. integer y = 932
  1041. integer width = 320
  1042. integer height = 60
  1043. integer textsize = -9
  1044. integer weight = 400
  1045. fontcharset fontcharset = gb2312charset!
  1046. fontpitch fontpitch = variable!
  1047. string facename = "宋体"
  1048. long textcolor = 33554432
  1049. long backcolor = 67108864
  1050. string text = "星期日"
  1051. end type
  1052. event clicked;wf_gettotalrslt(ddlb_1.text)
  1053. end event
  1054. type cbx_mon from checkbox within w_oa_workremind_detonate
  1055. boolean visible = false
  1056. integer x = 402
  1057. integer y = 848
  1058. integer width = 320
  1059. integer height = 60
  1060. integer textsize = -9
  1061. integer weight = 400
  1062. fontcharset fontcharset = gb2312charset!
  1063. fontpitch fontpitch = variable!
  1064. string facename = "宋体"
  1065. long textcolor = 33554432
  1066. long backcolor = 67108864
  1067. string text = "星期一"
  1068. end type
  1069. event clicked;wf_gettotalrslt(ddlb_1.text)
  1070. end event
  1071. type st_week from statictext within w_oa_workremind_detonate
  1072. boolean visible = false
  1073. integer x = 613
  1074. integer y = 760
  1075. integer width = 178
  1076. integer height = 48
  1077. integer textsize = -9
  1078. integer weight = 400
  1079. fontcharset fontcharset = gb2312charset!
  1080. fontpitch fontpitch = variable!
  1081. string facename = "宋体"
  1082. long textcolor = 33554432
  1083. long backcolor = 67108864
  1084. string text = "周,在"
  1085. boolean focusrectangle = false
  1086. end type
  1087. type ddlb_week from dropdownlistbox within w_oa_workremind_detonate
  1088. boolean visible = false
  1089. integer x = 402
  1090. integer y = 740
  1091. integer width = 206
  1092. integer height = 316
  1093. integer taborder = 50
  1094. integer textsize = -9
  1095. integer weight = 400
  1096. fontcharset fontcharset = gb2312charset!
  1097. fontpitch fontpitch = variable!
  1098. string facename = "宋体"
  1099. long textcolor = 33554432
  1100. boolean sorted = false
  1101. string item[] = {"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"}
  1102. borderstyle borderstyle = stylelowered!
  1103. end type
  1104. event selectionchanged;wf_gettotalrslt(ddlb_1.text)
  1105. end event
  1106. type st_day from statictext within w_oa_workremind_detonate
  1107. boolean visible = false
  1108. integer x = 613
  1109. integer y = 764
  1110. integer width = 105
  1111. integer height = 48
  1112. integer textsize = -9
  1113. integer weight = 400
  1114. fontcharset fontcharset = gb2312charset!
  1115. fontpitch fontpitch = variable!
  1116. string facename = "宋体"
  1117. long textcolor = 33554432
  1118. long backcolor = 67108864
  1119. string text = "天"
  1120. boolean focusrectangle = false
  1121. end type
  1122. type ddlb_day from dropdownlistbox within w_oa_workremind_detonate
  1123. boolean visible = false
  1124. integer x = 402
  1125. integer y = 740
  1126. integer width = 206
  1127. integer height = 300
  1128. integer taborder = 50
  1129. integer textsize = -9
  1130. integer weight = 400
  1131. fontcharset fontcharset = gb2312charset!
  1132. fontpitch fontpitch = variable!
  1133. string facename = "宋体"
  1134. long textcolor = 33554432
  1135. boolean sorted = false
  1136. string item[] = {"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"}
  1137. borderstyle borderstyle = stylelowered!
  1138. end type
  1139. event selectionchanged;wf_gettotalrslt(ddlb_1.text)
  1140. end event
  1141. type cb_2 from commandbutton within w_oa_workremind_detonate
  1142. integer x = 1504
  1143. integer y = 2124
  1144. integer width = 402
  1145. integer height = 84
  1146. integer taborder = 90
  1147. integer textsize = -9
  1148. integer weight = 400
  1149. fontcharset fontcharset = gb2312charset!
  1150. fontpitch fontpitch = variable!
  1151. string facename = "宋体"
  1152. string text = "取消"
  1153. end type
  1154. event clicked;string a
  1155. setnull(a)
  1156. closewithreturn(parent,a)
  1157. end event
  1158. type cb_1 from commandbutton within w_oa_workremind_detonate
  1159. integer x = 937
  1160. integer y = 2124
  1161. integer width = 402
  1162. integer height = 84
  1163. integer taborder = 80
  1164. integer textsize = -9
  1165. integer weight = 400
  1166. fontcharset fontcharset = gb2312charset!
  1167. fontpitch fontpitch = variable!
  1168. string facename = "宋体"
  1169. string text = "确定"
  1170. end type
  1171. event clicked;wf_gettimetype(ref ins_TimeType)
  1172. ib_isClose=false
  1173. CloseWithReturn(parent,ins_TimeType)
  1174. end event
  1175. type st_5 from statictext within w_oa_workremind_detonate
  1176. boolean visible = false
  1177. integer x = 41
  1178. integer y = 752
  1179. integer width = 320
  1180. integer height = 48
  1181. integer textsize = -9
  1182. integer weight = 400
  1183. fontcharset fontcharset = gb2312charset!
  1184. fontpitch fontpitch = variable!
  1185. string facename = "宋体"
  1186. long textcolor = 33554432
  1187. long backcolor = 67108864
  1188. string text = "执行间隔:"
  1189. boolean focusrectangle = false
  1190. end type
  1191. type em_2 from editmask within w_oa_workremind_detonate
  1192. integer x = 192
  1193. integer y = 364
  1194. integer width = 389
  1195. integer height = 76
  1196. integer taborder = 40
  1197. integer textsize = -9
  1198. integer weight = 400
  1199. fontcharset fontcharset = gb2312charset!
  1200. fontpitch fontpitch = variable!
  1201. string facename = "宋体"
  1202. long textcolor = 33554432
  1203. string text = "none"
  1204. borderstyle borderstyle = stylelowered!
  1205. maskdatatype maskdatatype = datemask!
  1206. string mask = "YYYY-MM-DD"
  1207. boolean spin = true
  1208. double increment = 1
  1209. string minmax = "1900-01-01~~2999-12-31"
  1210. end type
  1211. type em_1 from editmask within w_oa_workremind_detonate
  1212. integer x = 1390
  1213. integer y = 372
  1214. integer width = 352
  1215. integer height = 64
  1216. integer taborder = 30
  1217. integer textsize = -9
  1218. integer weight = 400
  1219. fontcharset fontcharset = gb2312charset!
  1220. fontpitch fontpitch = variable!
  1221. string facename = "宋体"
  1222. long textcolor = 33554432
  1223. borderstyle borderstyle = stylelowered!
  1224. maskdatatype maskdatatype = timemask!
  1225. string mask = "hh:mm:ss"
  1226. boolean spin = true
  1227. double increment = 1
  1228. string minmax = "00:00:00~~23:59:59"
  1229. end type
  1230. type ddlb_2 from dropdownlistbox within w_oa_workremind_detonate
  1231. integer x = 398
  1232. integer y = 608
  1233. integer width = 827
  1234. integer height = 300
  1235. integer taborder = 40
  1236. integer textsize = -9
  1237. integer weight = 400
  1238. fontcharset fontcharset = gb2312charset!
  1239. fontpitch fontpitch = variable!
  1240. string facename = "宋体"
  1241. long textcolor = 33554432
  1242. boolean sorted = false
  1243. string item[] = {"每周","每日"}
  1244. borderstyle borderstyle = stylelowered!
  1245. end type
  1246. event selectionchanged;wf_set_frequency(ddlb_2.text)
  1247. wf_gettotalrslt(ddlb_1.text)
  1248. end event
  1249. type st_4 from statictext within w_oa_workremind_detonate
  1250. integer x = 1207
  1251. integer y = 372
  1252. integer width = 210
  1253. integer height = 52
  1254. integer textsize = -9
  1255. integer weight = 400
  1256. fontcharset fontcharset = gb2312charset!
  1257. fontpitch fontpitch = variable!
  1258. string facename = "宋体"
  1259. long textcolor = 33554432
  1260. long backcolor = 67108864
  1261. string text = "时间:"
  1262. boolean focusrectangle = false
  1263. end type
  1264. type st_3 from statictext within w_oa_workremind_detonate
  1265. integer x = 32
  1266. integer y = 364
  1267. integer width = 187
  1268. integer height = 48
  1269. integer textsize = -9
  1270. integer weight = 400
  1271. fontcharset fontcharset = gb2312charset!
  1272. fontpitch fontpitch = variable!
  1273. string facename = "宋体"
  1274. long textcolor = 33554432
  1275. long backcolor = 67108864
  1276. string text = "日期:"
  1277. boolean focusrectangle = false
  1278. end type
  1279. type st_2 from statictext within w_oa_workremind_detonate
  1280. integer x = 41
  1281. integer y = 628
  1282. integer width = 229
  1283. integer height = 48
  1284. integer textsize = -9
  1285. integer weight = 400
  1286. fontcharset fontcharset = gb2312charset!
  1287. fontpitch fontpitch = variable!
  1288. string facename = "宋体"
  1289. long textcolor = 33554432
  1290. long backcolor = 67108864
  1291. string text = "执行:"
  1292. boolean focusrectangle = false
  1293. end type
  1294. type gb_2 from groupbox within w_oa_workremind_detonate
  1295. integer y = 524
  1296. integer width = 2766
  1297. integer height = 548
  1298. integer taborder = 30
  1299. integer textsize = -9
  1300. integer weight = 400
  1301. fontcharset fontcharset = gb2312charset!
  1302. fontpitch fontpitch = variable!
  1303. string facename = "宋体"
  1304. long textcolor = 33554432
  1305. long backcolor = 67108864
  1306. string text = "频率"
  1307. borderstyle borderstyle = stylebox!
  1308. end type
  1309. type ddlb_1 from dropdownlistbox within w_oa_workremind_detonate
  1310. integer x = 393
  1311. integer y = 84
  1312. integer width = 1591
  1313. integer height = 300
  1314. integer taborder = 10
  1315. integer textsize = -9
  1316. integer weight = 400
  1317. fontcharset fontcharset = gb2312charset!
  1318. fontpitch fontpitch = variable!
  1319. string facename = "宋体"
  1320. long textcolor = 33554432
  1321. boolean sorted = false
  1322. string item[] = {"重复执行","执行一次"}
  1323. borderstyle borderstyle = stylelowered!
  1324. end type
  1325. event selectionchanged;wf_setexctype(ddlb_1.text)
  1326. wf_gettotalrslt(ddlb_1.text)
  1327. end event
  1328. type st_1 from statictext within w_oa_workremind_detonate
  1329. integer x = 37
  1330. integer y = 84
  1331. integer width = 329
  1332. integer height = 48
  1333. integer textsize = -9
  1334. integer weight = 400
  1335. fontcharset fontcharset = gb2312charset!
  1336. fontpitch fontpitch = variable!
  1337. string facename = "宋体"
  1338. long textcolor = 33554432
  1339. long backcolor = 67108864
  1340. string text = "触发类型:"
  1341. boolean focusrectangle = false
  1342. end type
  1343. type gb_1 from groupbox within w_oa_workremind_detonate
  1344. integer y = 252
  1345. integer width = 2757
  1346. integer height = 264
  1347. integer taborder = 20
  1348. integer textsize = -9
  1349. integer weight = 400
  1350. fontcharset fontcharset = gb2312charset!
  1351. fontpitch fontpitch = variable!
  1352. string facename = "宋体"
  1353. long textcolor = 33554432
  1354. long backcolor = 67108864
  1355. string text = "执行一次"
  1356. borderstyle borderstyle = stylebox!
  1357. end type
  1358. type gb_3 from groupbox within w_oa_workremind_detonate
  1359. integer y = 1088
  1360. integer width = 2761
  1361. integer height = 376
  1362. integer taborder = 50
  1363. integer textsize = -9
  1364. integer weight = 400
  1365. fontcharset fontcharset = gb2312charset!
  1366. fontpitch fontpitch = variable!
  1367. string facename = "宋体"
  1368. long textcolor = 33554432
  1369. long backcolor = 67108864
  1370. string text = "每天频率"
  1371. borderstyle borderstyle = stylebox!
  1372. end type
  1373. type gb_4 from groupbox within w_oa_workremind_detonate
  1374. integer y = 1468
  1375. integer width = 2757
  1376. integer height = 300
  1377. integer taborder = 60
  1378. integer textsize = -9
  1379. integer weight = 400
  1380. fontcharset fontcharset = gb2312charset!
  1381. fontpitch fontpitch = variable!
  1382. string facename = "宋体"
  1383. long textcolor = 33554432
  1384. long backcolor = 67108864
  1385. string text = "持续时间"
  1386. borderstyle borderstyle = stylebox!
  1387. end type
  1388. type gb_5 from groupbox within w_oa_workremind_detonate
  1389. integer y = 1772
  1390. integer width = 2757
  1391. integer height = 300
  1392. integer taborder = 70
  1393. integer textsize = -9
  1394. integer weight = 400
  1395. fontcharset fontcharset = gb2312charset!
  1396. fontpitch fontpitch = variable!
  1397. string facename = "宋体"
  1398. long textcolor = 33554432
  1399. long backcolor = 67108864
  1400. string text = "摘要"
  1401. borderstyle borderstyle = stylebox!
  1402. end type