c# - Delete control on form designer -
i wondering best way delete unused control (more specifically, timer) on visual studio 2010. go control in designer , delete there, code control still appears on class form. safe delete code associated control too?
as long don't need logic, yes. assume mean handlers produced when double click control (such button1_click()
). link handler removed when delete control, visual studio leaves functions in form class in case using them else.
Comments
Post a Comment