<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>动态绘制汉字、字母和数字验证码</title>
    <style type="text/css">
        .style1
        {
            font-size: x-large;
            font-family: 华文行楷;
            color: #FF6600;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table align="center" style="width: 400px;">
            <tr>
                <td align="center" class="style1"> 
                    动态绘制汉字、字母和数字验证码</td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                        Text="  随机汉字  " />
&nbsp;
                    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
                        Text="  随机字母  " />
&nbsp;
                    <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
                        Text="  随机数字 " />
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Image ID="Image1" runat="server" Height="80px" Visible="False" 
                        Width="300px" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
