Changeset 2931 for trunk/sources/HeuristicLab.Optimizer
- Timestamp:
- 03/05/10 01:03:30 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimizer/3.3
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimizer/3.3/HeuristicLab.Optimizer-3.3.csproj
r2900 r2931 95 95 <Compile Include="MenuItems\OpenMenuItem.cs" /> 96 96 <Compile Include="MenuItems\ExitMenuItem.cs" /> 97 <Compile Include="HeuristicLabOptimizerApplication.cs" />98 97 <Compile Include="HeuristicLabOptimizerPlugin.cs" /> 99 98 <Compile Include="IOptimizerUserInterfaceItemProvider.cs" /> -
trunk/sources/HeuristicLab.Optimizer/3.3/HeuristicLabOptimizerPlugin.cs.frame
r2790 r2931 20 20 #endregion 21 21 22 using System.Windows.Forms; 22 23 using HeuristicLab.PluginInfrastructure; 23 24 … … 33 34 public class HeuristicLabOptimizerPlugin : PluginBase { 34 35 } 36 37 [Application("Optimizer", "HeuristicLab Optimizer 3.3.0.$WCREV$")] 38 internal class HeuristicLabOptimizerApplication : ApplicationBase { 39 public override void Run() { 40 OptimizerMainForm mainForm = new OptimizerMainForm(typeof(IOptimizerUserInterfaceItemProvider)); 41 Application.Run(mainForm); 42 } 43 } 35 44 } -
trunk/sources/HeuristicLab.Optimizer/3.3/OptimizerMainForm.cs
r2791 r2931 21 21 22 22 using System; 23 using System.Linq; 23 24 using System.Reflection; 24 25 using System.Windows.Forms; … … 41 42 protected override void OnInitialized(EventArgs e) { 42 43 base.OnInitialized(e); 43 Title = "HeuristicLab Optimizer " + Assembly.GetExecutingAssembly().GetName().Version.ToString(); 44 AssemblyFileVersionAttribute version = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyFileVersionAttribute), true). 45 Cast<AssemblyFileVersionAttribute>().FirstOrDefault(); 46 Title = "HeuristicLab Optimizer"; 47 if (version != null) Title += " " + version.Version; 44 48 ViewClosed += new EventHandler<ViewEventArgs>(FileManager.ViewClosed); 45 49 OperatorsSidebar operatorsSidebar = new OperatorsSidebar();
Note: See TracChangeset
for help on using the changeset viewer.