aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs
index 121d429ec..07834393b 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs
@@ -80,8 +80,12 @@ namespace Tango.MachineStudio.UI.Modules
if (!_loaded)
{
//Preloaded
+
+ LogManager.Log(String.Format("Loading module '{0}'...", nameof(StubsModule)));
AllModules.Add(new StubsModule());
+ LogManager.Log(String.Format("Loading module '{0}'...", nameof(DBModule)));
AllModules.Add(new DBModule());
+ LogManager.Log(String.Format("Loading module '{0}'...", nameof(MachineDesignerModule)));
AllModules.Add(new MachineDesignerModule());
//Preloaded
@@ -103,6 +107,7 @@ namespace Tango.MachineStudio.UI.Modules
{
try
{
+ LogManager.Log(String.Format("Loading module '{0}'...", moduleType.Name));
var module = Activator.CreateInstance(moduleType) as IStudioModule;
AllModules.Add(module);
}
@@ -117,7 +122,7 @@ namespace Tango.MachineStudio.UI.Modules
catch { }
}
- _loaded = true;
+ _loaded = true;
}
UserModules.Clear();