<%@ 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: xx-large;
            font-family: 华文新魏;
            font-weight: bold;
            color: #993366;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table align="center" style="width: 460px;">
            <tr>
                <td align="center" class="style1">
                    动态绘制矩形基本图形</td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text=" 图形背景 " />
&nbsp;&nbsp;
                    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
                        Text=" 直  线  " />
&nbsp;&nbsp;
                    <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text=" 正方形  " />
&nbsp;&nbsp;
                    <asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text=" 多边形 " />
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Image ID="Image1" runat="server" Height="240px" Visible="False" 
                        Width="450px" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
