protected override void Dispose(bool disposing)
{
if (disposing)
{
if (components != null)
{
components.Dispose();
}
}
if (indexReader != null)
try
{
indexReader.Close();
}
catch (Exception) { };
if (dir != null)
try
{
dir.Close();
}
catch (Exception) { };
if (p != null)
try
{ p.Save(); }
catch (Exception) { }
base.Dispose(disposing);
}