<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="task_turn.aspx.vb" Inherits="work_plan_web_deploy.task_turn" EnableEventValidation="false"%>
<%@ Import namespace="work_plan_web_deploy"%>
<!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 id="Head1" runat="server">
         <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <title>工作任务转交</title>
    <LINK href="site_css.css" type="text/css" rel="stylesheet">
    <style type="text/css">

			.STYLE1 { COLOR: #999999 }
    .STYLE2 {
	color: #FFFFFF;
	font-weight: bold;
}
    </style>
<script type="text/javascript">
    function ResetButton() {
        var btn = document.getElementById("Button1");
        if (btn.disabled == true) {
            btn.disabled = false;
        }
    }
    function disableBtn(btn) {
        btn.value = '系统正在执行操作...';
        btn.disabled = 'disabled';
        __doPostBack("Button1", "OnClick");
        //doPostBack can now fire serverside event even if button is disabled  
    }                                                           
//树控件点击自动post
    function postBackByObject() {
        if (document.activeElement.type == "checkbox") {
            __doPostBack("", "");
        }
    }
</script>
</head>

<body> 
    <form id="form1" runat="server">
    <div id="tdiv">
      <table class="maintable" width="100%" border="0" cellspacing="0" cellpadding="2">
        <tr>
          <td height="25" colspan="2" align="center" bgcolor="#006699"><span class="STYLE2">
              工作任务转交</span></td>
        </tr>
        <tr>
          <td height="30" align="right" bgcolor="#EEEEEE">&nbsp;工作编号：</td>
          <td height="30" bgcolor="#EEEEEE">
              <asp:Label ID="id" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
          <td height="30" align="right" bgcolor="#EEEEEE">&nbsp;工作标题：</td>
          <td height="30" bgcolor="#EEEEEE">
              <asp:Label ID="bt" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
          <td height="30" align="right" bgcolor="#EEEEEE">&nbsp;接收人员：</td>
          <td height="30" bgcolor="#EEEEEE">
                            <asp:TextBox ID="zzr" onclick="showDIV(this,admintree);" 
                                    runat="server" ReadOnly="True">点击选择</asp:TextBox>
                        </td>
        </tr>
        <tr>
          <td height="100" align="right" bgcolor="#EEEEEE">&nbsp;转交说明：</td>
          <td height="100" bgcolor="#EEEEEE">
              <asp:TextBox ID="kzqk" runat="server" Height="98px" TextMode="MultiLine" 
                  Width="550px" style="width:550px;height:98px;"></asp:TextBox>
          </td>
        </tr>
        <tr>
          <td height="40" colspan="2" align="center" bgcolor="#EEEEEE">
              <asp:Button ID="Button1" runat="server" Text="确定(ALT+S)" 
                  OnClientClick="disableBtn(this);" AccessKey="s"
                  />
          </td>
        </tr>
      </table>
    </div>
     <!--隐藏开始-->
			<div class="menudiv" id="admintree">
            <asp:TreeView ID="adminTreeView" runat="server" ImageSet="XPFileExplorer" 
        NodeIndent="15" ShowLines="True">
            <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
            <NodeStyle Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black" 
                HorizontalPadding="2px" NodeSpacing="0px" VerticalPadding="2px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle BackColor="#B5B5B5" Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
    </form>
</body>
</html>
