private void checkIfCatNetScannerIsAvailable()
        {
            bool catNetAvailable = MsCatNetConfig.isCatScannerAvailable();

            lbCantFindCatNetExecutable.Visible  = !catNetAvailable;
            btInstallCatNet.Enabled             = !catNetAvailable;
            btCompileAspNet.Enabled             = false; //catNetAvailable;
            btScanDllOrWebSite.Enabled          = catNetAvailable;
            btConvertCatNetFindingsFile.Enabled = catNetAvailable;
            btCatNetDocumentation.Enabled       = false; // catNetAvailable;

            tbPathToCatNetExecutable.BackColor = (catNetAvailable) ? Color.LightGreen : Color.LightPink;
        }
Exemplo n.º 2
0
 private void onLoad()
 {
     if (runOnLoad && DesignMode == false)
     {
         rbScannerMSCatNet.Enabled = MsCatNetConfig.isCatScannerAvailable();
         adManualTestTempFiles.simpleMode_withAddressBar();
         adManualTestTempFiles._ShowFileSize = true;
         ascx_DropObject1.setText("Drop Files to Process Here  -  \n supports: *.dll, *.exe,*.sln and most Ounce generated files \n (paf, ppf, gaf, ewf,epf, etc...)");
         ado_AddFilesOrDirectoryToScanBundle.setText("Drop Files or Folders to add to Scan Bundle");
         tbWorkDirectory.Text = DI.config.O2TempDir;
         updateLabelWithNumberOfRulesInDatabase();
         runOnLoad = false;
     }
 }