Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/12/2011, 17:13
MauSan
 
Fecha de Ingreso: marzo-2010
Mensajes: 14
Antigüedad: 14 años, 2 meses
Puntos: 0
De acuerdo Respuesta: Visual C++ .NET - Formularios MDI

Ya pude ver porque me generaba el error…

Coloco la solución por si a alguien le sirve.

Seria colocar en la cabecera del Form1 lo siguiente:

//**************************************
// Form1

#pragma once // por defecto ya está esta línea

#include "Form2.h"

//**************************************
// Form1
// Después debe quedar asi:
// solo seria cambiar el * (arterisco) por ^ y cambiar new por gcnew


Form2 ^newMDIChild = gcnew Form2();

// Set the Parent Form of the Child window.

newMDIChild->MdiParent = this;

// Display the new form.

newMDIChild->Show();

//**************************************

Gracias