0

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

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by Monster Killer
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.