private void LoadIndexer(string file)
{
if (!File.Exists(file))
{
MessageBox.Show(this, String.Format(Properties.Resources.DumpFileDoesNotExist, file), Properties.Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Warning);
return;
}
Indexer ixr = new Indexer(file);
if (!ixr.IndexExists)
{
if (new ProgressDialog(ixr).ShowDialog(this) != DialogResult.OK)
{
return;
}
}
indexes.Add(ixr.File, ixr);
}