Ejemplo n.º 1
0
        private void btnBuscar_Click(object sender, EventArgs e)
        {
            ListaPedidos medicamento = new ListaPedidos();

            MenuPrincipal menus = new MenuPrincipal();
            medicamento.MdiParent = this.MdiParent;
            medicamento.Show();
            Close();
        }
Ejemplo n.º 2
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();
        }