⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default.aspx

📁 这是asp.net^和Visual C++Sharp编写的串并口通讯的书籍 源代码
💻 ASPX
字号:
<%@ 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>
</head>
<body>
    <form id="form1" runat="server">
<div>
        <div style="text-align: center">
            <div style="text-align: center">
        <table align="center" background="bg.jpg" border="0"
            cellpadding="0" cellspacing="0" height="428" width="606">
            <tr>
                <td>
                    <table align="center" border="0" cellpadding="0" cellspacing="0" height="303" width="574">
                        <tr>
                            <td height="303" width="328">
                                <table align="center" border="0" cellpadding="0" cellspacing="0" height="304" width="305">
                                    <tr>
                                        <td height="27" width="65">
                                            <div align="right">
                                                <span style="font-size: 9pt">优先级:</span></div>
                                        </td>
                                        <td style="width: 240px; text-align: left">
                                            &nbsp;<asp:TextBox ID="txtpriority" runat="server" style="border-right: #000000 1px solid; border-top: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid" Height="15px" Width="150px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td height="28">
                                            <div align="right">
                                                <span style="font-size: 9pt">
                                                发送人:</span></div>
                                        </td>
                                        <td style="width: 240px; text-align: left">
                                            &nbsp;<asp:TextBox ID="txtSendMail" runat="server" style="border-right: #000000 1px solid; border-top: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid" Height="15px" Width="150px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td height="27">
                                            <div align="right">
                                                <span style="font-size: 9pt">主题:</span></div>
                                        </td>
                                        <td style="width: 240px; text-align: left">
                                            &nbsp;<asp:TextBox ID="txtSubject" runat="server" style="border-right: #000000 1px solid; border-top: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid" Height="15px" Width="150px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td height="192">
                                            <div align="right">
                                                <span style="font-size: 9pt">内容:</span></div>
                                        </td>
                                        <td style="width: 240px">
                                            &nbsp;<asp:TextBox ID="txtBody" runat="server" Height="172px" TextMode="MultiLine" Width="231px" style="border-right: #000000 1px solid; border-top: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td height="30">
                                            <div align="right">
                                                <span style="font-size: 9pt">大小:</span></div>
                                        </td>
                                        <td style="width: 240px; text-align: left">
                                            &nbsp;<asp:TextBox ID="txtSize" runat="server" style="border-right: #000000 1px solid; border-top: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid" Height="15px" Width="150px"></asp:TextBox></td>
                                    </tr>
                                </table>
                            </td>
                            <td valign="top" width="246">
                                <table align="center" border="0" cellpadding="0" cellspacing="0" height="171" width="230">
                                    <tr>
                                        <td width="69">
                                            <div align="right">
                                                <span style="font-size: 9pt">用户名:</span></div>
                                        </td>
                                        <td width="173" style="text-align: left">
                                        <asp:TextBox ID="TxtPopUser" runat="server" style="border-right: #000000 1px solid; border-top: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid" Height="15px" Width="150px"></asp:TextBox>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div align="right">
                                                <span style="font-size: 9pt">密 &nbsp; 码:</span></div>
                                        </td>
                                        <td style="text-align: left">
                                        <asp:TextBox ID="TxtPopPwd"  TextMode="Password" runat="server" style="border-right: #000000 1px solid; border-top: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid" Height="15px" Width="150px"></asp:TextBox>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div align="right">
                                                <span style="font-size: 9pt">服务器:</span></div>
                                        </td>
                                        <td style="text-align: left">
                                        <asp:TextBox ID="TxtPopServer" runat="server" style="border-right: #000000 1px solid; border-top: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid" Height="15px" Width="150px"></asp:TextBox>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div align="right">
                                                <span style="font-size: 9pt">端 &nbsp; 口:</span></div>
                                        </td>
                                        <td style="text-align: left">
                                        <asp:TextBox ID="TxtPopPort" runat="server" style="border-right: #000000 1px solid; border-top: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid" Height="15px" Width="150px"></asp:TextBox>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div align="right">
                                                <span style="font-size: 9pt">
                                                邮件编号:</span></div>
                                        </td>
                                        <td style="text-align: left">
                                        <asp:TextBox ID="TextBox1" runat="server" Width="150px" style="border-right: #000000 1px solid; border-top: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid" Height="15px"></asp:TextBox>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="连接邮箱" />
                                            &nbsp;<asp:Button
                                            ID="Button1" runat="server" OnClick="Button1_Click" Text="读取邮件" Enabled="False" />
                                            <asp:Button ID="Button3" runat="server" Enabled="False" OnClick="Button3_Click" Text="退出" /></td>
                                    </tr>
                                </table>
                                <p>
                                    <asp:Label ID="Label1" runat="server" Font-Size="10pt" Text="Label"></asp:Label>&nbsp;</p>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
            </div>
        </div>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -