private void CheckStatus()
        {
            // Check if installed clam files exist
            if (ClamConfig.IsInstalled())
            {
                if (ClamWinUpgradeAvailable())
                {
                    SetUpgrade();
                }
                else
                {
                    SetRemove();
                }
            }
            else if (DownloadOkay())
            {
                SetInstall();
            }
            else
            {
                SetDownload();
            }

            if (client.IsBusy)
            {
                SetCancel();
            }

            CheckEnabled();
        }
Beispiel #2
0
 private void LogStatusCheck()
 {
     QuarantineToolBarButton.Enabled = ClamConfig.IsInstalled();
     UpdateToolBarButton.Enabled     = ClamConfig.IsInstalled();
     ScanToolBarButton.Enabled       = ClamConfig.IsInstalled();
 }