CheckUpdate() public method

アップデートチェックを行う
public CheckUpdate ( bool manualUpdate = false ) : bool
manualUpdate bool
return bool
Ejemplo n.º 1
0
        private void onUpdateCsvRules(object sender, EventArgs e)
        {
            CsvRulesUpdater updater = new CsvRulesUpdater();

            if (updater.CheckUpdate(true))
            {
                mRules.LoadAllRules();
                updateList();
            }
        }
Ejemplo n.º 2
0
        // コマンドライン処理
        private void onLoad(object sender, EventArgs e)
        {
            string[] argv = System.Environment.GetCommandLineArgs();
            if (argv.Length == 2)
            {
                string filepath = argv[1];
                if (filepath.EndsWith(".agr") || filepath.EndsWith(".AGR"))
                {
                    processAgrFile(filepath);
                }
            }
            else
            {
                // 通常起動時 : アップデート処理
                new VersionUpdateChecker().CheckUpdate();

                CsvRulesUpdater updater = new CsvRulesUpdater();
                updater.CheckUpdate();
            }
        }
Ejemplo n.º 3
0
        // コマンドライン処理
        private void onLoad(object sender, EventArgs e)
        {
            string[] argv = System.Environment.GetCommandLineArgs();
            if (argv.Length == 2)
            {
                string filepath = argv[1];
                if (filepath.EndsWith(".agr") || filepath.EndsWith(".AGR"))
                {
                    processAgrFile(filepath);
                }
            }
            else
            {
                // 通常起動時 : アップデート処理
                new VersionUpdateChecker().CheckUpdate();

                CsvRulesUpdater updater = new CsvRulesUpdater();
                updater.CheckUpdate();
            }
        }
Ejemplo n.º 4
0
        private void onUpdateCsvRules(object sender, EventArgs e)
        {
            CsvRulesUpdater updater = new CsvRulesUpdater();

            if (updater.CheckUpdate(true))
            {
                mRules.LoadAllRules();
                updateList();
            }
        }