<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostTask.aspx.cs" Inherits="SWTraining.Task.PostTask"
    Title="发布任务" %>

<!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>
    <link id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />
</head>
<body style="padding: 0px; padding-bottom: 20px">
    <form id="form1" runat="server" style="margin: 0px; padding: 0px">
    <table class="table" cellspacing="0">
        <tr>
            <th colspan="2">
                &nbsp;
            </th>
        </tr>
        <tr>
            <td>
                任务名称：
            </td>
            <td>
                <asp:TextBox ID="tbxTaskName" runat="server" Width="259px"></asp:TextBox>
                <span style="color: #ff0000">*</span>
            </td>
        </tr>
        <tr>
            <td>
                开始时间：
            </td>
            <td>
                <asp:TextBox ID="tbxStartDate" runat="server"></asp:TextBox>
                <span style="color: #ff0000">*</span>
            </td>
        </tr>
        <tr>
            <td>
                结束时间：
            </td>
            <td>
                <asp:TextBox ID="tbxEndDate" runat="server"></asp:TextBox>
                <span style="color: #ff0000">*</span>
            </td>
        </tr>
        <tr>
            <td>
                任务内容：
            </td>
            <td>
                <div id="msg" style="color: #676767">
                </div>
                <asp:TextBox ID="tbxTaskContent" runat="server" Height="71px" TextMode="MultiLine"
                    Width="366px"></asp:TextBox>
                <span style="color: #ff0000">*</span>
            </td>
        </tr>
        <tr>
            <td>
                办理人：
            </td>
            <td>
                <asp:DropDownList ID="ddlToUser" runat="server" DataTextField="TrueName" DataValueField="UserID">
                </asp:DropDownList>
                <span style="color: #ff0000">*</span>
            </td>
        </tr>
        <tr>
            <td>
                短信通知：
            </td>
            <td>
                <asp:CheckBox ID="cbxSMS" runat="server" AutoPostBack="True" OnCheckedChanged="cbxSMS_CheckedChanged" />
            </td>
        </tr>
        <tr>
            <td>
                下达人：
            </td>
            <td>
                <asp:DropDownList ID="ddlUser" runat="server" DataTextField="TrueName" DataValueField="UserID">
                </asp:DropDownList>
                <span style="color: #ff0000">*</span>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                <label class="lab_buttom">
                    <asp:Button ID="btnPost" runat="server" Text="提交" OnClick="btnPost_Click" />
                </label>
                <label class="lab_buttom">
                    <input id="Button1" causesvalidation="false" type="button" runat="server" onclick="back()"
                        value="返回" /></label>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
