/// <summary> /// Initializes a new instance of the <see cref="Frmcomprobantes"/> class. /// </summary> public Frmcomprobantes() { this.frmguar = new Form_VisualContable(); this.frmreporguar = new Form_ReporteComprobante(); this.InitializeComponent(); this.negociocompro = new Comprobantesn(); this.funtions = new Funciones(); }
/// <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_ReporteComprobante frm = new Form_ReporteComprobante(this); this.frmreporguar = frm; frm.MdiParent = this.MdiParent; frm.Show(); this.BotonesInhab(); }