<?xml version="1.0" encoding="UTF-8"?>
<Window size="550,560" caption="0,0,0,-40" defaultfontcolor="0XFF5E5E5E" disabledfontcolor="0XFF9E9E9E">
	<Font id="IDF_14" name="微软雅黑" size="14"/>
	<Font id="IDF_16" name="微软雅黑" size="16"/>
	<Font id="IDF_18" name="微软雅黑" size="18"/>
	<Font id="IDF_36" name="微软雅黑" size="36"/>
	<Default name="Label" value="textcolor=&quot;0XFF5E5E5E&quot; disabledtextcolor=&quot;0XFF9E9E9E&quot; align=&quot;left&quot;"/>
	<Default name="VScrollBar" value="width=&quot;10&quot; showbutton1=&quot;false&quot; showbutton2=&quot;false&quot; bknormalimage=&quot;file='xfw/xfwskin/ShareWnd/srollbk.png' &quot; thumbnormalimage=&quot;file='ep/mainskin/scroll_bar_v_big.png' src='0,0,10,20' grid=';4,*,4'&quot; thumbhotimage=&quot;file='ep/mainskin/scroll_bar_v_big.png' src='10,0,20,20' grid=';4,*,4'&quot; thumbpushedimage=&quot;file='ep/mainskin/scroll_bar_v_big.png' src='10,0,20,20' grid=';4,*,4'&quot;"/>
	<Default name="HScrollBar" value="height=&quot;10&quot; showbutton1=&quot;false&quot; showbutton2=&quot;false&quot; thumbnormalimage=&quot;file='ep/mainskin/scroll_bar_h_big.png' src='0,0,20,10' grid='4,*,4'&quot; thumbhotimage=&quot;file='ep/mainskin/scroll_bar_h_big.png' src='0,10,20,20' grid='4,*,4'&quot; thumbpushedimage=&quot;file='ep/mainskin/scroll_bar_h_big.png' src='0,10,20,20' grid='4,*,4'&quot;"/>
	<Default name="ListHeader" value="bkcolor=&quot;0XFFEBEBEB&quot; height=&quot;25&quot;"/>
	<Default name="ListHeaderItem" value="height=&quot;25&quot; dragable=&quot;false&quot; textcolor=&quot;0XFF5E5E5E&quot; sepcolor=&quot;0XFFDDDDDD&quot; sepwidth=&quot;1&quot;"/>
	<Default name="List"  value="vscrollbar=&quot;true&quot; hscrollbar=&quot;false&quot; bkcolor=&quot;0XFFFFFFFF&quot; bordersize=&quot;1&quot; bordercolor=&quot;0XFFDDDDDD&quot; inset=&quot;1,1,1,1&quot; itemtextcolor=&quot;0XFF858585&quot; itemhotbkcolor=&quot;0XFFF7F3FB&quot; itemselectedbkcolor=&quot;0XFFECE5F3&quot; itemselectedhotbkcolor=&quot;0XFFECE5F3&quot; itemtextpadding=&quot;5,0,5,0&quot; itemsize=&quot;0,25&quot; itemlinecolor=&quot;0XFFDDDDDD&quot; itemcollinecolor=&quot;0XFFDDDDDD&quot;"/>
	<Default name="CheckBox" value="height=&quot;18&quot; textpadding=&quot;28,0,0,0&quot; textcolor=&quot;0XFF5E5E5E&quot; disabledtextcolor=&quot;0XFF5E5E5E&quot; autosize=&quot;true&quot; normalimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='0,0,18,18'&quot; hotimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='18,0,36,18'&quot; pushedimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='36,0,54,18'&quot; disabledimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='54,0,72,18'&quot; selectedimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='0,18,18,36'&quot; selectedhotimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='18,18,36,36'&quot; selectedpushedimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='36,18,54,36'&quot; selecteddisabledimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='54,18,72,36'&quot; undefinedimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='0,36,18,54'&quot; undefinedhotimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='18,36,36,54'&quot; undefinedpushedimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='36,36,54,54'&quot; undefineddisabledimage=&quot;file='ep/mainskin/CheckBox.png' dst='0,0,18,18' src='54,36,72,54'&quot;"/>
	<Default name="Option" value="align=&quot;left&quot; height=&quot;18&quot; textpadding=&quot;28,0,0,0&quot; textcolor=&quot;0XFF5E5E5E&quot; disabledtextcolor=&quot;0XFF5E5E5E&quot; autosize=&quot;true&quot; normalimage=&quot;file='ep/mainskin/Option.png' dst='0,0,18,18' src='0,0,18,18'&quot; hotimage=&quot;file='ep/mainskin/Option.png' dst='0,0,18,18' src='18,0,36,18'&quot; pushedimage=&quot;file='ep/mainskin/Option.png' dst='0,0,18,18' src='36,0,54,18'&quot; disabledimage=&quot;file='ep/mainskin/Option.png' dst='0,0,18,18' src='54,0,72,18'&quot; selectedimage=&quot;file='ep/mainskin/Option.png' dst='0,0,18,18' src='0,18,18,36'&quot; selectedhotimage=&quot;file='ep/mainskin/Option.png' dst='0,0,18,18' src='18,18,36,36'&quot; selectedpushedimage=&quot;file='ep/mainskin/Option.png' dst='0,0,18,18' src='36,18,54,36'&quot; selecteddisabledimage=&quot;file='ep/mainskin/Option.png' dst='0,0,18,18' src='54,18,72,36'&quot;"/>
	<Default name="ComboBox" value="height=&quot;24&quot; readonly=&quot;true&quot; textpadding=&quot;7,0,3,0&quot; normalimage=&quot;file='ep/mainskin/setwnd/mainset/combox_btn.png' src='0,0,45,24' grid='5,*,30'&quot; hotimage=&quot;file='ep/mainskin/setwnd/mainset/combox_btn.png' src='0,24,45,48' grid='5,*,30'&quot; pushedimage=&quot;file='ep/mainskin/setwnd/mainset/combox_btn.png' src='0,48,45,72' grid='5,*,30'&quot; dropboxdefault=&quot;false&quot; dropboxpoint=&quot;0,-3&quot; dropbox=&quot;bordersize=&quot;0&quot; itemaltbk=&quot;false&quot; itemlinecolor=&quot;0&quot; itembkcolor=&quot;0&quot; bkimage=&quot;file='ep/mainskin/setwnd/mainset/combox_drop.png' grid='3,*,3;3,*,3'&quot; inset=&quot;4,4,4,4&quot; itemhotbkcolor=&quot;0XFF7B599D&quot; itemselectedbkcolor=&quot;0X00000000&quot; itemselectedhotbkcolor=&quot;0XFF7B599D&quot; itemhotimage=&quot; &quot; itemselectedimage=&quot; &quot; itemtextcolor=&quot;0XFF5E5E5E&quot; itemhottextcolor=&quot;0XFFFFFFFF&quot; itemselectedtextcolor=&quot;0XFF5E5E5E&quot; itemselectedhottextcolor=&quot;0XFFFFFFFF&quot; itemtextpadding=&quot;3,0,3,0&quot;&quot;"/>
		<VerticalLayout height="350" inset="5,3,5,3" bkimage="file='ep/mainskin/MsgBox/bk.png' grid='10,*,10;50,*,70'">
			<HorizontalLayout height="36">
			<Label name="title" text="新增自定义IP规则" padding="11,0,0,0" height="36" align="left" textcolor="0XFFFFFFFF" font="IDF_14"/>
			<Button name="btn_close" width="36" height="36" normalimage="file='ep/mainskin/sysclose_btn.png' src='0,0,36,36'" hotimage="file='ep/mainskin/sysclose_btn.png' src='36,0,72,36'" pushedimage="file='ep/mainskin/sysclose_btn.png' src='72,0,108,36'"/>
			</HorizontalLayout>
			<HorizontalLayout height="25" padding="30,30,30,11">
					<Label text="规则名称：" width="80" padding="0,3,0,0" autosize="true"/>
					<RichEdit name="rulename" rich="false" multiline="false" inset="4,3,4,3" normalimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,0,15,24' grid='3,*,3'" hotimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,24,15,48' grid='3,*,3'" disabledimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,48,15,72' grid='3,*,3'"/>
			</HorizontalLayout>
			<HorizontalLayout height="25" padding="110,0,0,11">
					<CheckBox name="tipuser" padding="0,5,0,0" width="150" text="阻止访问时通知用户"/>
					<CheckBox name="can_internet" padding="0,5,0,0" text="允许联网"/>
			</HorizontalLayout>
			<HorizontalLayout height="25" padding="30,0,0,11" name="line_direct">
					<Label text="方向：" width="80" padding="0,3,0,0"/>
					<Option name="opt_input"  text="入站" group="direction" width="150"/>
					<Option name="opt_output" text="出站" group="direction" width="150"/>
					<Option name="opt_allput" text="双向" group="direction" width="150"/>
			</HorizontalLayout>				
				<HorizontalLayout height="25" name="line_localip" padding="30,0,30,11">
					<Label text="本地IP地址：" width="80" padding="0,5,0,0"/>
					<ComboBox name="iptype" width="100">
						<ComboItem height="20" text="单个IP" selected="true"/>
						<ComboItem height="20" text="IP段"/>
			  	</ComboBox>
					<RichEdit name="ip1" rich="false" padding="10,0,0,0" multiline="false" inset="4,3,4,3" normalimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,0,15,24' grid='3,*,3'" hotimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,24,15,48' grid='3,*,3'" disabledimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,48,15,72' grid='3,*,3'"/>
					<Label name="ip_to" autosize="true" text=" - " padding="2,3,2,0"/>
					<RichEdit name="ip2" rich="false" multiline="false" inset="4,3,4,3" normalimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,0,15,24' grid='3,*,3'" hotimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,24,15,48' grid='3,*,3'" disabledimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,48,15,72' grid='3,*,3'"/>
				</HorizontalLayout>
				<HorizontalLayout height="25" name="line_remotip" padding="30,0,30,11">
					<Label text="远程IP地址：" width="80" padding="0,5,0,0"/>
					<ComboBox name="iptype" width="100">
						<ComboItem height="20" text="单个IP" selected="true"/>
						<ComboItem height="20" text="IP段"/>
			  	</ComboBox>
					<RichEdit name="ip1" rich="false" padding="10,0,0,0" multiline="false" inset="4,3,4,3" normalimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,0,15,24' grid='3,*,3'" hotimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,24,15,48' grid='3,*,3'" disabledimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,48,15,72' grid='3,*,3'"/>
					<Label name="ip_to" autosize="true" text=" - " padding="2,3,2,0"/>
					<RichEdit name="ip2" rich="false" multiline="false" inset="4,3,4,3" normalimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,0,15,24' grid='3,*,3'" hotimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,24,15,48' grid='3,*,3'" disabledimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,48,15,72' grid='3,*,3'"/>
				</HorizontalLayout>
				<HorizontalLayout height="25" name="line_protocol" padding="30,0,0,11">
					<Label width="80" text="协议类型号：" padding="0,5,0,0"/>
					<Option name="opt_protocol_icmp" group="protocol" padding="0,5,0,0" width="150" textpadding="20,0,0,0" text="ICMP" group="1"/>
					<Option name="opt_protocol_tcp"  group="protocol" padding="0,5,0,0" width="150" textpadding="20,0,0,0" text="TCP"  group="1"/>
					<Option name="opt_protocol_udp"  group="protocol" padding="0,5,0,0" width="150" textpadding="20,0,0,0" text="UDP" group="1"/>					
				</HorizontalLayout>
				<VerticalLayout name="tcpudp_body" visible="false" padding="30,0,30,11"> 
					<Label padding="0,0,0,11" text="本地端口列表(支持多组端口/端口范围,输入时用逗号隔开(例:25,35-56,63),最多5组): "/>
					<RichEdit padding="0,0,0,11" name="local_tcpudp_port" rich="false" height="25" multiline="false" inset="4,3,4,3" normalimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,0,15,24' grid='3,*,3'" hotimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,24,15,48' grid='3,*,3'" disabledimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,48,15,72' grid='3,*,3'"/>
					<Label  padding="0,0,0,11" text="远程端口列表(支持多组端口/端口范围,输入时用逗号隔开(例:25,35-56,63),最多5组): "/>
					<RichEdit name="remot_tcpudp_port" rich="false" height="25" multiline="false" inset="4,3,4,3" normalimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,0,15,24' grid='3,*,3'" hotimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,24,15,48' grid='3,*,3'" disabledimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,48,15,72' grid='3,*,3'"/>
				</VerticalLayout>
				<VerticalLayout name="icmp_body" visible="true">
					<HorizontalLayout height="25" name="line_icmp_type" padding="30,0,0,11" visible="true">
						<Label width="80" text="ICMP类型：" padding="0,5,0,0"/>
						<Option name="icmp_any" selected="true"    width="150" padding="0,5,0,0" textpadding="20,0,0,0" text="任意类型" group="3"/>
						<Option name="icmp_combo"  width="150" padding="0,5,0,0" textpadding="20,0,0,0" text="类型组合" group="3"/>
						<Option name="icmp_select" width="150" padding="0,5,0,0" textpadding="20,0,0,0" text="指定类型" group="3"/>					
					</HorizontalLayout>	
					<VerticalLayout name="icmp_combo_body" padding="30,0,0,11" visible="false">    
						<HorizontalLayout height="25" padding="0,0,0,11">
							<Label autosize="true" text="指定类型：" />
							<Label autosize="true" text="（请选择需要组合的类型，最多选择5个）" textcolor="0xffa8a8a8" />
						</HorizontalLayout>						
							<!--checkbox-->
						<HorizontalLayout height="25" padding="0,0,0,11">
							<CheckBox name="icmp_flags_0"  textpadding="20,0,0,0" align="left" width="95" text="回显应答"/>
							<CheckBox name="icmp_flags_3"  textpadding="20,0,0,0" align="left" width="95" text="目的不可达"/>
							<CheckBox name="icmp_flags_4"  textpadding="20,0,0,0" align="left" width="100" text="源端口被关闭"/>
							<CheckBox name="icmp_flags_5"  textpadding="20,0,0,0" align="left" width="100" text="重定向"/>
							<CheckBox name="icmp_flags_8"  textpadding="20,0,0,0" align="left" width="100" text="请求回显"/>
						</HorizontalLayout>				
						<HorizontalLayout height="25" padding="0,0,0,11">					
							<CheckBox name="icmp_flags_9"  textpadding="20,0,0,0" align="left" width="95" text="路由器通告"/>
							<CheckBox name="icmp_flags_10" textpadding="20,0,0,0" align="left" width="95" text="路由器请求"/>
							<CheckBox name="icmp_flags_11" textpadding="20,0,0,0" align="left" width="100" text="超时"/>
							<CheckBox name="icmp_flags_12" textpadding="20,0,0,0" align="left" width="100" text="参数问题"/>
							<CheckBox name="icmp_flags_13" textpadding="20,0,0,0" align="left" width="100" text="时间戳请求"/>
						</HorizontalLayout>
						<HorizontalLayout height="25" padding="0,0,0,11">					
							<CheckBox name="icmp_flags_14" textpadding="20,0,0,0" align="left" width="95" text="时间戳应答"/>
							<CheckBox name="icmp_flags_15" textpadding="20,0,0,0" align="left" width="95" text="信息请求"/>
							<CheckBox name="icmp_flags_16" textpadding="20,0,0,0" align="left" width="100" text="信息应答"/>
							<CheckBox name="icmp_flags_17" textpadding="20,0,0,0" align="left" width="100" text="地址掩码请求"/>
							<CheckBox name="icmp_flags_18" textpadding="20,0,0,0" align="left" width="100" text="地址掩码应答"/>
						</HorizontalLayout>
					</VerticalLayout>
					<VerticalLayout name="icmp_select_body" visible="false" padding="30,0,0,11">
						<VerticalLayout height="25" padding="0,0,0,11">
							<Label autosize="true" text="指定类型："/>
						</VerticalLayout>						
						<HorizontalLayout height="25" padding="0,0,0,11">
							<Option name="icmp_flags_0" textpadding="20,0,0,0" group="seletflag"  align="left" width="95" text="回显应答" />
							<Option name="icmp_flags_3" textpadding="20,0,0,0" group="seletflag" align="left" width="95" text="目的不可达"/>
							<Option name="icmp_flags_4" textpadding="20,0,0,0" group="seletflag" align="left" width="100" text="源端口被关闭"/>
							<Option name="icmp_flags_5" textpadding="20,0,0,0" group="seletflag" align="left" width="100" text="重定向"/>
							<Option name="icmp_flags_8" textpadding="20,0,0,0" group="seletflag" align="left" width="100" text="请求回显"/>
						</HorizontalLayout>				
						<HorizontalLayout height="25" padding="0,0,0,11">					
							<Option name="icmp_flags_9"  textpadding="20,0,0,0" group="seletflag" align="left" width="95" text="路由器通告"/>
							<Option name="icmp_flags_10" textpadding="20,0,0,0" group="seletflag" align="left" width="95" text="路由器请求"/>
							<Option name="icmp_flags_11" textpadding="20,0,0,0" group="seletflag" align="left" width="100" text="超时"/>
							<Option name="icmp_flags_12" textpadding="20,0,0,0" group="seletflag" align="left" width="100" text="参数问题"/>
							<Option name="icmp_flags_13" textpadding="20,0,0,0" group="seletflag" align="left" width="100" text="时间戳请求"/>
						</HorizontalLayout>
						<HorizontalLayout height="25" padding="0,0,0,11">					
							<Option name="icmp_flags_14" textpadding="20,0,0,0" group="seletflag" align="left" width="95" text="时间戳应答"/>
							<Option name="icmp_flags_15" textpadding="20,0,0,0" group="seletflag" align="left" width="95" text="信息请求"/>
							<Option name="icmp_flags_16" textpadding="20,0,0,0" group="seletflag" align="left" width="100" text="信息应答"/>
							<Option name="icmp_flags_17" textpadding="20,0,0,0" group="seletflag" align="left" width="100" text="地址掩码请求"/>
							<Option name="icmp_flags_18" textpadding="20,0,0,0" group="seletflag" align="left" width="100" text="地址掩码应答"/>
						</HorizontalLayout>
						<HorizontalLayout name="line_icmp_code" height="25">
						<Label autosize="true" text="ICMP代码：" padding="0,5,0,11" width="95"/>
						<Option name="icmp_any_code" selected="true" padding="0,5,0,0" width="95" textpadding="20,0,0,0" text="任意代码" group="2"/>
						<Option name="icmp_set_code" padding="0,5,0,0" width="100" textpadding="20,0,0,0" text="指定代码" group="2"/>
						<Label name="icmp_set_code_key" visible="false" width="100" padding="0,5,0,0"text="输入代码："/>
						<RichEdit name="icmp_set_code_val" visible="false" rich="false" width="100" multiline="false" inset="4,3,4,3" normalimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,0,15,24' grid='3,*,3'" hotimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,24,15,48' grid='3,*,3'" disabledimage="file='ep/mainskin/setwnd/mainset/edit.png' src='0,48,15,72' grid='3,*,3'"/>
						</HorizontalLayout>			
					</VerticalLayout>					
				</VerticalLayout>				
			<HorizontalLayout height="50" inset="0,5,20,0">
			<Label name="err_tip" padding="20,6,0,7" width="150" height="25" textcolor ="0XFFF47838" endellipsis="true" text=""/>	
			<Control/>
			<Button name="btn_ok" width="108" height="38" normalimage="file='ep/mainskin/MsgBox/ok.png' src='0,0,108,38'" hotimage="file='ep/mainskin/MsgBox/ok.png' src='108,0,216,38'" pushedimage="file='ep/mainskin/MsgBox/ok.png' src='216,0,324,38'"/>
			<Button name="btn_cancel" width="108" height="38" padding="12,0,0,0" normalimage="file='ep/mainskin/MsgBox/cancel.png' src='0,0,108,38'" hotimage="file='ep/mainskin/MsgBox/cancel.png' src='108,0,216,38'" pushedimage="file='ep/mainskin/MsgBox/cancel.png' src='216,0,324,38'"/>
		</HorizontalLayout>
		</VerticalLayout>
</Window>