1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504 |
- $PBExportHeader$w_oa_workremind_detonate.srw
- forward
- global type w_oa_workremind_detonate from window
- end type
- type st_rslt from statictext within w_oa_workremind_detonate
- end type
- type st_9 from statictext within w_oa_workremind_detonate
- end type
- type em_9 from editmask within w_oa_workremind_detonate
- end type
- type rb_4 from radiobutton within w_oa_workremind_detonate
- end type
- type rb_3 from radiobutton within w_oa_workremind_detonate
- end type
- type em_8 from editmask within w_oa_workremind_detonate
- end type
- type st_8 from statictext within w_oa_workremind_detonate
- end type
- type em_7 from editmask within w_oa_workremind_detonate
- end type
- type em_6 from editmask within w_oa_workremind_detonate
- end type
- type st_7 from statictext within w_oa_workremind_detonate
- end type
- type st_6 from statictext within w_oa_workremind_detonate
- end type
- type ddlb_3 from dropdownlistbox within w_oa_workremind_detonate
- end type
- type em_5 from editmask within w_oa_workremind_detonate
- end type
- type rb_2 from radiobutton within w_oa_workremind_detonate
- end type
- type em_4 from editmask within w_oa_workremind_detonate
- end type
- type rb_1 from radiobutton within w_oa_workremind_detonate
- end type
- type cbx_tue from checkbox within w_oa_workremind_detonate
- end type
- type cbx_wed from checkbox within w_oa_workremind_detonate
- end type
- type cbx_thr from checkbox within w_oa_workremind_detonate
- end type
- type cbx_fri from checkbox within w_oa_workremind_detonate
- end type
- type cbx_sat from checkbox within w_oa_workremind_detonate
- end type
- type cbx_sun from checkbox within w_oa_workremind_detonate
- end type
- type cbx_mon from checkbox within w_oa_workremind_detonate
- end type
- type st_week from statictext within w_oa_workremind_detonate
- end type
- type ddlb_week from dropdownlistbox within w_oa_workremind_detonate
- end type
- type st_day from statictext within w_oa_workremind_detonate
- end type
- type ddlb_day from dropdownlistbox within w_oa_workremind_detonate
- end type
- type cb_2 from commandbutton within w_oa_workremind_detonate
- end type
- type cb_1 from commandbutton within w_oa_workremind_detonate
- end type
- type st_5 from statictext within w_oa_workremind_detonate
- end type
- type em_2 from editmask within w_oa_workremind_detonate
- end type
- type em_1 from editmask within w_oa_workremind_detonate
- end type
- type ddlb_2 from dropdownlistbox within w_oa_workremind_detonate
- end type
- type st_4 from statictext within w_oa_workremind_detonate
- end type
- type st_3 from statictext within w_oa_workremind_detonate
- end type
- type st_2 from statictext within w_oa_workremind_detonate
- end type
- type gb_2 from groupbox within w_oa_workremind_detonate
- end type
- type ddlb_1 from dropdownlistbox within w_oa_workremind_detonate
- end type
- type st_1 from statictext within w_oa_workremind_detonate
- end type
- type gb_1 from groupbox within w_oa_workremind_detonate
- end type
- type gb_3 from groupbox within w_oa_workremind_detonate
- end type
- type gb_4 from groupbox within w_oa_workremind_detonate
- end type
- type gb_5 from groupbox within w_oa_workremind_detonate
- end type
- end forward
- global type w_oa_workremind_detonate from window
- integer width = 2821
- integer height = 2316
- boolean titlebar = true
- string title = "触发规则属性"
- boolean controlmenu = true
- windowtype windowtype = response!
- long backcolor = 67108864
- string icon = "AppIcon!"
- boolean center = true
- st_rslt st_rslt
- st_9 st_9
- em_9 em_9
- rb_4 rb_4
- rb_3 rb_3
- em_8 em_8
- st_8 st_8
- em_7 em_7
- em_6 em_6
- st_7 st_7
- st_6 st_6
- ddlb_3 ddlb_3
- em_5 em_5
- rb_2 rb_2
- em_4 em_4
- rb_1 rb_1
- cbx_tue cbx_tue
- cbx_wed cbx_wed
- cbx_thr cbx_thr
- cbx_fri cbx_fri
- cbx_sat cbx_sat
- cbx_sun cbx_sun
- cbx_mon cbx_mon
- st_week st_week
- ddlb_week ddlb_week
- st_day st_day
- ddlb_day ddlb_day
- cb_2 cb_2
- cb_1 cb_1
- st_5 st_5
- em_2 em_2
- em_1 em_1
- ddlb_2 ddlb_2
- st_4 st_4
- st_3 st_3
- st_2 st_2
- gb_2 gb_2
- ddlb_1 ddlb_1
- st_1 st_1
- gb_1 gb_1
- gb_3 gb_3
- gb_4 gb_4
- gb_5 gb_5
- end type
- global w_oa_workremind_detonate w_oa_workremind_detonate
- type variables
- s_oa_workremind_timeType ins_TimeType
- boolean ib_isClose=true
- end variables
- forward prototypes
- public subroutine wf_default ()
- public subroutine wf_setexctype (string arg_type)
- public subroutine wf_set_frequency (string arg_type)
- public subroutine wf_gettotalrslt (string arg_type)
- public function string wf_getrslt_fre (string arg_type)
- public function string wf_getrslt_fre_day ()
- public function string wf_getrslt_lasting ()
- public subroutine wf_gettimetype (ref s_oa_workremind_timetype arg_time)
- end prototypes
- public subroutine wf_default ();ddlb_1.selectitem(1)
- ddlb_2.selectitem(2)
- ddlb_3.selectitem(1)
- ddlb_1.TriggerEvent(selectionchanged!)
- ddlb_2.TriggerEvent(selectionchanged!)
- ddlb_3.TriggerEvent(selectionchanged!)
- //rb_1.TriggerEvent("Clicked")
- ddlb_week.selectitem(1)
- ddlb_day.selectitem(1)
- em_2.text=string(today())
- em_1.text=string(now())
- em_8.text=string(today())
- em_9.text=string(today())
- em_4.text=string(now())
- wf_gettotalrslt(ddlb_1.text)
- end subroutine
- public subroutine wf_setexctype (string arg_type);boolean once,rep
- if arg_type="执行一次"then
- once=true
- rep=false
- elseif arg_type="重复执行"then
- once=false
- rep=true
- end if
- //一次 控件
- gb_1.enabled=once
- st_3.enabled=once
- st_4.enabled=once
- em_1.enabled=once
- em_2.enabled=once
- //重复 控件
- gb_2.enabled=rep
- st_2.enabled=rep
- st_5.enabled=rep
- ddlb_2.enabled=rep
- cbx_mon.enabled=rep
- cbx_tue.enabled=rep
- cbx_wed.enabled=rep
- cbx_thr.enabled=rep
- cbx_fri.enabled=rep
- cbx_sat.enabled=rep
- cbx_sun.enabled=rep
- ddlb_week.enabled=rep
- ddlb_day.enabled=rep
- rb_1.enabled=rep
- if rb_1.checked then
- rb_1.TriggerEvent(clicked!)
- em_4.enabled=rep
- elseif rb_2.checked then
- rb_2.TriggerEvent(clicked!)
- em_5.enabled=rep
- em_6.enabled=rep
- em_7.enabled=rep
- ddlb_3.enabled=rep
- end if
- rb_2.enabled=rep
- em_8.enabled=rep
- em_9.enabled=rep
- rb_3.enabled=rep
- rb_4.enabled=rep
- end subroutine
- public subroutine wf_set_frequency (string arg_type);boolean day,week,month
- if arg_type="每日" then
- day=true
- month=false
- week=false
- st_5.visible=true
- elseif arg_type="每周" then
- day=false
- month=false
- week=true
- st_5.visible=true
- elseif arg_type="每月" then
- day=false
- month=true
- week=false
- st_5.visible=false
- else
- day=false
- month=false
- week=false
- st_5.visible=false
- end if
- //day
- ddlb_day.visible=day
- st_day.visible=day
- //week
- ddlb_week.visible=week
- st_week.visible=week
- cbx_tue.visible=week
- cbx_mon.visible=week
- cbx_wed.visible=week
- cbx_thr.visible=week
- cbx_fri.visible=week
- cbx_sat.visible=week
- cbx_sun.visible=week
- //month
- end subroutine
- public subroutine wf_gettotalrslt (string arg_type);//触发类型
- if arg_type="重复执行" then
- string rslt
- rslt+=wf_getrslt_fre(ddlb_2.text)
- rslt+=wf_getrslt_fre_day()
- rslt+=wf_getrslt_lasting()
- st_rslt.text=rslt
- elseif arg_type="执行一次"then
- st_rslt.text="在"+em_2.text+" 的"+em_1.text+"执行。"
- end if
- end subroutine
- public function string wf_getrslt_fre (string arg_type);//频率
- string rslt
- boolean notFirst
- notFirst=false
- rslt=""
- if arg_type="每周" then
- rslt="每"+ddlb_week.text+"周的 "
- if cbx_mon.checked then
- if notFirst then
- rslt+=" , "
- end if
- rslt += cbx_mon.text
- notFirst=true
- end if
- if cbx_tue.checked then
- if notFirst then
- rslt+=" , "
- end if
- rslt += cbx_tue.text
- notFirst=true
- end if
- if cbx_wed.checked then
- if notFirst then
- rslt+=" , "
- end if
- rslt += cbx_wed.text
- notFirst=true
- end if
- if cbx_thr.checked then
- if notFirst then
- rslt+=" , "
- end if
- rslt += cbx_thr.text
- notFirst=true
- end if
- if cbx_fri.checked then
- if notFirst then
- rslt+=" , "
- end if
- rslt += cbx_fri.text
- notFirst=true
- end if
- if cbx_sat.checked then
- if notFirst then
- rslt+=" , "
- end if
- rslt += cbx_sat.text
- notFirst=true
- end if
- if cbx_sun.checked then
- if notFirst then
- rslt+=" , "
- end if
- rslt += cbx_sun.text
- notFirst=true
- end if
- rslt+=" "
- elseif arg_type="每日" then
- rslt="每"+ddlb_day.text+"日"
- end if
- return rslt
- end function
- public function string wf_getrslt_fre_day ();//每天频率
- string rslt
- rslt=""
- if rb_1.checked then
- rslt="的 "+em_4.text+" 执行。"
- elseif rb_2.checked then
- rslt="在 "+em_6.text+" 和 "+em_7.text+" 之间、每 "+em_5.text+ddlb_3.text+" 执行。"
- end if
- return rslt
- end function
- public function string wf_getrslt_lasting ();//持续时间
- string rslt
- rslt="将"
- if rb_3.checked then
- rslt="在 "+em_8.text+" 和 "+em_9.text+" 之间使用计划。"
- elseif rb_4.checked then
- rslt="从 "+em_8.text+" 开始计划。"
- end if
- return rslt
- end function
- public subroutine wf_gettimetype (ref s_oa_workremind_timetype arg_time);//获取设定的时间类型
- if ddlb_1.text="执行一次" then
- arg_time.checktype="once"
- arg_time.oncedate = em_2.text
- arg_time.oncetime = em_1.text
- goto ext
- elseif ddlb_1.text="重复执行"then
- arg_time.checktype="rep"
- end if
- string ls_tmp
- if ddlb_2.text="每周"then
- arg_time.IntervalType="week"
- ls_tmp=ddlb_week.text+";"
- if cbx_mon.checked then
- ls_tmp+="1"
- else
- ls_tmp+="0"
- end if
-
- if cbx_tue.checked then
- ls_tmp+="1"
- else
- ls_tmp+="0"
- end if
-
- if cbx_wed.checked then
- ls_tmp+="1"
- else
- ls_tmp+="0"
- end if
-
- if cbx_thr.checked then
- ls_tmp+="1"
- else
- ls_tmp+="0"
- end if
-
- if cbx_fri.checked then
- ls_tmp+="1"
- else
- ls_tmp+="0"
- end if
-
- if cbx_sat.checked then
- ls_tmp+="1"
- else
- ls_tmp+="0"
- end if
-
- if cbx_sun.checked then
- ls_tmp+="1"
- else
- ls_tmp+="0"
- end if
- arg_time.Interval=ls_tmp
- elseif ddlb_2.text="每日"then
- arg_time.IntervalType="day"
- arg_time.Interval=ddlb_day.text
- end if
- if rb_1.checked then
- arg_time.fretype="once"
- arg_time.fre=em_4.text
- elseif rb_2.checked then
- arg_time.fretype=ddlb_3.text
- ls_tmp=em_5.text+";"
- ls_tmp+=em_6.text+";"+em_7.text
- arg_time.fre=ls_tmp
- end if
- if rb_3.checked then
- arg_time.startDate=em_8.text+";"+em_9.text
- elseif rb_4.checked then
- arg_time.startDate=em_8.text+";noend"
- end if
- ext:
- arg_time.direction=st_rslt.text
- end subroutine
- on w_oa_workremind_detonate.create
- this.st_rslt=create st_rslt
- this.st_9=create st_9
- this.em_9=create em_9
- this.rb_4=create rb_4
- this.rb_3=create rb_3
- this.em_8=create em_8
- this.st_8=create st_8
- this.em_7=create em_7
- this.em_6=create em_6
- this.st_7=create st_7
- this.st_6=create st_6
- this.ddlb_3=create ddlb_3
- this.em_5=create em_5
- this.rb_2=create rb_2
- this.em_4=create em_4
- this.rb_1=create rb_1
- this.cbx_tue=create cbx_tue
- this.cbx_wed=create cbx_wed
- this.cbx_thr=create cbx_thr
- this.cbx_fri=create cbx_fri
- this.cbx_sat=create cbx_sat
- this.cbx_sun=create cbx_sun
- this.cbx_mon=create cbx_mon
- this.st_week=create st_week
- this.ddlb_week=create ddlb_week
- this.st_day=create st_day
- this.ddlb_day=create ddlb_day
- this.cb_2=create cb_2
- this.cb_1=create cb_1
- this.st_5=create st_5
- this.em_2=create em_2
- this.em_1=create em_1
- this.ddlb_2=create ddlb_2
- this.st_4=create st_4
- this.st_3=create st_3
- this.st_2=create st_2
- this.gb_2=create gb_2
- this.ddlb_1=create ddlb_1
- this.st_1=create st_1
- this.gb_1=create gb_1
- this.gb_3=create gb_3
- this.gb_4=create gb_4
- this.gb_5=create gb_5
- this.Control[]={this.st_rslt,&
- this.st_9,&
- this.em_9,&
- this.rb_4,&
- this.rb_3,&
- this.em_8,&
- this.st_8,&
- this.em_7,&
- this.em_6,&
- this.st_7,&
- this.st_6,&
- this.ddlb_3,&
- this.em_5,&
- this.rb_2,&
- this.em_4,&
- this.rb_1,&
- this.cbx_tue,&
- this.cbx_wed,&
- this.cbx_thr,&
- this.cbx_fri,&
- this.cbx_sat,&
- this.cbx_sun,&
- this.cbx_mon,&
- this.st_week,&
- this.ddlb_week,&
- this.st_day,&
- this.ddlb_day,&
- this.cb_2,&
- this.cb_1,&
- this.st_5,&
- this.em_2,&
- this.em_1,&
- this.ddlb_2,&
- this.st_4,&
- this.st_3,&
- this.st_2,&
- this.gb_2,&
- this.ddlb_1,&
- this.st_1,&
- this.gb_1,&
- this.gb_3,&
- this.gb_4,&
- this.gb_5}
- end on
- on w_oa_workremind_detonate.destroy
- destroy(this.st_rslt)
- destroy(this.st_9)
- destroy(this.em_9)
- destroy(this.rb_4)
- destroy(this.rb_3)
- destroy(this.em_8)
- destroy(this.st_8)
- destroy(this.em_7)
- destroy(this.em_6)
- destroy(this.st_7)
- destroy(this.st_6)
- destroy(this.ddlb_3)
- destroy(this.em_5)
- destroy(this.rb_2)
- destroy(this.em_4)
- destroy(this.rb_1)
- destroy(this.cbx_tue)
- destroy(this.cbx_wed)
- destroy(this.cbx_thr)
- destroy(this.cbx_fri)
- destroy(this.cbx_sat)
- destroy(this.cbx_sun)
- destroy(this.cbx_mon)
- destroy(this.st_week)
- destroy(this.ddlb_week)
- destroy(this.st_day)
- destroy(this.ddlb_day)
- destroy(this.cb_2)
- destroy(this.cb_1)
- destroy(this.st_5)
- destroy(this.em_2)
- destroy(this.em_1)
- destroy(this.ddlb_2)
- destroy(this.st_4)
- destroy(this.st_3)
- destroy(this.st_2)
- destroy(this.gb_2)
- destroy(this.ddlb_1)
- destroy(this.st_1)
- destroy(this.gb_1)
- destroy(this.gb_3)
- destroy(this.gb_4)
- destroy(this.gb_5)
- end on
- event open;s_oa_workremind_timetype ins_parm
- ins_parm=message.PowerObjectParm
- wf_default()
- wf_setexctype(ddlb_1.text)
- wf_set_frequency(ddlb_2.text)
- if not isnull(ins_parm) then
- if ins_parm.checktype="once" then
- // datetime dt
- // date d
- // time t
- // dt=datetime(date(mid(ins_parm.oncedatetime,1,pos(ins_parm.oncedatetime,' ') - 1)),time(right(ins_parm.oncedatetime,8)))
- // t=time(dt)
- // d=date(dt)
- em_2.text=ins_parm.oncedate
- em_1.text=ins_parm.oncetime
- ddlb_1.selectitem(2)
- ddlb_1.triggerEvent(selectionchanged!)
- goto ext
- elseif ins_parm.checktype="rep"then
- else
- goto ext
- end if
- end if
- if ins_parm.intervaltype="week" then
- ddlb_2.selectitem(1)
- ddlb_2.triggerEvent(selectionchanged!)
- string ls_dayofweek,ls_week
- ls_week=right(ins_parm.interval,7)
- ls_dayofweek=mid(ins_parm.interval,1,pos(ins_parm.interval,";")-1)
- ddlb_week.text=ls_dayofweek
- if mid(ins_parm.interval,1,1) = "1" then
- cbx_mon.checked=true
- end if
- if mid(ins_parm.interval,2,1)="1" then
- cbx_tue.checked=true
- end if
- if mid(ins_parm.interval,3,1)="1" then
- cbx_wed.checked=true
- end if
- if mid(ins_parm.interval,4,1)="1" then
- cbx_thr.checked=true
- end if
- if mid(ins_parm.interval,5,1)="1" then
- cbx_fri.checked=true
- end if
- if mid(ins_parm.interval,6,1)="1" then
- cbx_sat.checked=true
- end if
- if mid(ins_parm.interval,7,1)="1" then
- cbx_sun.checked=true
- end if
-
- elseif ins_parm.intervaltype="day"then
- ddlb_2.selectitem(2)
- ddlb_day.text=ins_parm.interval
- ddlb_2.triggerEvent(selectionchanged!)
- end if
- if ins_parm.fretype="once" then
- rb_1.checked=true
- em_4.text=ins_parm.fre
- rb_1.triggerEvent(clicked!)
- else
- rb_2.checked=true
- ddlb_3.text=ins_parm.fretype
- string ls_fre
- ls_fre=mid(ins_parm.fre,pos(ins_parm.fre,";")+1)
- em_5.text=mid(ins_parm.fre,1,pos(ins_parm.fre,";")-1)
- em_6.text=mid(ls_fre,1,pos(ls_fre,";")-1)
- em_7.text=mid(ls_fre,pos(ls_fre,";")+1)
- rb_2.triggerEvent(clicked!)
- end if
- string st,en
- st=mid(ins_parm.startDate,1,pos(ins_parm.startDate,";")-1)
- en=mid(ins_parm.startDate,pos(ins_parm.startDate,";")+1)
- em_8.text=st
- if en="noend" then
- rb_4.checked=true
- rb_4.triggerEvent(clicked!)
- else
- em_9.text=en
- rb_3.checked=true
- rb_3.triggerEvent(clicked!)
- end if
-
- ext:
- end event
- event close;if ib_isClose then
- cb_2.triggerEvent(clicked!)
- end if
- end event
- type st_rslt from statictext within w_oa_workremind_detonate
- integer x = 334
- integer y = 1848
- integer width = 2318
- integer height = 144
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- boolean focusrectangle = false
- end type
- type st_9 from statictext within w_oa_workremind_detonate
- integer x = 50
- integer y = 1856
- integer width = 293
- integer height = 48
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "说明:"
- boolean focusrectangle = false
- end type
- type em_9 from editmask within w_oa_workremind_detonate
- integer x = 1545
- integer y = 1556
- integer width = 439
- integer height = 76
- integer taborder = 70
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- string text = "none"
- borderstyle borderstyle = stylelowered!
- maskdatatype maskdatatype = datemask!
- string mask = "YYYY-MM-DD"
- boolean spin = true
- double increment = 1
- string minmax = "1900-01-01~~2999-12-31"
- end type
- event modified;wf_gettotalrslt(ddlb_1.text)
- end event
- type rb_4 from radiobutton within w_oa_workremind_detonate
- integer x = 1175
- integer y = 1656
- integer width = 411
- integer height = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "无结束日期"
- end type
- event clicked;rb_3.checked=false
- em_9.enabled=false
- wf_gettotalrslt(ddlb_1.text)
- end event
- type rb_3 from radiobutton within w_oa_workremind_detonate
- integer x = 1175
- integer y = 1556
- integer width = 402
- integer height = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "结束日期:"
- boolean checked = true
- end type
- event clicked;rb_4.checked=false
- em_9.enabled=true
- wf_gettotalrslt(ddlb_1.text)
- end event
- type em_8 from editmask within w_oa_workremind_detonate
- integer x = 366
- integer y = 1556
- integer width = 439
- integer height = 76
- integer taborder = 30
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- string text = "none"
- borderstyle borderstyle = stylelowered!
- maskdatatype maskdatatype = datemask!
- string mask = "YYYY-MM-DD"
- boolean spin = true
- double increment = 1
- string minmax = "1900-01-01~~2999-12-31"
- end type
- event modified;wf_gettotalrslt(ddlb_1.text)
- end event
- type st_8 from statictext within w_oa_workremind_detonate
- integer x = 46
- integer y = 1568
- integer width = 402
- integer height = 48
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "开始日期:"
- boolean focusrectangle = false
- end type
- type em_7 from editmask within w_oa_workremind_detonate
- integer x = 1509
- integer y = 1364
- integer width = 357
- integer height = 64
- integer taborder = 50
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean enabled = false
- string text = "23:59:59"
- borderstyle borderstyle = stylelowered!
- maskdatatype maskdatatype = timemask!
- string mask = "hh:mm:ss"
- boolean spin = true
- double increment = 1
- string minmax = "00:00:00~~23:59:59"
- end type
- event modified;wf_gettotalrslt(ddlb_1.text)
- end event
- type em_6 from editmask within w_oa_workremind_detonate
- integer x = 1509
- integer y = 1264
- integer width = 357
- integer height = 64
- integer taborder = 40
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean enabled = false
- string text = "00:00:00"
- borderstyle borderstyle = stylelowered!
- maskdatatype maskdatatype = timemask!
- string mask = "hh:mm:ss"
- boolean spin = true
- double increment = 1
- string minmax = "00:00:00~~23:59:59"
- end type
- event modified;wf_gettotalrslt(ddlb_1.text)
- end event
- type st_7 from statictext within w_oa_workremind_detonate
- integer x = 1189
- integer y = 1368
- integer width = 402
- integer height = 48
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "结束时间:"
- boolean focusrectangle = false
- end type
- type st_6 from statictext within w_oa_workremind_detonate
- integer x = 1189
- integer y = 1268
- integer width = 402
- integer height = 48
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "开始时间:"
- boolean focusrectangle = false
- end type
- type ddlb_3 from dropdownlistbox within w_oa_workremind_detonate
- integer x = 654
- integer y = 1272
- integer width = 343
- integer height = 300
- integer taborder = 70
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean enabled = false
- boolean sorted = false
- string item[] = {"小时","分钟",""}
- borderstyle borderstyle = stylelowered!
- end type
- event selectionchanged;wf_gettotalrslt(ddlb_1.text)
- end event
- type em_5 from editmask within w_oa_workremind_detonate
- integer x = 421
- integer y = 1280
- integer width = 197
- integer height = 64
- integer taborder = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean enabled = false
- string text = "1"
- alignment alignment = right!
- borderstyle borderstyle = stylelowered!
- string mask = "##"
- boolean spin = true
- double increment = 1
- string minmax = "1~~24"
- end type
- event modified;wf_gettotalrslt(ddlb_1.text)
- end event
- type rb_2 from radiobutton within w_oa_workremind_detonate
- integer x = 50
- integer y = 1268
- integer width = 402
- integer height = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "执行间隔:"
- end type
- event clicked;rb_1.checked=false
- rb_2.checked=true
- em_4.enabled=false
- em_6.enabled=true
- em_5.enabled=true
- em_7.enabled=true
- ddlb_3.enabled=true
- wf_gettotalrslt(ddlb_1.text)
- end event
- type em_4 from editmask within w_oa_workremind_detonate
- integer x = 613
- integer y = 1156
- integer width = 389
- integer height = 64
- integer taborder = 40
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- borderstyle borderstyle = stylelowered!
- maskdatatype maskdatatype = timemask!
- string mask = "hh:mm:ss"
- boolean spin = true
- double increment = 1
- string minmax = "00:00:00~~23:59:59"
- end type
- type rb_1 from radiobutton within w_oa_workremind_detonate
- integer x = 50
- integer y = 1140
- integer width = 576
- integer height = 92
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "执行一次,时间为:"
- boolean checked = true
- end type
- event clicked;rb_1.checked=true
- rb_2.checked=false
- em_4.enabled=true
- em_6.enabled=false
- em_5.enabled=false
- em_7.enabled=false
- ddlb_3.enabled=false
- wf_gettotalrslt(ddlb_1.text)
- end event
- type cbx_tue from checkbox within w_oa_workremind_detonate
- boolean visible = false
- integer x = 759
- integer y = 848
- integer width = 320
- integer height = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "星期二"
- end type
- event clicked;wf_gettotalrslt(ddlb_1.text)
- end event
- type cbx_wed from checkbox within w_oa_workremind_detonate
- boolean visible = false
- integer x = 1083
- integer y = 848
- integer width = 320
- integer height = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "星期三"
- end type
- event clicked;wf_gettotalrslt(ddlb_1.text)
- end event
- type cbx_thr from checkbox within w_oa_workremind_detonate
- boolean visible = false
- integer x = 1413
- integer y = 848
- integer width = 320
- integer height = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "星期四"
- end type
- event clicked;wf_gettotalrslt(ddlb_1.text)
- end event
- type cbx_fri from checkbox within w_oa_workremind_detonate
- boolean visible = false
- integer x = 1733
- integer y = 844
- integer width = 320
- integer height = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "星期五"
- end type
- event clicked;wf_gettotalrslt(ddlb_1.text)
- end event
- type cbx_sat from checkbox within w_oa_workremind_detonate
- boolean visible = false
- integer x = 407
- integer y = 932
- integer width = 320
- integer height = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "星期六"
- end type
- event clicked;wf_gettotalrslt(ddlb_1.text)
- end event
- type cbx_sun from checkbox within w_oa_workremind_detonate
- boolean visible = false
- integer x = 754
- integer y = 932
- integer width = 320
- integer height = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "星期日"
- end type
- event clicked;wf_gettotalrslt(ddlb_1.text)
- end event
- type cbx_mon from checkbox within w_oa_workremind_detonate
- boolean visible = false
- integer x = 402
- integer y = 848
- integer width = 320
- integer height = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "星期一"
- end type
- event clicked;wf_gettotalrslt(ddlb_1.text)
- end event
- type st_week from statictext within w_oa_workremind_detonate
- boolean visible = false
- integer x = 613
- integer y = 760
- integer width = 178
- integer height = 48
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "周,在"
- boolean focusrectangle = false
- end type
- type ddlb_week from dropdownlistbox within w_oa_workremind_detonate
- boolean visible = false
- integer x = 402
- integer y = 740
- integer width = 206
- integer height = 316
- integer taborder = 50
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean sorted = false
- 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"}
- borderstyle borderstyle = stylelowered!
- end type
- event selectionchanged;wf_gettotalrslt(ddlb_1.text)
- end event
- type st_day from statictext within w_oa_workremind_detonate
- boolean visible = false
- integer x = 613
- integer y = 764
- integer width = 105
- integer height = 48
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "天"
- boolean focusrectangle = false
- end type
- type ddlb_day from dropdownlistbox within w_oa_workremind_detonate
- boolean visible = false
- integer x = 402
- integer y = 740
- integer width = 206
- integer height = 300
- integer taborder = 50
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean sorted = false
- 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"}
- borderstyle borderstyle = stylelowered!
- end type
- event selectionchanged;wf_gettotalrslt(ddlb_1.text)
- end event
- type cb_2 from commandbutton within w_oa_workremind_detonate
- integer x = 1504
- integer y = 2124
- integer width = 402
- integer height = 84
- integer taborder = 90
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- string text = "取消"
- end type
- event clicked;string a
- setnull(a)
- closewithreturn(parent,a)
- end event
- type cb_1 from commandbutton within w_oa_workremind_detonate
- integer x = 937
- integer y = 2124
- integer width = 402
- integer height = 84
- integer taborder = 80
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- string text = "确定"
- end type
- event clicked;wf_gettimetype(ref ins_TimeType)
- ib_isClose=false
- CloseWithReturn(parent,ins_TimeType)
- end event
- type st_5 from statictext within w_oa_workremind_detonate
- boolean visible = false
- integer x = 41
- integer y = 752
- integer width = 320
- integer height = 48
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "执行间隔:"
- boolean focusrectangle = false
- end type
- type em_2 from editmask within w_oa_workremind_detonate
- integer x = 192
- integer y = 364
- integer width = 389
- integer height = 76
- integer taborder = 40
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- string text = "none"
- borderstyle borderstyle = stylelowered!
- maskdatatype maskdatatype = datemask!
- string mask = "YYYY-MM-DD"
- boolean spin = true
- double increment = 1
- string minmax = "1900-01-01~~2999-12-31"
- end type
- type em_1 from editmask within w_oa_workremind_detonate
- integer x = 1390
- integer y = 372
- integer width = 352
- integer height = 64
- integer taborder = 30
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- borderstyle borderstyle = stylelowered!
- maskdatatype maskdatatype = timemask!
- string mask = "hh:mm:ss"
- boolean spin = true
- double increment = 1
- string minmax = "00:00:00~~23:59:59"
- end type
- type ddlb_2 from dropdownlistbox within w_oa_workremind_detonate
- integer x = 398
- integer y = 608
- integer width = 827
- integer height = 300
- integer taborder = 40
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean sorted = false
- string item[] = {"每周","每日"}
- borderstyle borderstyle = stylelowered!
- end type
- event selectionchanged;wf_set_frequency(ddlb_2.text)
- wf_gettotalrslt(ddlb_1.text)
- end event
- type st_4 from statictext within w_oa_workremind_detonate
- integer x = 1207
- integer y = 372
- integer width = 210
- integer height = 52
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "时间:"
- boolean focusrectangle = false
- end type
- type st_3 from statictext within w_oa_workremind_detonate
- integer x = 32
- integer y = 364
- integer width = 187
- integer height = 48
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "日期:"
- boolean focusrectangle = false
- end type
- type st_2 from statictext within w_oa_workremind_detonate
- integer x = 41
- integer y = 628
- integer width = 229
- integer height = 48
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "执行:"
- boolean focusrectangle = false
- end type
- type gb_2 from groupbox within w_oa_workremind_detonate
- integer y = 524
- integer width = 2766
- integer height = 548
- integer taborder = 30
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "频率"
- borderstyle borderstyle = stylebox!
- end type
- type ddlb_1 from dropdownlistbox within w_oa_workremind_detonate
- integer x = 393
- integer y = 84
- integer width = 1591
- integer height = 300
- integer taborder = 10
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean sorted = false
- string item[] = {"重复执行","执行一次"}
- borderstyle borderstyle = stylelowered!
- end type
- event selectionchanged;wf_setexctype(ddlb_1.text)
- wf_gettotalrslt(ddlb_1.text)
- end event
- type st_1 from statictext within w_oa_workremind_detonate
- integer x = 37
- integer y = 84
- integer width = 329
- integer height = 48
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "触发类型:"
- boolean focusrectangle = false
- end type
- type gb_1 from groupbox within w_oa_workremind_detonate
- integer y = 252
- integer width = 2757
- integer height = 264
- integer taborder = 20
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "执行一次"
- borderstyle borderstyle = stylebox!
- end type
- type gb_3 from groupbox within w_oa_workremind_detonate
- integer y = 1088
- integer width = 2761
- integer height = 376
- integer taborder = 50
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "每天频率"
- borderstyle borderstyle = stylebox!
- end type
- type gb_4 from groupbox within w_oa_workremind_detonate
- integer y = 1468
- integer width = 2757
- integer height = 300
- integer taborder = 60
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "持续时间"
- borderstyle borderstyle = stylebox!
- end type
- type gb_5 from groupbox within w_oa_workremind_detonate
- integer y = 1772
- integer width = 2757
- integer height = 300
- integer taborder = 70
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "摘要"
- borderstyle borderstyle = stylebox!
- end type
|