ok heres what i got
Main.cpp
System::Void Form1::button1_Click(System::Object^ sender, System::EventArgs^ e) {
SetText("Hello, it's working");
}
System::Void Form1::SetText(String^ strText)
{
this->textBox1->Text = strText;
form1.h
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e);
private: System::Void SetText(String^ strText);
What if I want to display the results of type double variables or int variables onto form1.h. instead of strings.