Jump to content

cbox


(C#)Clear Items


Lakar

Recommended Posts

Posted

(C#)Clear Items

 

This is how you would clear, let's use as an example, a textbox. This is mainly used when you are closing a program, and want all data to be cleared in those text boxes.

 

			this.textBox1.Clear();

 

All you have to do to use this for other objects is change textbox to the item you want to clear. For example "this.picturebox1.Clear();".

 

Enjoy

 

-Lakar

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...