Exemplo n.º 1
0
        private void FillDataParametersToExecuteUpdateModify()
        {
            ckBxAtiva.Checked     = (Ativo == "S" ? true : false);
            ckBxStatusDBA.Checked = (StatusDBA == "S" ? true : false);

            txtBxUsuario.Text = Usuario.ToString();
            txtBxNome.Text    = Nome.ToString();
            cmbBxEmpresaRegGeral.SelectedValue = CodigoEmpresa.ToString();
            cmbBxRegGeral.SelectedValue        = CodigoRG.ToString();
            txtBxDataCadastro.Text             = DataCadastro.ToString();
            txtBxSenhaAtual.Text    = "";
            txtBxNovaSenha.Text     = "";
            txtBxConfirmaSenha.Text = "";
            txtBxRamal.Text         = Ramal.ToString();
        }
Exemplo n.º 2
0
 public EntityBase()
 {
     DataCadastro.ToString("d");
 }
Exemplo n.º 3
0
 public string EscreverArquivo()
 {
     return(ID + ";" + Categoria + ";" + Nome + ";" + Preco.ToString("F2") + ";" + Quantidade + ";" + QuantidadeVendida + ";" + DataCadastro.ToString() + ";" + Descricao);
 }
Exemplo n.º 4
0
 public override string ToString()
 {
     return($"Id: {Id} \nCadastro{DataCadastro.ToString("dd/MM/yyyy")} \nNome: {Nome} \nEndereço: {Endereco}");
 }
Exemplo n.º 5
0
 public override string ToString()
 {
     return($"Nome:{this.Conta.Cliente.Nome} " +
            $"{DataCadastro.ToString("dd/MM/yyyy")} - {Valor}");
 }