public MainForm() { InitializeComponent(); radarFrontBuffer = new Bitmap(radarCanvas.Width, radarCanvas.Width); radarBackBuffer = new Bitmap(radarCanvas.Width, radarCanvas.Width); SFConfig config = SFConfig.LoadConfig(); launcher = new Launcher(this); listBoxSolutions.DataSource = new List <SolutionTypeEntry>(SolutionTypeEntry.GetSolutionTypes()); comboBoxProcesses.DataSource = new List <ProcessEntry>(ProcessEntry.GetRunningWoWProcessess()); comboBoxPresets.DataSource = new List <Preset>(config.Presets); }
protected void Application_Start() { SFConfig.Init(); AreaRegistration.RegisterAllAreas(); WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); AuthConfig.RegisterAuth(); ConfigLog4net(); GlobalDataBusiness.SetGolbalData(); BootStrap.Config(); }