code_junkie

How do I add Dispose functionality to a C# UserControl?

Nov 11th, 2011
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. protected override void Dispose(bool disposing)
  2. {
  3. if (disposing && (components != null))
  4. {
  5. components.Dispose();
  6. }
  7. base.Dispose(disposing);
  8. }
Add Comment
Please, Sign In to add comment