Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Tools/HeuristicLab.HiveDrain/HeuristicLab.HiveDrain/Plugin.cs @ 9694

Last change on this file since 9694 was 9694, checked in by ascheibe, 10 years ago

#2017 added a HL application based on apetrei's Hive Drain to the tools branch

File size: 797 bytes
Line 
1using System.Windows.Forms;
2using HeuristicLab.PluginInfrastructure;
3
4namespace HiveDrain {
5  // Hive Drain HeuristicLab Application, based on the original code of apetrei's Hive Drain Console Application
6  [Plugin("HeuristicLab.HiveDrain", "1.0.0.0")]
7  [PluginFile("HeuristicLab.HiveDrain.dll", PluginFileType.Assembly)]
8  public class HiveDrainPlugin : PluginBase { }
9
10  [Application("Hive Drain", "Downloads and saves Hive Jobs")]
11  public class HeuristicLabHiveDrainApplication : ApplicationBase {
12    public static int MaxParallelDownloads = 2;
13
14    public override void Run(ICommandLineArgument[] args) {
15      Application.EnableVisualStyles();
16      Application.SetCompatibleTextRenderingDefault(false);
17      Application.Run(new HiveDrainMainWindow());
18    }
19  }
20}
Note: See TracBrowser for help on using the repository browser.