protected override void OnClosing( CancelEventArgs e ) { try { if (!string.IsNullOrEmpty( _tempFileName )) File.Delete( _tempFileName ); } catch (Exception err) { /* Do Nothing */ } base.OnClosing( e ); }