G
Guest
i have a form name Form1 i want to create a copy of Form2 which know th
refrence of Form1.
example:
private: System::Void button1_Click(System::Object * sender,
System::EventArgs * e)
{
Form2 * copy = new Form2(this);
copy ->ShowDialog();
}
constructure of Form2 is like.. ( but i get errors ??? )
public:
dialog(Form1 *const refree)
{
InitializeComponent();
}
refrence of Form1.
example:
private: System::Void button1_Click(System::Object * sender,
System::EventArgs * e)
{
Form2 * copy = new Form2(this);
copy ->ShowDialog();
}
constructure of Form2 is like.. ( but i get errors ??? )
public:
dialog(Form1 *const refree)
{
InitializeComponent();
}