protected override void Dispose( bool disposing ) { if ( disposing ) { if ( components != null ) components.Dispose( ); // free graphics resources blackPen.Dispose( ); } base.Dispose( disposing ); }