public void Initialize()
{
ThumbnailCache.ClearCache();
new ModuleDataManager(MainForm.kModsDirectoryPath);
ModuleDataManager.GetInstance().Load();
ModuleDataManager.GetInstance().FilterAliasTree(treeView, null);
searchBox.BackColor = SystemColors.Window;
if (ModuleDataManager.GetInstance().HasErrors)
{
toolStripStatusLabel1.Text = "Errors were encountered while loading manifests";
toolStripStatusLabel1.ForeColor = Color.Red;
}
else
{
toolStripStatusLabel1.Text = "Successfully loaded manifests";
toolStripStatusLabel1.ForeColor = Color.Black;
}
}