applypanel.aspx
来自「asp.net专家200问(含源代码解决法案」· ASPX 代码 · 共 46 行
ASPX
46 行
<%@ Page language="c#" Codebehind="ApplyPanel.aspx.cs" AutoEventWireup="false" Inherits="ApplyPanel.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body ms_positioning="GridLayout">
<h3>
<asp:Label id="Label1" runat="server" Font-Bold="True" style="Z-INDEX: 101; LEFT: 352px; POSITION: absolute; TOP: 24px">Panel Example</asp:Label></h3>
<form runat="server">
<FONT face="宋体"></FONT>
<asp:Panel id="Panel1" runat="server" BackColor="gainsboro" Height="200px" Width="300px" style="Z-INDEX: 102; LEFT: 264px; POSITION: absolute; TOP: 64px">
<FONT style="BACKGROUND-COLOR: #ffffff" face="宋体"></FONT>
</asp:Panel>
<P>
<br>
<br>
<br>
</P>
<asp:Label id="Label2" runat="server" style="Z-INDEX: 103; LEFT: 264px; POSITION: absolute; TOP: 280px">Generate Labels: </asp:Label>
<asp:DropDownList id="DropDown1" runat="server" style="Z-INDEX: 104; LEFT: 376px; POSITION: absolute; TOP: 280px">
<asp:ListItem Value="0">0</asp:ListItem>
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
</asp:DropDownList>
<asp:Label id="Label3" runat="server" style="Z-INDEX: 105; LEFT: 264px; POSITION: absolute; TOP: 304px">Generate TextBoxes: </asp:Label>
<asp:DropDownList id="DropDown2" runat="server" style="Z-INDEX: 106; LEFT: 400px; POSITION: absolute; TOP: 304px">
<asp:ListItem Value="0">0</asp:ListItem>
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
</asp:DropDownList>
<asp:CheckBox id="Check1" Text="Hide Panel" runat="server" style="Z-INDEX: 107; LEFT: 264px; POSITION: absolute; TOP: 328px" />
<asp:Button Text="Refresh Panel" runat="server" id="Button1" style="Z-INDEX: 108; LEFT: 264px; POSITION: absolute; TOP: 360px" />
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?