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

📄 default.aspx

📁 ASPNET程序开发范例宝典02.rar ASP.NET application development paradigm Baodian 02
💻 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>
    <script language="javascript">
function colorpick(field){
   var rtn = window.showModalDialog("Default2.aspx","","dialogWidth:225px;dialogHeight:170px;status:no;help:no;scrolling=no;scrollbars=no");
   if(rtn!=null)
	field.style.background=rtn;
 	return;
   }
</script>

</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center">
        <table cellpadding="0" cellspacing="0" style="background-image: url(Images/1111.bmp);
            width: 464px; height: 233px">
            <tr>
                <td style="width: 96px; height: 30px">
                </td>
                <td style="width: 28px; height: 30px">
                    <asp:TextBox ID="TextBox1" runat="server" readonly="true" size="3" style="background-color:#000000"  Width="67px" Height="13px" onClick="colorpick(this)"></asp:TextBox></td>
                <td style="width: 114px; height: 30px">
                </td>
            </tr>
            <tr>
                <td style="width: 96px; height: 146px">
                </td>
                <td style="width: 28px; height: 146px">
                </td>
                <td style="width: 114px; height: 146px;">
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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