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";
Code Sample 1:
//Set Label.
this->TextLabel1= (gcnew System::Windows::Forms::Label());
Code Sample 2:
//When Button Clicked....
TextLabel1->Text = "Button has been pressed";