/// <summary> /// click en el boton imprimir /// </summary> /// <param name="sender">El origen del evento</param> /// <param name="e">The <see cref="EventArgs"/> instancia que contiene los datos del evento</param> private void Btn_imprimir_Click(object sender, EventArgs e) { Form_ReportCuenta frm = new Form_ReportCuenta(this); this.frmreporguar = frm; frm.MdiParent = this.MdiParent; frm.Show(); this.BotonesInhab(); }
/// <summary> /// Initializes a new instance of the <see cref="Form_Cuenta"/> class. /// </summary> public Form_Cuenta() { this.usrClose = false; this.InitializeComponent(); this.negocioCuenta = new Cuentan(); this.negocioNits = new Nitsn(); this.funtions = new Funciones(); this.negocioEmpresa = new Empresan(); this.frmguar = new Form_VisualContable(); this.frmreporguar = new Form_ReportCuenta(); this.NombreEmpresa(); }
public Form_Cuenta(string menu, string cuenta, Form_Asientos form_Asientos) { // TODO: Complete member initialization this.menub = menu; this.usrClose = false; this.estado = false; this.InitializeComponent(); this.form_Asientos = form_Asientos; this.negocioCuenta = new Cuentan(); this.negocioNits = new Nitsn(); this.funtions = new Funciones(); this.negocioEmpresa = new Empresan(); this.frmguar = new Form_VisualContable(); this.frmreporguar = new Form_ReportCuenta(); this.NombreEmpresa(); this.AgregarOtro(cuenta); this.validaotrascuentas = 1; }