예제 #1
0
 private void BrowserForm_Load(object sender, EventArgs e)
 {
     if (App.DebugMode)
     {
         Text = $"Inazuma Search {ApplicationEnvironment.GetVersionCaption()} [Debug Mode]";
     }
     App.Crawler.AlwaysCrawlProgress.ProgressChanged += AlwaysCrawlProgress_ProgressChanged;
 }
예제 #2
0
        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();
        }
예제 #3
0
 public string GetVersionCaption()
 {
     return(ApplicationEnvironment.GetVersionCaption());
 }