protected override void Dispose(bool disposing) { if (sw != null) sw.Dispose(); if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); }