コード例 #1
0
        protected void btEditar_Click(object sender, ImageClickEventArgs e)
        {
            PanelDados.Visible  = true;
            PanelDados.Enabled  = false;
            PanelBotoes.Visible = true;
            //PanelBusca.Enabled = false;
            clienteSelecionado = todos.getCliente(Convert.ToInt16(ComboClientes.SelectedValue));

            preencheDados();
            BtEditarCliente.Focus();
        }
コード例 #2
0
ファイル: OSAbertura.aspx.cs プロジェクト: Laerton2016/SIME
 private void preencheCliente(Int16 codCliente)
 {
     //Processo que exibe os dados do cliente.
     //clienteSelecionado = todos.getCliente(codCliente);
     Master.setClienteSelecionado(todos.getCliente(codCliente));
     if (Master.getClienteSelecionado() != null)
     {
         LabDados.Text = "<font size=4 color='Red'><u>Confira os dados abaixo:</u></font> <br>" +
                         "<font size=4>" + Master.getClienteSelecionado().ToString() + "</font>" +
                         "<br /> ";
         btProximo.Visible   = true;
         btAltera.Visible    = true;
         Panel_dados.Visible = true;
     }
 }