📄 create_network.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="Network_Create_Network, App_Web_ne2ojjc7" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
<script type="text/javascript" >
function c_click()
{
if(document.getElementById('Checkbox1').checked==true)
{
tr1.style .display ='block';
tr2.style .display ='block';
}
else
{
tr1.style .display ='none';
tr2.style .display ='none';
document.getElementById('password1').value='';
document.getElementById('password2').value='';
}
}
</script>
</head>
<body style=" margin : 0px;background-color:transparent ; width : 100% ; height : 100%">
<form id="form1" runat="server" style=" width : 100% ; height : 100%">
<table border="0" cellpadding="0" cellspacing="0" id="table1" visible="true" runat="server" style="width : 100% ; height : 100%">
<tr style=" height : 1px">
<td style="text-align : right">
局域网名:
</td>
<td id="td1" style=" text-align :left">
<asp:TextBox ID="Network_name" runat="server" MaxLength="200"></asp:TextBox><br />
<asp:Label ID="Label2" runat="server" Text="局域网名不能为空" style="color: #ff0066" Visible="False"></asp:Label>
</td>
</tr>
<tr style=" height : 1px">
<td style="text-align : right">
</td>
<td style=" text-align :left">
<asp:CheckBox ID="CheckBox1" runat="server" Text="给局域网加密" onclick ="c_click();"/>
</td>
</tr>
<tr id="tr1" style=" display : none ; height : 1px" runat="server">
<td style=" text-align : right">
密码:
</td>
<td style=" text-align :left">
<asp:TextBox ID="password1" runat="server" TextMode="Password" MaxLength="17"></asp:TextBox>
</td>
</tr>
<tr id="tr2" style=" display : none ; height : 1px" runat="server">
<td style="text-align : right">
确认密码:
</td>
<td id="td2" style=" text-align :left">
<asp:TextBox ID="password2" runat="server" TextMode="Password" MaxLength="17"></asp:TextBox><br />
<asp:Label ID="Label3" runat="server" Text="确认密码必须与密码相同" style="color: #ff0066" Visible="false"></asp:Label>
</td>
</tr>
<tr><td></td><td></td></tr>
<tr style="background-color:#f0f0f0 ; height : 30px">
<td>
</td>
<td style="text-align : right ">
<asp:Button ID="Button1" runat="server" Text="确认" OnClick="Button1_Click" />
<input id="Button2" type="button" value="取消" onclick="window.parent.yingyong_close();"/>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" id="table2" runat="server" visible ="false" style=" width : 100%; height : 100%">
<tr>
<td style="text-align : left ; vertical-align : top">网络已被创建,网络号为:<asp:Label ID="Label1" runat="server" Text="Label" style="color: #000099"></asp:Label><br />其它用户可以根据此网络号,加入网络</td>
</tr>
<tr style="background-color:#f0f0f0 ; height : 30px">
<td style="text-align:right"><input id="Button3" type="button" value="关闭" onclick="window.parent.Refresh();window.parent.yingyong_close();"/></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -