I am trying to create a button that turns off a panel but when i debug it i get 'error C2064: term does not evaluate to a function taking 1 arguments'
private: System::Void go_MouseClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
this->panel1->Visible(false);
this->panel1->Enabled(false);
}
I would really appreciate some help.
Thanks