public viewSettings()
 {
     InitializeComponent();
     config = Settings.Default;
     this.txtEmpresaNombre.Text = config.EmpresaNombre;
     this.txtEmpresaDireccion.Text = config.EmpresaDireccion;
     this.txtEmpresaTel.Text = config.EmpresaTelefono;
     this.txtEmpresaNIT.Text = config.EmpresaNIT;
     this.txtIVA.Text = (config.IVA * 100).ToString();
     this.txtEmpresaAdministrador.Text = config.EmpresaAdministrador;
     this.txtEmpresaContador.Text = config.EmpresaContador;
     this.txtUsuario.Text = config.Usuario;
     this.txtPasword.Text = config.Password;
 }
Exemple #2
0
 public wndLogin()
 {
     this.InitializeComponent();
     config = Settings.Default;
     // Insert code required on object creation below this point.
 }