/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing)
{
// Remove any cached obscurer
if (_obscurer != null)
{
try
{
_obscurer.Uncover();
_obscurer.Dispose();
_obscurer = null;
}
catch { }
}
}
base.Dispose(disposing);
}