using System.Windows.Forms; using HeuristicLab.PluginInfrastructure; namespace HiveDrain { // Hive Drain HeuristicLab Application, based on the original code of apetrei's Hive Drain Console Application [Plugin("HeuristicLab.HiveDrain", "1.0.0.0")] [PluginFile("HeuristicLab.HiveDrain.dll", PluginFileType.Assembly)] public class HiveDrainPlugin : PluginBase { } [Application("Hive Drain", "Downloads and saves Hive Jobs")] public class HeuristicLabHiveDrainApplication : ApplicationBase { public static int MaxParallelDownloads = 2; public override void Run(ICommandLineArgument[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new HiveDrainMainWindow()); } } }