<%@ 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>调用Web服务实现计算器功能</title>
    <style type="text/css">
        .style1
        {
            font-family: 华文新魏;
            font-size: x-large;
            color: #008000;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center">
        <table style="width: 450px; text-align: center">
            <tr>
                <td class="style1" >
                  调用Web Service实现简单计算器</td>
            </tr>
            <tr>
               <td >
                   <br />
                   <table style=" width: 53px; ">
                       <tr>
                           <td colspan="4" style="text-align: center">
                               <asp:TextBox ID="TextBox1" runat="server" Width="125px"></asp:TextBox>
                           </td>
                       </tr>
                       <tr>
                           <td style="text-align: center">
                               <asp:Button ID="Button1" runat="server" Font-Size="9pt" OnClick="Button1_Click" 
                                   Text="1" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button2" runat="server" Font-Size="9pt" OnClick="Button2_Click" 
                                   Text="2" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button3" runat="server" Font-Size="9pt" OnClick="Button3_Click" 
                                   Text="3" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button13" runat="server" Font-Size="9pt" 
                                   OnClick="Button13_Click" Text="AC" Width="28px" />
                           </td>
                       </tr>
                       <tr>
                           <td style="text-align: center">
                               <asp:Button ID="Button4" runat="server" Font-Size="9pt" OnClick="Button4_Click" 
                                   Text="4" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button5" runat="server" Font-Size="9pt" OnClick="Button5_Click" 
                                   Text="5" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button6" runat="server" Font-Size="9pt" OnClick="Button6_Click" 
                                   Text="6" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button14" runat="server" Font-Size="9pt" 
                                   OnClick="Button14_Click" Text="*" Width="28px" />
                           </td>
                       </tr>
                       <tr>
                           <td style="text-align: center">
                               <asp:Button ID="Button7" runat="server" Font-Size="9pt" OnClick="Button7_Click" 
                                   Text="7" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button8" runat="server" Font-Size="9pt" OnClick="Button8_Click" 
                                   Text="8" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button9" runat="server" Font-Size="9pt" OnClick="Button9_Click" 
                                   Text="9" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button15" runat="server" Font-Size="9pt" 
                                   OnClick="Button15_Click" Text="/" Width="28px" />
                           </td>
                       </tr>
                       <tr>
                           <td style="text-align: center">
                               <asp:Button ID="Button10" runat="server" Font-Size="9pt" 
                                   OnClick="Button10_Click" Text="0" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button11" runat="server" Font-Size="9pt" 
                                   OnClick="Button11_Click" Text="+" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button12" runat="server" Font-Size="9pt" 
                                   OnClick="Button12_Click" Text="-" Width="28px" />
                           </td>
                           <td style="text-align: center">
                               <asp:Button ID="Button16" runat="server" Font-Size="9pt" 
                                   OnClick="Button16_Click" Text="=" Width="28px" />
                           </td>
                       </tr>
                   </table>
                </td>
            </tr>
        </table>
    </div>
    <div>
    
    </div>
    </form>
</body>
</html>
