#region License Information /* HeuristicLab * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL) * * This file is part of HeuristicLab. * * HeuristicLab is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * HeuristicLab is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with HeuristicLab. If not, see . */ #endregion using HeuristicLab.Clients.Access; using HeuristicLab.Common; using HeuristicLab.Core; using HeuristicLab.PluginInfrastructure; using System.Windows.Forms; namespace HeuristicLab.OptimizationExpertSystem { /// /// Plugin class for HeuristicLab.OptimizationExpertSystem plugin. /// [Plugin("HeuristicLab.OptimizationExpertSystem", "3.3.12.$WCREV$")] [PluginFile("HeuristicLab.OptimizationExpertSystem-3.3.dll", PluginFileType.Assembly)] [PluginDependency("HeuristicLab.Analysis", "3.3")] [PluginDependency("HeuristicLab.Collections", "3.3")] [PluginDependency("HeuristicLab.Common", "3.3")] [PluginDependency("HeuristicLab.Common.Resources", "3.3")] [PluginDependency("HeuristicLab.Core", "3.3")] [PluginDependency("HeuristicLab.Data", "3.3")] [PluginDependency("HeuristicLab.Operators", "3.3")] [PluginDependency("HeuristicLab.Optimization", "3.3")] [PluginDependency("HeuristicLab.OptimizationExpertSystem.Common", "3.3")] [PluginDependency("HeuristicLab.Persistence", "3.3")] public class HeuristicLabOptimizationExpertSystemPlugin : PluginBase { } [Application("Optimization Knowledge Center", "HeuristicLab Optimization Knowledge Center 3.3.13.$WCREV$")] internal class HeuristicLabOptimizationKnowledgeCenterApplication : ApplicationBase { public override void Run(ICommandLineArgument[] args) { HeuristicLab.MainForm.WindowsForms.MainForm mainForm = new OptimizationKnowledgeCenter(typeof(IOptimizationKnowledgeCenterUi)); ClientInformation.InitializeAsync(); UserInformation.InitializeAsync(); ContentManager.Initialize(new PersistenceContentManager()); mainForm.ShowContentInViewHost = true; Application.Run(mainForm); } } }