<%@ page language="VB" masterpagefile="~/MasterPage.master" autoeventwireup="false" inherits="PontoPessoalHorario, App_Web_gy0qxvij" title="Cronos - Módulo web" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
        <tr>
            <td align="left" colspan="34" style="height: 20px; background-color: #5d7b9d; text-align: center">
            <asp:Label ID="Label5" runat="server" Font-Bold="True" Font-Size="X-Small" ForeColor="Yellow" Text="Trabalho previsto versus efectuado"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="20" style="height: 20px; background-color: #5d7b9d; text-align: left" >
                <asp:Label ID="Label1" runat="server" Text="Filtro:" ForeColor= "White" ></asp:Label>
                <asp:DropDownList ID="txtFiltro" runat="server" BackColor="#D6E0EE" Font-Size="X-Small"  AutoPostBack="True">
                <asp:ListItem></asp:ListItem></asp:DropDownList>&nbsp;
                <asp:Label ID="LabelValor1" runat="server" Text="Valor: " ForeColor="White" Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor1" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData1" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:Label ID="LabelValor2" runat="server" Text="Valor: " ForeColor="White" Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor2" runat="server" Font-Size="X-Small" Width="55px" Visible="False"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData2" runat="server" Font-Size="X-Small"  Width="55px" Visible="False"></asp:TextBox>
                <asp:Label ID="LabelValor3" runat="server" Text="Valor: " ForeColor="White" Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor3" runat="server" Font-Size="X-Small" Width="55px" Visible="False"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData3" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:ImageButton ID="Pesquisar3" runat="server" ImageUrl="~/Imagens/Lupa2.png" ToolTip="Executar filtro" OnClientClick="target=''" Width="24px" Visible="False"/>
                <asp:Label ID="LabelValor4" runat="server" Text="Valor: " ForeColor="White" Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor4" runat="server" Font-Size="X-Small" Width="55px" Visible="False"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData4" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:ImageButton ID="Pesquisar4" runat="server" ImageUrl="~/Imagens/Lupa2.png" ToolTip="Executar filtro" OnClientClick="target=''" Width="24px" Visible="False"/>
                <asp:Label ID="LabelValor5" runat="server" Text="Valor: " ForeColor="White" Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor5" runat="server" Font-Size="X-Small" Width="55px" Visible="False"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData5" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:ImageButton ID="Pesquisar5" runat="server" ImageUrl="~/Imagens/Lupa2.png" ToolTip="Executar filtro" OnClientClick="target=''" Width="24px" Visible="False"/>
                <asp:Label ID="LabelValor6" runat="server" Text="Valor: " ForeColor="White"  Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor6" runat="server" Font-Size="X-Small" Width="55px" Visible="False"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData6" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:ImageButton ID="Pesquisar6" runat="server" ImageUrl="~/Imagens/Lupa2.png" ToolTip="Executar filtro" OnClientClick="target=''" Width="24px" Visible="False"/>
            </td>
            <td colspan="14" style="height: 20px; background-color: #5d7b9d; text-align: Right" >
                <asp:ImageButton ID="lnkControlo2CentroCustoCategoria" runat="server" ImageUrl="~/Imagens/Calendario1.png" PostBackUrl="~/Controlo2CentroCustoCategoria.aspx" ToolTip="Controlo por centro de custo / categoria" Width="30px"/>
                <asp:ImageButton ID="btnTotais" runat="server" ImageUrl="~/Imagens/Relogio.png" PostBackUrl="PontoPessoal.aspx" ToolTip="Ponto de Pessoal" Width="30px"/>
                <asp:ImageButton ID="btnOpenOffice" runat="server" ImageUrl="~/Imagens/OpenOffice.png" ToolTip="Exportar para Csv / Open Office" Width="30px"/>
                <asp:ImageButton ID="btnExcel" runat="server" ImageUrl="~/Imagens/Excel.png" ToolTip="Exportar para Excel" Width="30px"/>
                <asp:ImageButton ID="btnWord" runat="server" ImageUrl="~/Imagens/Word.png" ToolTip="Exportar para Word" Width="30px"/>
                <asp:ImageButton ID="btnImprimir" runat="server" ImageUrl="~/Imagens/print.gif" ToolTip="Imprimir" OnClientClick="target=''" Width="30px"/>
            </td>
        </tr>
        <tr>
            <td colspan="34" style="text-align: center">
                <asp:Panel ID="pnlEdit" runat="server" Visible="False" Width="100%">
                <table border="0" cellpadding="0" cellspacing="0" style="border-right: black 1px solid;
                        border-top: black 1px solid; border-left: black 1px solid; width: 100%; border-bottom: black 1px solid;
                        background-color: #d6e0ee">
                    <tr>
                        <td colspan="7" style="height: 12px; text-align: center"><asp:Label ID="lblAccao" runat="server" Visible="False"></asp:Label></td>                 
                    </tr>
                    <tr>
                        <td colspan="34" style="height: 20px; background-color: #d6e0ee; text-align: center">
                            <asp:Label ID="Label8" runat="server" Text="Empregado:"></asp:Label>&nbsp;
                            <asp:DropDownList ID="cboNumeroEmpregado" runat="server" AutoPostBack="True" Enabled="False" Font-Size="X-Small">
                            </asp:DropDownList>&nbsp;
                            <asp:ImageButton ID="btnIndex" runat="server" 
                                ImageUrl="~/Imagens/Edit2.png" ToolTip="Alterar ordenação." Width="16px" />&nbsp;
                            <asp:DropDownList ID="cboNome" runat="server" Enabled="False" 
                                Font-Size="X-Small" Visible="False" >
                            </asp:DropDownList>&nbsp;&nbsp;
                            <asp:Label ID="RotuloDataVigor" runat="server" Text="Data em Vigor:"></asp:Label>&nbsp;
                            <asp:TextBox ID="txtDataVigor" runat="server" BorderColor="Black" 
                                BorderWidth="1px" Enabled="False" Font-Size="X-Small" Width="60px" Wrap="False"></asp:TextBox>&nbsp;&nbsp;
                            <asp:Label ID="RotuloHorario" runat="server" Text="Horário:"></asp:Label>&nbsp;
                            <asp:DropDownList ID="cboHorario" runat="server" AutoPostBack="True" 
                                Font-Size="X-Small" Width="130px">
                            </asp:DropDownList>&nbsp;&nbsp;
                            <asp:Label ID="Label2" runat="server" Text="Ausência:"></asp:Label>&nbsp;
                            <asp:DropDownList ID="cboFalta" runat="server" AutoPostBack="True" 
                                Font-Size="X-Small" Width="130px">
                            </asp:DropDownList>&nbsp;&nbsp;
                            <asp:LinkButton ID="lnkSair" runat="server">Sair</asp:LinkButton>
                        </td>
                        </tr>
                        <tr align="center">
                            <td colspan="10" style="height: 3px; text-align: center">
                            </td>
                        </tr>
                </table>
            </asp:Panel>
                <asp:Panel ID="pnlEdit2" runat="server" Width="100%" Visible="False">
                    <table border="0" cellpadding="0" cellspacing="0" style="border-right: black 1px solid;
                        border-top: black 1px solid; border-left: black 1px solid; width: 100%; border-bottom: black 1px solid;
                        background-color: #d6e0ee">
                        <tr>
                            <td colspan="34" style="height: 20px; background-color: #d6e0ee;" align="left">
                                <asp:CheckBox ID="ChkHorarios" runat="server" Text="Horários: " TextAlign="Left" Width="90px" />&nbsp;&nbsp;
                                <asp:CheckBox ID="ChkAusencias" runat="server" Text="Ausências: " TextAlign="Left" Width="90px" />&nbsp;&nbsp;
                                <asp:ImageButton ID="btnGravarOpoes2" runat="server" ImageUrl="~/Imagens/Edit2.png" ToolTip="Gravar." />&nbsp;&nbsp;&nbsp;&nbsp;

                                <asp:Label ID="RotuloHorario2" runat="server" Text="Horário:"></asp:Label>&nbsp;&nbsp;
                                <asp:DropDownList ID="cboHorario2" runat="server" AutoPostBack="True" 
                                    Font-Size="X-Small" Width="130px">
                                </asp:DropDownList>&nbsp;&nbsp;
                                <asp:Label ID="RotuloFalta2" runat="server" Text="Ausência:"></asp:Label>&nbsp;&nbsp;
                                <asp:DropDownList ID="cboFalta2" runat="server" AutoPostBack="True" 
                                    Font-Size="X-Small" Width="130px">
                                </asp:DropDownList>&nbsp;&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="34" style="height: 20px; background-color: #d6e0ee; text-align: center">
                            <asp:Label ID="Label3" runat="server" Text="Empregado:"></asp:Label>&nbsp;&nbsp;
                            <asp:DropDownList ID="cboNumeroEmpregado2" runat="server" AutoPostBack="True" Enabled="False" Font-Size="X-Small">
                            </asp:DropDownList>&nbsp;&nbsp;
                            <asp:ImageButton ID="btnIndex2" runat="server" 
                                ImageUrl="~/Imagens/Edit2.png" ToolTip="Alterar ordenação." Width="16px" />&nbsp;
                            <asp:DropDownList ID="cboNome2" runat="server" Enabled="False" Font-Size="X-Small" 
                                    Visible="False" >
                            </asp:DropDownList>&nbsp;&nbsp;
                            <asp:Label ID="RotuloMes" runat="server" Text="Mês :"></asp:Label>&nbsp;&nbsp;
                            <asp:TextBox ID="TxtMes" runat="server" BorderColor="Black" 
                                BorderWidth="1px" Enabled="False" Font-Size="X-Small" Width="30px" Wrap="False"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia1" runat="server" Text="  1" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia2" runat="server" Text="  2" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia3" runat="server" Text="  3" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia4" runat="server" Text="  4" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia5" runat="server" Text="  5" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia6" runat="server" Text="  6" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia7" runat="server" Text="  7" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia8" runat="server" Text="  8" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia9" runat="server" Text="  9" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia10" runat="server" Text=" 10" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia11" runat="server" Text=" 11" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia12" runat="server" Text=" 12" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia13" runat="server" Text=" 13" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia14" runat="server" Text=" 14" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia15" runat="server" Text=" 15" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia16" runat="server" Text=" 16" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia17" runat="server" Text=" 17" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia18" runat="server" Text=" 18" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia19" runat="server" Text=" 19" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia20" runat="server" Text=" 20" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia21" runat="server" Text=" 21" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia22" runat="server" Text=" 22" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia23" runat="server" Text=" 23" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia24" runat="server" Text=" 24" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia25" runat="server" Text=" 25" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia26" runat="server" Text=" 26" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia27" runat="server" Text=" 27" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia28" runat="server" Text=" 28" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia29" runat="server" Text=" 29" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia30" runat="server" Text=" 30" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="ChkDia31" runat="server" Text=" 31" TextAlign="Left" Width="10px" />&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:ImageButton ID="btnActivarDias" runat="server" ImageUrl="~/Imagens/Edit2.png" ToolTip="Activar/Desactivar todos os dias" />&nbsp;&nbsp;
                            <asp:LinkButton ID="btnGravar2" runat="server">Gravar</asp:LinkButton>&nbsp;
                            <asp:LinkButton ID="btnCancelar" runat="server">Cancelar</asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
        <tr>
        <td colspan="34" style="text-align: center">
            <asp:Panel ID="pnlTabelasAuxiliares" runat="server" Visible="False" Width="100%">
            <table border="0" cellpadding="0" cellspacing="0" style="border-right: black 1px solid;
                    border-top: black 1px solid; border-left: black 1px solid; width: 100%; border-bottom: black 1px solid;
                    background-color: #d6e0ee">
                <tr>
                    <td 
                        style="height: 10px; background-color: White; text-align: center" 
                        align="left"> 
                        <asp:Label ID="lblMsg2" runat="server" Visible="False" BackColor="White"></asp:Label> 
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px; background-color: #d6e0ee; text-align: center">
                        <asp:Label ID="RotuloTabela" runat="server" Font-Size="X-Small" Text="Tabela:"></asp:Label>&nbsp;&nbsp;
                        <asp:DropDownList ID="cboTabela" runat="server" AutoPostBack="True" 
                            Font-Size="X-Small" Width="200px" Height="20px"> </asp:DropDownList>
                        <%--<asp:Label ID="Label6" runat="server" Text="Centros de Custo"></asp:Label>--%>
                    </td>
                </tr> 
                <tr>
                    <td style="height: 30px; background-color: #d6e0ee; text-align: center">
                        <br /> 
                        <asp:Label ID="RotuloCodigo" runat="server" Text="Código:"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtCodigoTabelaAuxiliar" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="47px"></asp:TextBox>&nbsp;
                        <asp:Label ID="RotuloDescricao" runat="server" Text="Descrição:"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtDescricaoTabelaAuxiliar" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="235px"></asp:TextBox>&nbsp;

                        <asp:Label ID="RotuloCpo3" runat="server" Text="" Visible="False"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtcpo3" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="60px" Visible="False" ></asp:TextBox>&nbsp;&nbsp;
                        <asp:Label ID="RotuloCpo4" runat="server" Text="" Visible="False" ></asp:Label>&nbsp;
                        <asp:TextBox ID="txtcpo4" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="60px" Visible="False" ></asp:TextBox>&nbsp;&nbsp;
                        <asp:ImageButton ID="btnCor" runat="server" 
                                ImageUrl="~/Imagens/Edit2.png" ToolTip="Escolher cor" Width="16px" />&nbsp;&nbsp;
                        <asp:Label ID="RotuloCpo5" runat="server" Text="" Visible="False" ></asp:Label>&nbsp;
                        <asp:TextBox ID="txtcpo5" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="60px" Visible="False" ></asp:TextBox>&nbsp;&nbsp;
                        <asp:Label ID="RotuloCpo6" runat="server" Visible="False"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtcpo6" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Visible="False" Width="60px"></asp:TextBox>&nbsp;&nbsp;
                        <asp:LinkButton ID="lnkGravar2" runat="server">Gravar</asp:LinkButton>&nbsp;&nbsp;
                        <asp:LinkButton ID="lnkCancelar2" runat="server">Cancelar</asp:LinkButton>

                        <br />  <br />
                        <asp:GridView ID="grdDadosCores" runat="server" CellPadding="4" HorizontalAlign="Center" 
                                PageSize="4" Width="702px" AutoGenerateColumns="False" 
                            Visible="False" >
                            <Columns>
                                <asp:CommandField SelectText="" ShowSelectButton="True" ButtonType="Image" 
                                    SelectImageUrl="~/Imagens/Edit2.png" />
                                <asp:BoundField DataField="ID" HeaderText="ID" />
                                <asp:BoundField DataField="Cor" HeaderText="Cor" />
                                <asp:BoundField DataField="Codigo" HeaderText="Código" />
                                <asp:TemplateField HeaderText="Activa">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="chkActiva" runat="server" AutoPostBack="True" OnCheckedChanged="chkActiva_Clicked" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="Activa" HeaderText="CpoActiva" />
                            </Columns>
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <EditRowStyle BackColor="#999999" />
                            <PagerSettings Visible="true"  Position="Bottom" Mode="NextPreviousFirstLast" FirstPageImageUrl="Imagens/SetaPrimeiro.png" PreviousPageImageUrl="Imagens/SetaEsquerda.png" NextPageImageUrl="Imagens/SetaDireita.png" LastPageImageUrl="Imagens/SetaUltimo.png" />
                            <PagerStyle BackColor="#F7F6F3" ForeColor="#5D7B9D" Font-Size="Small" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
                        <asp:GridView ID="grdDadosTabelasAuxiliares" runat="server" CellPadding="4" HorizontalAlign="Center" 
                                PageSize="4" Width="702px" RowStyle-HorizontalAlign="Left">
                            <Columns>
                                <asp:CommandField SelectText="" ShowSelectButton="True" ButtonType="Image" 
                                    SelectImageUrl="~/Imagens/Edit2.png" 
                                    DeleteImageUrl="~/Imagens/Delete2.png" ShowDeleteButton="True" />
                            </Columns>
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <EditRowStyle BackColor="#999999" />
                            <PagerSettings Visible="true"  Position="Bottom" Mode="NextPreviousFirstLast" FirstPageImageUrl="Imagens/SetaPrimeiro.png" PreviousPageImageUrl="Imagens/SetaEsquerda.png" NextPageImageUrl="Imagens/SetaDireita.png" LastPageImageUrl="Imagens/SetaUltimo.png" />
                            <PagerStyle BackColor="#F7F6F3" ForeColor="#5D7B9D" Font-Size="Small" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
                    </td>
                </tr>
            </table>
            </asp:Panel>
        </td>
        </tr>
        <tr>
            <td colspan="34" 
                style="height: 20px; background-color: White; text-align: center" 
                align="left"> 
                <asp:Label ID="lblMsg" runat="server" Visible="False" BackColor="White"></asp:Label> <%--BackColor="#F1F4FA"--%>
                <asp:Label ID="lblIndex" runat="server" Visible="False">NumeroEmpregado</asp:Label>&nbsp;&nbsp;
            </td>
        </tr>
        <tr>
        <td colspan="34">
        <asp:GridView ID="grdDados" runat="server" CellPadding="4" ForeColor="#333333" GridLines="Vertical" Width="100%" AllowPaging="True" PageSize="16">
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <Columns>
            <asp:CommandField SelectText="&gt;" ShowSelectButton="True" ButtonType="Image" SelectImageUrl="~/Imagens/Selecao.png" />
        </Columns>
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <EditRowStyle BackColor="#999999" />
        <PagerSettings Visible="true"  Position="Bottom" Mode="NextPreviousFirstLast" FirstPageImageUrl="Imagens/SetaPrimeiro.png" PreviousPageImageUrl="Imagens/SetaEsquerda.png" NextPageImageUrl="Imagens/SetaDireita.png" LastPageImageUrl="Imagens/SetaUltimo.png" />
        <PagerStyle BackColor="#F7F6F3" ForeColor="#5D7B9D" Font-Size="Small" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        </asp:GridView>
            </td>
        </tr>
        <tr>
            <td colspan="34" style="height: 12px" align="right">
            <asp:Panel ID="pnlOpcoesRodape" runat="server" Visible="True" Width="100%" BackColor="#5d7b9d"> 
                <asp:Label ID="RotuloGrelha" runat="server" Text="Grelha: " 
                    ForeColor="White"></asp:Label>&nbsp;
                <asp:DropDownList ID="cboGrelha" runat="server" Font-Size="X-Small" 
                    BackColor="White" ForeColor="Black">
                    <asp:ListItem Value="0">Vertical</asp:ListItem>
                    <asp:ListItem Value="1">Horizontal</asp:ListItem>
                    <asp:ListItem Value="2">Ambos</asp:ListItem>
                </asp:DropDownList>&nbsp;
                <asp:Label ID="RotuloLinhasPagina" runat="server" Text="Paginação Linhas:" 
                    ForeColor="White"></asp:Label>&nbsp;
                <asp:TextBox ID="txtLinhasPagina" runat="server" BorderColor="White" 
                    BorderWidth="0px" Font-Size="X-Small" Height="18px" Width="30px" 
                    BackColor="#5D7B9D" ForeColor="White" ></asp:TextBox>
                <asp:Label ID="Label4" runat="server" Text="Posição: " 
                    ForeColor="White"></asp:Label>&nbsp;
                <asp:DropDownList ID="cboPaginacaoPosicao" runat="server" Font-Size="X-Small" 
                    BackColor="White" ForeColor="Black">
                    <asp:ListItem Value="0">Em baixo</asp:ListItem>
                    <asp:ListItem Value="1">Em cima</asp:ListItem>
                    <asp:ListItem Value="2">Em ambos</asp:ListItem>
                </asp:DropDownList>&nbsp;
                <asp:Label ID="Label6" runat="server" Text="Tipo: " 
                    ForeColor="White"></asp:Label>&nbsp;
                <asp:DropDownList ID="cboPaginacaoTipo" runat="server" Font-Size="X-Small" 
                    BackColor="White" ForeColor="Black">
                    <asp:ListItem Value="2">Botões</asp:ListItem>
                    <asp:ListItem Value="3">Nº pág.</asp:ListItem>
                </asp:DropDownList>&nbsp;
                <asp:ImageButton ID="btnGravarOpoes" runat="server"  ImageUrl="~/Imagens/Edit2.png" ToolTip="Gravar opções"/>&nbsp;
            </asp:Panel>
            </td>                 
        </tr>
    </table>
</asp:Content>

