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

📄 webform1.aspx

📁 C#2005 实例源代码
💻 ASPX
字号:
<%@ Page language="c#" Inherits="PanelTest.WebForm1" CodeFile="WebForm1.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>WebForm1</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<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>
		<form id="Form1" method="post" runat="server">
			<asp:Panel id="Panel1" style="Z-INDEX: 101; LEFT: 120px; POSITION: absolute; TOP: 56px" runat="server"
				Width="168px" Height="120px" BorderWidth="1px" BorderColor="Black" HorizontalAlign="Center">
				<P><FONT face="宋体">Panel</FONT></P>
			</asp:Panel><FONT face="宋体"></FONT><FONT face="宋体"></FONT>
			<asp:ListBox id="ListBox1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 56px" runat="server"
				Width="88px" Height="120px" AutoPostBack="True" Rows="2" SelectionMode="Multiple" onselectedindexchanged="ListBox1_SelectedIndexChanged">
				<asp:ListItem Value="篮球">篮球</asp:ListItem>
				<asp:ListItem Value="足球">足球</asp:ListItem>
				<asp:ListItem Value="游泳">游泳</asp:ListItem>
				<asp:ListItem Value="旅游">旅游</asp:ListItem>
				<asp:ListItem Value="阅读">阅读</asp:ListItem>
				<asp:ListItem Value="电影">电影</asp:ListItem>
			</asp:ListBox>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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