예제 #1
0
파일: FrmMain.cs 프로젝트: nelsilva/ACBr-1
        private void loadConfig()
        {
            acBrMail.ConfigLer();

            txtNome.Text    = acBrMail.ConfigLerValor <string>(ACBrSessao.Email, "Nome");
            txtEmail.Text   = acBrMail.ConfigLerValor <string>(ACBrSessao.Email, "Conta");
            txtUsuario.Text = acBrMail.ConfigLerValor <string>(ACBrSessao.Email, "Usuario");
            txtSenha.Text   = acBrMail.ConfigLerValor <string>(ACBrSessao.Email, "Senha");
            txtHost.Text    = acBrMail.ConfigLerValor <string>(ACBrSessao.Email, "Servidor");
            nudPorta.Value  = acBrMail.ConfigLerValor <int>(ACBrSessao.Email, "Porta");
            ckbSSL.Checked  = acBrMail.ConfigLerValor <bool>(ACBrSessao.Email, "SSL");
            ckbTLS.Checked  = acBrMail.ConfigLerValor <bool>(ACBrSessao.Email, "TLS");
        }