<%@ 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: 华文细黑;
            font-weight: bold;
            color: #FF0000;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table align="center" style="width: 430px;">
            <tr>
                <td align="center" class="style1">
                    动态绘制阴影矩形和随机直线杂点</td>
            </tr>
            <tr>
                <td align="center"> 
                    <asp:Button ID="Button1" runat="server" Text="   阴影矩形    " 
                        onclick="Button1_Click" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button2" runat="server" Text="随机直线杂点" onclick="Button2_Click" />
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Image ID="Image1" runat="server" Height="240px" Visible="False" 
                        Width="400px" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
