private void btnBuscar_Click(object sender, EventArgs e) { ListaPedidos medicamento = new ListaPedidos(); MenuPrincipal menus = new MenuPrincipal(); medicamento.MdiParent = this.MdiParent; medicamento.Show(); Close(); }
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(); }