⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 w_youhuadashi.srw

📁 powerbuilder开发的一个仿优化大师的界面的一个程序源代码。不知道有人喜欢吗?
💻 SRW
📖 第 1 页 / 共 4 页
字号:
long bordercolorover = 8703999
long backcolor = 14606302
long backcolorover = 8703999
long backcolordown = 13031390
rowfocusind tooltiptype = focusrect!
boolean tooltiptitle = true
long tooltipbkcolor = 16777215
end type

type cb_10 from uo_xpbutton within w_youhuadashi
string tag = "优化方案"
integer x = 2633
integer y = 492
integer width = 343
integer height = 100
integer taborder = 130
string text = "优化方案"
boolean chimb = true
alignment captionalign = center!
boolean iconok = false
long bordercolor = 12615680
long bordercolorover = 8703999
long backcolor = 14606302
long backcolorover = 8703999
long backcolordown = 13031390
rowfocusind tooltiptype = focusrect!
boolean tooltiptitle = true
long tooltipbkcolor = 16777215
end type

type cb_9 from uo_xpbutton within w_youhuadashi
string tag = "自动恢复"
integer x = 2633
integer y = 332
integer width = 343
integer height = 100
integer taborder = 70
string text = "自动恢复"
boolean chimb = true
alignment captionalign = center!
boolean iconok = false
long bordercolor = 12615680
long bordercolorover = 8703999
long backcolor = 14606302
long backcolorover = 8703999
long backcolordown = 13031390
rowfocusind tooltiptype = focusrect!
boolean tooltiptitle = true
long tooltipbkcolor = 16777215
end type

type cb_8 from uo_xpbutton within w_youhuadashi
string tag = "自动优化"
integer x = 2633
integer y = 192
integer width = 343
integer height = 100
integer taborder = 140
string text = "自动优化"
boolean chimb = true
alignment captionalign = center!
boolean iconok = false
long bordercolor = 12615680
long bordercolorover = 8703999
long backcolor = 14606302
long backcolorover = 8703999
long backcolordown = 13031390
rowfocusind tooltiptype = focusrect!
boolean tooltiptitle = true
long tooltipbkcolor = 16777215
end type

type cb_7 from uo_xpbutton within w_youhuadashi
integer y = 456
integer width = 640
integer height = 100
integer taborder = 80
string text = "系统清理维护"
alignment captionalign = center!
boolean iconok = false
long bordercolor = 13009408
long bordercolorover = 13007104
long bordercolordown = 15856113
long backcolor = 13009408
long backcolorover = 13009408
long backcolordown = 13007104
long fontcolorover = 15856113
end type

event clicked;call super::clicked;if sb_postion[3]=true then
//   sb_postion[1]=true
//	sb_postion[2]=false
//	sb_postion[3]=false
//	cb_6.y=sl_newy -200
//	cb_7.y=sl_newy -100
//	cb_36.visible=true
//	cb_25.visible=false
//	cb_37.visible=false
   sb_postion[1]=false
else
	sb_postion[1]=false
	sb_postion[2]=false
	sb_postion[3]=true
	cb_6.y=cb_55.y +100
	cb_7.y=cb_55.y +200
	cb_36.visible=false
	cb_25.visible=true
	cb_37.visible=false
end if
end event

type cb_6 from uo_xpbutton within w_youhuadashi
integer y = 356
integer width = 640
integer height = 100
integer taborder = 40
string text = "系统性能优化"
alignment captionalign = center!
boolean iconok = false
long bordercolor = 13009408
long bordercolorover = 13007104
long bordercolordown = 15856113
long backcolor = 13009408
long backcolorover = 13009408
long backcolordown = 13007104
long fontcolorover = 15856113
end type

event clicked;call super::clicked;if sb_postion[2]=false then
   sb_postion[1]=false
	sb_postion[2]=true
	sb_postion[3]=false
	cb_6.y=cb_55.y+100
	cb_7.y=sl_newy -100
	cb_36.visible=false
	cb_25.visible=false
	cb_37.visible=true
else
	sb_postion[1]=false
	sb_postion[2]=false
	sb_postion[3]=true
	cb_6.y=cb_55.y +100
	cb_7.y=cb_55.y +200
	cb_36.visible=false
	cb_25.visible=true
	cb_37.visible=false
end if
end event

type cb_55 from uo_xpbutton within w_youhuadashi
integer y = 256
integer width = 640
integer height = 100
integer taborder = 20
string text = "系统信息检测"
alignment captionalign = center!
boolean iconok = false
long bordercolor = 13009408
long bordercolorover = 13007104
long bordercolordown = 15856113
long backcolor = 13009408
long backcolorover = 13009408
long backcolordown = 13007104
long fontcolorover = 15856113
end type

event clicked;call super::clicked;if sb_postion[1]=false then
   sb_postion[1]=true
	sb_postion[2]=false
	sb_postion[3]=false
	cb_6.y=sl_newy -200
	cb_7.y=sl_newy -100
	cb_36.visible=true
	cb_25.visible=false
	cb_37.visible=false
else
	sb_postion[1]=false
	sb_postion[2]=false
	sb_postion[3]=true
	cb_6.y=y +100
	cb_7.y=y +200
	cb_36.visible=false
	cb_25.visible=true
	cb_37.visible=false
end if
	
	
end event

type cb_22 from uo_xpbutton within w_youhuadashi
string tag = "仿优化大师"
integer x = 1134
integer y = 3168
integer width = 640
integer height = 140
integer taborder = 150
boolean bringtotop = true
integer textsize = -10
string text = "优化维护日志"
boolean chimb = true
alignment captionalign = center!
string normalpicname = "09-Be98 Generic File.ico"
string movepicname = "09-Be98 Generic File.ico"
integer iconsizewidth = 28
integer iconsizeheight = 28
long bordercolor = 8689317
long bordercolorover = 8703999
long backcolor = 16767884
long backcolorover = 8703999
long backcolordown = 14606302
long backcoloricon = 16767884
long backcoloriconover = 8703999
long backcoloricondown = 14606302
integer shadowsize = 3
boolean showfocus = true
rowfocusind tooltiptype = focusrect!
boolean tooltiptitle = true
end type

event clicked;call super::clicked;cb_5.text=this.text 
cb_5.of_refresh( )
end event

type ln_1 from line within w_youhuadashi
long linecolor = 33554432
integer linethickness = 4
integer beginy = 2040
integer endx = 3049
integer endy = 2040
end type

type cb_25 from commandbutton within w_youhuadashi
integer y = 640
integer width = 640
integer height = 1096
integer taborder = 90
integer textsize = -9
integer weight = 400
fontcharset fontcharset = ansi!
fontpitch fontpitch = variable!
fontfamily fontfamily = swiss!
string facename = "Arial"
string text = "none"
end type

event clicked;//p_2.visible=not p_2.visible
this.setposition( Behind! )
end event

event constructor;
Ulong				lul_Button
Ulong				lul_uo[]
commandbutton  lcb_uo[]
int            i
lul_uo[1] 		= Handle( cb_16 )
lul_uo[2] 		= Handle( cb_17 )
lul_uo[3] 		= Handle( cb_18 )
lul_uo[4] 		= Handle( cb_19 )
lul_uo[5] 		= Handle( cb_20 )
lul_uo[6] 		= Handle( cb_21 )
lul_uo[7] 		= Handle( cb_23 )
lul_uo[8] 		= Handle( cb_22 )
lcb_uo[1]       =cb_16
lcb_uo[2]       =cb_17
lcb_uo[3]       =cb_18
lcb_uo[4]       =cb_19
lcb_uo[5]       =cb_20
lcb_uo[6]       =cb_21
lcb_uo[7]       =cb_23
lcb_uo[8]       =cb_22
lul_button	= Handle( this)
for i=1 to UpperBound ( lul_uo)
	parent.SetParent( Handle(lcb_uo[i]),Handle(this) )
	if i=1 then
		lcb_uo[i].x = 0//(cb_3.Width - cb_4.width ) / 2
		lcb_uo[i].y = 0//(cb_3.Height - cb_4.Height) / 2
	else
		lcb_uo[i].x = 0//(cb_3.Width - cb_4.width ) / 2
		lcb_uo[i].y = lcb_uo[i -1].y+lcb_uo[i -1].height -5//(cb_3.Height - cb_4.Height) / 2
	end if
	lcb_uo[i].setposition( totop!)
next
end event

type cb_26 from uo_xpbutton within w_youhuadashi
integer y = 256
integer width = 640
integer height = 1784
integer taborder = 190
boolean enabled = false
string text = "系统信息检测"
alignment captionalign = center!
boolean iconok = false
long bordercolor = 16769965
long bordercolorover = 16769965
long bordercolordown = 16769965
long backcolor = 16769965
long backcolorover = 16769965
long backcolordown = 16769965
long fontcolorover = 15856113
end type

type cb_36 from commandbutton within w_youhuadashi
integer y = 448
integer width = 640
integer height = 1232
integer taborder = 220
integer textsize = -9
integer weight = 400
fontcharset fontcharset = ansi!
fontpitch fontpitch = variable!
fontfamily fontfamily = swiss!
string facename = "Arial"
string text = "none"
end type

event clicked;//p_2.visible=not p_2.visible
this.setposition( Behind! )
end event

event constructor;
Ulong				lul_Button
Ulong				lul_uo[]
commandbutton  lcb_uo[]
int            i
lul_uo[1] 		= Handle( cb_35 )
lul_uo[2] 		= Handle( cb_34 )
lul_uo[3] 		= Handle( cb_33)
lul_uo[4] 		= Handle( cb_32)
lul_uo[5] 		= Handle( cb_31)
lul_uo[6] 		= Handle( cb_30 )
lul_uo[7] 		= Handle( cb_29 )
lul_uo[8] 		= Handle( cb_28 )
lul_uo[9] 		= Handle( cb_27 )
lcb_uo[1]       =cb_35
lcb_uo[2]       =cb_34
lcb_uo[3]       =cb_33
lcb_uo[4]       =cb_32
lcb_uo[5]       =cb_31
lcb_uo[6]       =cb_30
lcb_uo[7]       =cb_29
lcb_uo[8]       =cb_28
lcb_uo[9]       =cb_27
lul_button	= Handle( this)
for i=1 to UpperBound ( lul_uo)
	parent.SetParent( Handle(lcb_uo[i]),Handle(this) )
	if i=1 then
		lcb_uo[i].x = 0//(cb_3.Width - cb_4.width ) / 2
		lcb_uo[i].y = 0//(cb_3.Height - cb_4.Height) / 2
	else
		lcb_uo[i].x = 0//(cb_3.Width - cb_4.width ) / 2
		lcb_uo[i].y = lcb_uo[i -1].y+lcb_uo[i -1].height -5//(cb_3.Height - cb_4.Height) / 2
	end if
	lcb_uo[i].setposition( totop!)
next
end event

type cb_37 from commandbutton within w_youhuadashi
integer y = 544
integer width = 640
integer height = 960
integer taborder = 190
integer textsize = -9
integer weight = 400
fontcharset fontcharset = ansi!
fontpitch fontpitch = variable!
fontfamily fontfamily = swiss!
string facename = "Arial"
string text = "none"
end type

event clicked;//p_2.visible=not p_2.visible
this.setposition( Behind! )
end event

event constructor;
Ulong				lul_Button
Ulong				lul_uo[]
commandbutton  lcb_uo[]
int            i
lul_uo[1] 		= Handle( cb_44 )
lul_uo[2] 		= Handle( cb_43 )
lul_uo[3] 		= Handle( cb_42)
lul_uo[4] 		= Handle( cb_41)
lul_uo[5] 		= Handle( cb_40)
lul_uo[6] 		= Handle( cb_39)
lul_uo[7] 		= Handle( cb_38 )
lcb_uo[1]       =cb_44
lcb_uo[2]       =cb_43
lcb_uo[3]       =cb_42
lcb_uo[4]       =cb_41
lcb_uo[5]       =cb_40
lcb_uo[6]       =cb_39
lcb_uo[7]       =cb_38
lul_button	= Handle( this)
for i=1 to UpperBound ( lul_uo)
	parent.SetParent( Handle(lcb_uo[i]),Handle(this) )
	if i=1 then
		lcb_uo[i].x = 0//(cb_3.Width - cb_4.width ) / 2
		lcb_uo[i].y = 0//(cb_3.Height - cb_4.Height) / 2
	else
		lcb_uo[i].x = 0//(cb_3.Width - cb_4.width ) / 2
		lcb_uo[i].y = lcb_uo[i -1].y+lcb_uo[i -1].height -5//(cb_3.Height - cb_4.Height) / 2
	end if
	lcb_uo[i].setposition( totop!)
next
end event

type cb_3 from uo_xpbutton within w_youhuadashi
integer width = 82
integer height = 76
integer taborder = 30
boolean bringtotop = true
string text = ""
boolean chimb = true
string normalpicname = "windowstitle.ico"
string movepicname = "windowstitle.ico"
long bordercolor = 9198848
long bordercolorover = 16767884
long backcolor = 13009408
long backcolorover = 255
long backcoloricon = 9198848
long backcoloriconover = 16711680
long backcoloricondown = 9198848
end type

type cb_1 from uo_xpbutton within w_youhuadashi
integer x = 2885
integer width = 78
integer height = 76
integer taborder = 50
boolean bringtotop = true
integer textsize = -12
string text = "-"
boolean chimb = true
alignment captionalign = center!
boolean iconok = false
integer iconsizewidth = 14
integer iconsizeheight = 14
long bordercolor = 9198848
long bordercolorover = 16767884
long backcolor = 9198848
long backcolorover = 16711680
long backcoloricon = 9198848
long backcoloriconover = 16711680
long backcoloricondown = 9198848
long fontcolor = 65535
long fontcolorover = 65535
long fontcolordown = 65535
end type

event clicked;call super::clicked;parent.windowstate=minimized!
end event

type gb_1 from groupbox within w_youhuadashi
integer x = 1097
integer y = 1536
integer width = 1317
integer height = 416
integer taborder = 190
integer textsize = -10
integer weight = 400
fontcharset fontcharset = ansi!
fontpitch fontpitch = variable!
fontfamily fontfamily = swiss!
string facename = "Arial"
long textcolor = 33554432
long backcolor = 67108864
borderstyle borderstyle = styleraised!
end type

event constructor;this.backcolor=rgb(222,223,222)
end event

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -