コード例 #1
0
ファイル: MainForm.cs プロジェクト: zgbjmy2009/SpellFire
        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);
        }
コード例 #2
0
ファイル: Global.asax.cs プロジェクト: KhaledSMQ/SunNet.PM
        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();
        }