I
I
irdaxirdaxirdax2020-08-07 12:00:06
Windows Forms
irdaxirdaxirdax, 2020-08-07 12:00:06

Event on button click C++ WF?

When you click on the button, the label1 text should change to Hello:

private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
    this->label1->Text = "Hello";
}

But absolutely nothing happens when the button is pressed. How to fix it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question