So I'm making an application to organize resources for a project I'm working on using the .NET form designer in Visual Studio 2008 or whatever it's called. However, I'm not exactly sure how it works. So I'm making this topic to be like a general question topic for when I may need it.
As for right now, I'm trying to simply just have it bring up another form when I click the button, but I don't know how to reference the other form. This is what I'm trying right now:
private: System::Void btnForm2_Click(System::Object^ sender, System::EventArgs^ e)
{
Form2.Show();
}
(I've also tried Form2->Show(); and Show(Form2); but I have no idea which one to use)
And it says Form2 is an undeclared identifier. So how exactly do I declare it, because shouldn't it already be declared since the Form2.h was created? So yeah help be needed here.
Also some useful information more about how the using the Windows Forms would be great too. =P