CheckUpdate() 공개 메소드

アップデートチェックを行う
public CheckUpdate ( bool manualUpdate = false ) : bool
manualUpdate bool
리턴 bool
예제 #1
0
        private void onUpdateCsvRules(object sender, EventArgs e)
        {
            CsvRulesUpdater updater = new CsvRulesUpdater();

            if (updater.CheckUpdate(true))
            {
                mRules.LoadAllRules();
                updateList();
            }
        }
예제 #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();
            }
        }
예제 #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();
            }
        }
예제 #4
0
        private void onUpdateCsvRules(object sender, EventArgs e)
        {
            CsvRulesUpdater updater = new CsvRulesUpdater();

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