I'm trying to show a dialog when I press a button, I have made the dialog but I do not know how to access it from the main form code.

For example:

You can do:
this->label1->text = L"Test.";

But is there like a form1->label1->text = L"test"; like in basic?

Really need help, any advice would be useful!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.