menu.ascx

来自「这是asp.net^和Visual C++Sharp编写的串并口通讯的书籍 源代」· ASCX 代码 · 共 45 行

ASCX
45
字号
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="menu.ascx.cs" Inherits="WebUserControl" %>
<table style="width: 801px; height: 158px; font-size: 10pt; color: #000099; margin-top: 0px; padding-top: 0px;" class="css" border="0" cellspacing="0">
    <tr>
        <td align="right" colspan="10" style="background-image: url(image/1.gif); height: 28px">
            &nbsp;
            &nbsp;&nbsp;
            <asp:Label ID="Label1" runat="server" Text="Label" Width="200px" ForeColor="White"></asp:Label>&nbsp;</td>
    </tr>
    <tr>
        <td align="right" colspan="10" style="background-image: url(image/2.gif); color: #ffff66;
            height: 8px" class="txt">
            输入关键字:<asp:TextBox ID="TextBox1" runat="server" Width="240px" Height="14px"></asp:TextBox>&nbsp;&nbsp;
            <asp:Button ID="cmdSearch" runat="server" Text="站内搜索" OnClick="cmdSearch_Click" Height="20px" />
            &nbsp; &nbsp;<a href="#" onclick ="this.style.behavior='url(#default#homepage)';this.sethomepage('hppt://www.mingrisoft.com')"><font color="white">设置主页</font></a>
            &nbsp;<a href="#" onclick="window.external.addFavorite('http://mrzyt/index.aspx','都市新闻网站');"><font color="white">收藏本站</font></a></td>
            
    </tr>
    <tr>
        <td align="center" rowspan="1" style="background-image: url(image/301.gif); width: 151px;
            height: 41px">
        </td>
        <td align="center" style="background-image: url(image/302.gif); width: 72px; height: 41px">
            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx" Font-Underline="False" ForeColor="#333333">主页</asp:HyperLink></td>
        <td align="center" style="background-image: url(image/302.gif); width: 72px; height: 41px">
            <asp:HyperLink ID="HyperLink2" runat="server" Font-Underline="False" ForeColor="#333333">时政</asp:HyperLink></td>
        <td align="center" style="background-image: url(image/302.gif); width: 72px; height: 41px">
            <asp:HyperLink ID="HyperLink3" runat="server" Font-Underline="False" ForeColor="#333333">经济</asp:HyperLink></td>
        <td align="center" style="background-image: url(image/302.gif); width: 72px; height: 41px">
            <asp:HyperLink ID="HyperLink4" runat="server" Font-Underline="False" ForeColor="#333333">军事</asp:HyperLink></td>
        <td align="center" style="background-image: url(image/302.gif); width: 72px; height: 41px">
            <asp:HyperLink ID="HyperLink5" runat="server" Font-Underline="False" ForeColor="#333333">科教</asp:HyperLink></td>
        <td align="center" style="background-image: url(image/302.gif); width: 72px; height: 41px">
            <asp:HyperLink ID="HyperLink6" runat="server" Font-Underline="False" ForeColor="#333333">法制</asp:HyperLink></td>
        <td align="center" style="background-image: url(image/302.gif); width: 72px; height: 41px">
            <asp:HyperLink ID="HyperLink7" runat="server" Font-Underline="False" ForeColor="#333333">社会</asp:HyperLink></td>
        <td align="center" style="background-image: url(image/302.gif); width: 72px; height: 41px">
            <asp:HyperLink ID="HyperLink8" runat="server" Font-Underline="False" ForeColor="#333333">体育</asp:HyperLink></td>
        <td align="center" style="background-image: url(image/302.gif); width: 72px; height: 41px">
            <asp:HyperLink ID="HyperLink9" runat="server" Font-Underline="False" ForeColor="#333333">娱乐</asp:HyperLink></td>
    </tr>
    <tr>
        <td align="center" colspan="10" style="background-image: url(image/4.gif); height: 127px">
        </td>
    </tr>
</table>

⌨️ 快捷键说明

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