WebForm1.aspx
上传用户:lxycoco
上传日期:2022-07-21
资源大小:38457k
文件大小:2k
源码类别:

C#编程

开发平台:

Others

  1. <%@ Register TagPrefix="PCS" TagName="UserC1" Src="PCSUserC1.ascx" %>
  2. <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="PCSUserCWebApp1.WebForm1" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5.   <HEAD>
  6.     <title>WebForm1</title>
  7.     <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  8.     <meta name="CODE_LANGUAGE" Content="C#">
  9.     <meta name="vs_defaultClientScript" content="JavaScript">
  10.     <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  11.   </HEAD>
  12.   <body MS_POSITIONING="GridLayout">
  13.     <form id="Form1" method="post" runat="server">
  14.       <PCS:UserC1 Runat="server" ID="myUserControl" />
  15.       <asp:RadioButtonList Runat="server" ID="suitList" AutoPostBack="True">
  16.         <asp:ListItem Value="club" Selected="True">Club</asp:ListItem>
  17.         <asp:ListItem Value="diamond">Diamond</asp:ListItem>
  18.         <asp:ListItem Value="heart">Heart</asp:ListItem>
  19.         <asp:ListItem Value="spade">Spade</asp:ListItem>
  20.       </asp:RadioButtonList>
  21.       <asp:ImageButton Runat="server" ID="clubButton" ImageUrl="CLUB.BMP" OnClick="clubButton_Click" />
  22.       <asp:ImageButton Runat="server" ID="diamondButton" ImageUrl="DIAMOND.BMP" OnClick="diamondButton_Click" />
  23.       <asp:ImageButton Runat="server" ID="heartButton" ImageUrl="HEART.BMP" OnClick="heartButton_Click" />
  24.       <asp:ImageButton Runat="server" ID="spadeButton" ImageUrl="SPADE.BMP" OnClick="spadeButton_Click" />
  25.     </form>
  26.   </body>
  27. </HTML>