Very Stuck Newbie

  • Thread starter Thread starter Im Going Mad
  • Start date Start date
I

Im Going Mad

Hi All,

Hope your well? Hope no one minds helping out a Newbie? Im going mad with
this. I`ve done a bit of work in Visual Basic but now moving over to
Microsoft C++. Here is my Problem:

I have 2 Forms. One Called `Images` and one Called `Main` On the Main Screen
I have a button called Images and would like to load the form called
`Images` when its click, however I just can`t seem to find anywhere where it
tells me how to do this.

Anybody point me in the right direction?

Many Thanks
IGMad .......................
 
Im Going Mad said:
Hi All,

Hope your well? Hope no one minds helping out a Newbie? Im going mad with
this. I`ve done a bit of work in Visual Basic but now moving over to
Microsoft C++. Here is my Problem:

I have 2 Forms. One Called `Images` and one Called `Main` On the Main
Screen I have a button called Images and would like to load the form
called `Images` when its click, however I just can`t seem to find anywhere
where it tells me how to do this.

something like:

Images^ frmImages;
private void btnImages_Click(Object^ sender, EventArgs^ e)
{
frmImages->Show();
}

and then in init code:
frmImages = gcnew Images();
btnImages->Click += gcnew EventHandler(this, &Main::btnImages_Click);
 
Back
Top