private void BrowserForm_Load(object sender, EventArgs e) { if (App.DebugMode) { Text = $"Inazuma Search {ApplicationEnvironment.GetVersionCaption()} [Debug Mode]"; } App.Crawler.AlwaysCrawlProgress.ProgressChanged += AlwaysCrawlProgress_ProgressChanged; }
private void DipswForm_Load(object sender, EventArgs e) { UpdateLabels(); lblVersion.Text = ApplicationEnvironment.GetVersionCaption(); tblDebug.Visible = Application.DebugMode; lnkOpenDataFolder.Visible = Application.DebugMode; BtnRebootDebugMode.Visible = !Application.DebugMode; UpdateExtensionList(); NumDisplayPageSizeForNormalView.Value = Application.UserSettings.DisplayPageSizeForNormalView; NumDisplayPageSizeForListView.Value = Application.UserSettings.DisplayPageSizeForListView; // 文書データベース保存先関連のボタン押下可否を更新 DocumentDBDirOperationDisplayState(); }
public string GetVersionCaption() { return(ApplicationEnvironment.GetVersionCaption()); }