<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GridContentAdd.aspx.cs"
    Inherits="InfoPath.DataGridTemplete.GridContentAdd" Trace="false" %>

<%@ Register Src="../WorkFlow/Approve.ascx" TagName="Approve" TagPrefix="uc1" %>
<%@ Register Src="../WorkFlow/WFApproveList.ascx" TagName="WFApproveList" TagPrefix="uc3" %>
<%@ Register Src="../Include/Css.ascx" TagName="Css" TagPrefix="uc2" %>
<%@ Register Src="../SubTable/SubContent.ascx" TagName="SubContent" TagPrefix="uc4" %>
<%@ Register src="LinkTable.ascx" tagname="LinkTable" tagprefix="uc5" %>
<!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 type="text/javascript" src="../js/JScript.js"></script>
		<script src="../js/jscalendar.js" type="text/javascript"></script>

    <style type="text/css">
        @import url("../js/SuggestFramework.css");
    </style>

    <script type="text/javascript" src="../js/SuggestFramework.js"></script>

    <script type="text/javascript">        window.onload = initializeSuggestFramework;</script>

</head>
<body>
    <form id="form1" runat="server" method="post">
    <div class="WsdnOrgInfo">
        <uc2:Css ID="Css1" runat="server" />
        <asp:Label ID="lblSSSQ" runat="server"></asp:Label>
        <asp:DropDownList ID="ddlYear" runat="server">
            <asp:ListItem>不选</asp:ListItem>
            <asp:ListItem>2000</asp:ListItem>
            <asp:ListItem>2001</asp:ListItem>
            <asp:ListItem>2002</asp:ListItem>
            <asp:ListItem>2003</asp:ListItem>
            <asp:ListItem>2004</asp:ListItem>
            <asp:ListItem>2005</asp:ListItem>
            <asp:ListItem>2006</asp:ListItem>
            <asp:ListItem>2007</asp:ListItem>
            <asp:ListItem>2008</asp:ListItem>
            <asp:ListItem>2009</asp:ListItem>
            <asp:ListItem>2010</asp:ListItem>
            <asp:ListItem>2011</asp:ListItem>
            <asp:ListItem>2012</asp:ListItem>
            <asp:ListItem>2013</asp:ListItem>
            <asp:ListItem>2014</asp:ListItem>
            <asp:ListItem>2015</asp:ListItem>
            <asp:ListItem>2016</asp:ListItem>
        </asp:DropDownList>
        <asp:Label ID="lbYear" runat="server" Text=""></asp:Label>
        <asp:DropDownList ID="ddlSqur" runat="server" Visible="False">
            <asp:ListItem>不选</asp:ListItem>
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
        </asp:DropDownList>
        <asp:Label ID="lbSqur" runat="server" Visible="False"></asp:Label>
        <asp:DropDownList ID="ddlMonth" runat="server">
            <asp:ListItem>不选</asp:ListItem>
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
            <asp:ListItem>5</asp:ListItem>
            <asp:ListItem>6</asp:ListItem>
            <asp:ListItem>7</asp:ListItem>
            <asp:ListItem>8</asp:ListItem>
            <asp:ListItem>9</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
        </asp:DropDownList>
        <asp:Label ID="lbMonth" runat="server" Text=""></asp:Label>
        <asp:DropDownList ID="ddlDay" runat="server">
            <asp:ListItem>不选</asp:ListItem>
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
            <asp:ListItem>5</asp:ListItem>
            <asp:ListItem>6</asp:ListItem>
            <asp:ListItem>7</asp:ListItem>
            <asp:ListItem>8</asp:ListItem>
            <asp:ListItem>9</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
            <asp:ListItem>13</asp:ListItem>
            <asp:ListItem>14</asp:ListItem>
            <asp:ListItem>15</asp:ListItem>
            <asp:ListItem>16</asp:ListItem>
            <asp:ListItem>17</asp:ListItem>
            <asp:ListItem>18</asp:ListItem>
            <asp:ListItem>19</asp:ListItem>
            <asp:ListItem>20</asp:ListItem>
            <asp:ListItem>21</asp:ListItem>
            <asp:ListItem>22</asp:ListItem>
            <asp:ListItem>23</asp:ListItem>
            <asp:ListItem>24</asp:ListItem>
            <asp:ListItem>25</asp:ListItem>
            <asp:ListItem>26</asp:ListItem>
            <asp:ListItem>27</asp:ListItem>
            <asp:ListItem>28</asp:ListItem>
            <asp:ListItem>29</asp:ListItem>
            <asp:ListItem>30</asp:ListItem>
            <asp:ListItem>31</asp:ListItem>
        </asp:DropDownList>
        <asp:Label ID="lbDay" runat="server" Text=""></asp:Label>
        <asp:CheckBox ID="IsPublic" Visible="false" runat="server" />
        <asp:Button class="buttons" ID="btnSubmit" runat="server" Text="Button" OnClick="btnaddGridContent_Click" />
        <asp:Button class="buttons" ID="btnDel" runat="server" Text="删除" OnClick="btnDel_Click" />
        <asp:Button class="buttons" ID="btnHistory" runat="server" Text="历史日志" OnClick="btnHistory_Click" />
        <asp:Button class="buttons" ID="btnViewOneColumn" Visible="false" runat="server"
            OnClick="btnViewOneColumn_Click" />
        <asp:Button class="buttons" ID="btnViewTwoColumn" Visible="false" runat="server"
            OnClick="btnViewTwoColumn_Click" />
        <asp:Button class="buttons" ID="btnViewThreeColumn" Visible="false" runat="server"
            OnClick="btnViewThreeColumn_Click" />
         <asp:Button class="buttons" ID="btnPrint" runat="server"  Text="打印窗体" 
            onclick="btnPrint_Click" />
       <asp:Button class="buttons" ID="btnBack" runat="server" OnClick="btnBack_Click" Text="Button" />
        <input id="closewin" class="buttons" type="button" value="关闭窗体" onclick="javascript:window.close();" />
        <br>
     </div>
    <!--打印开始-->
        <asp:Panel ID="plPrint" runat="server">
        
        <asp:PlaceHolder ID="ListView1" runat="server"></asp:PlaceHolder>
    
    <fieldset>
        <legend>
            <img src="../Icon/ip/form.png" width="20" />
            <asp:Label ID="Label1" runat="server" Text="明细记录"></asp:Label>
        </legend>
        <uc4:SubContent ID="SubContent1" runat="server" />
    </fieldset>
    </asp:Panel>
    <!--打印结束-->
    <fieldset>
        <legend>
            <img src="../Icon/ip/form.png" width="20" />
            <asp:Label ID="Label2" runat="server" Text="关联记录"></asp:Label>
        </legend>
            <uc5:LinkTable ID="LinkTable1" runat="server" />
    </fieldset>
    
    
    <fieldset>
        <legend>
            <img src="../Icon/ip/help.png" width="20" />
            <asp:Label ID="Label10" runat="server" Text="审批历史记录"></asp:Label>
        </legend>
        <uc3:WFApproveList ID="WFApproveList1" runat="server" />
    </fieldset>
    
    <uc1:Approve ID="Approve1" runat="server" />
    <br>
    [<asp:Label ID="CorporationID" runat="server"></asp:Label>
    -
    <asp:Label ID="BranchID" runat="server"></asp:Label>
    -
    <asp:Label ID="DeptID" runat="server"></asp:Label>
    -
    <asp:Label ID="UserID" runat="server"></asp:Label>] [<asp:Label ID="CreateDate" runat="server"></asp:Label>]
    </form>
</body>
</html>
