clear textBox1->Text

Here is the button event. I'm trying to do this the hard way, But I want avoid public declarations.

How would I program a clear button with:



1
2
3
4
5
private: System::Void clear_Click(System::Object^  sender, System::EventArgs^  e) 
		 {
			 
			 textBox1->Text= "";
		 }
nvm it suddenly works???
Topic archived. No new replies allowed.