private void BeginTreeLoading()
{
// KFreon: Move to backbone if necessary
if (!MainTreeView.InvokeRequired)
{
backbone.AddToBackBone(b =>
{
BeginTreeLoading();
return true;
});
return;
}
string orig = OverallStatusLabel.Text;
Overall.UpdateText("Attempting to load tree...");
LoadTrees();
Overall.UpdateText(orig);
// KFreon: Change GUI stuff
gooey.ModifyControl("ExtractTOP", LoadedTexes.Count > 0);
gooey.ModifyControl("ClearAll", LoadedTexes.Count > 0);
gooey.ModifyControl("Rebuild", false);
gooey.ModifyControl("RunAutofix", false);
gooey.ModifyControl("extractInvalid", false);
gooey.ModifyControl("extractValids", false);
}