Example #1
0
        private void dgvMedicamentos_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            IngresarFactura factura = new IngresarFactura();

               IngresarFactura.num = dgvMedicamentos.Rows[e.RowIndex].Cells[5].Value.ToString();

            IngresarFactura medicamento = new IngresarFactura();

            MenuPrincipal menus = new MenuPrincipal();
            medicamento.MdiParent = this.MdiParent;
            medicamento.Show();
            this.Hide();
        }
Example #2
0
 private void fACTURAToolStripMenuItem_Click(object sender, EventArgs e)
 {
     IngresarFactura factura = new IngresarFactura();
     factura.MdiParent = this;
     factura.Show();
 }