Changeset 13353 for branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure.UI/SplashScreen.cs
- Timestamp:
- 11/24/15 11:58:27 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure.UI/SplashScreen.cs
r13340 r13353 42 42 this.pluginManager = manager; 43 43 44 var entryAssembly = Assembly.GetEntryAssembly(); 44 45 RegisterPluginManagerEventHandlers(); 45 46 46 versionLabel.Text = "Version " + typeof(PluginManager).Assembly.GetFileVersion() + " Windischgarsten (11/2015)"; 47 versionLabel.Text = "Version " + entryAssembly.GetFileVersion() + " " 48 + entryAssembly.GetCustomAttributes().OfType<AssemblyInformationalVersionAttribute>().First().InformationalVersion; // code name 47 49 infoLabel.Text = ""; 48 50 49 var attr = (AssemblyCopyrightAttribute)typeof(PluginManager).Assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false).Single();51 var attr = entryAssembly.GetCustomAttributes().OfType<AssemblyCopyrightAttribute>().Single(); 50 52 copyrightLabel.Text = "Copyright " + attr.Copyright; 51 53 … … 101 103 try { 102 104 Invoke((Action<string>)UpdateMessage, msg); 103 } 104 catch (ObjectDisposedException) { } 105 } catch (ObjectDisposedException) { } 105 106 } 106 107
Note: See TracChangeset
for help on using the changeset viewer.