How do I reference (+ change) the Label that has been set, outside the Form's code. Eg. Another cpp or header file?
Code Sample 1:
//Set Label.
this->TextLabel1= (gcnew System::Windows::Forms::Label());
Code Sample 2:
//When Button Clicked....
TextLabel1->Text = "Button has been pressed";
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.