private void EnableDisable()
{
checkNotifySender.Enabled = radioDeleteEmail.Checked;
checkNotifyReceiver.Enabled = radioDeleteEmail.Checked;
textClamScanExecutable.Enabled = checkUseClamWin.Checked;
textClamScanDatabase.Enabled = checkUseClamWin.Checked;
buttonAutoDetect.Enabled = checkUseClamWin.Checked;
buttonClamWinTest.Enabled = checkUseClamWin.Checked;
textCustomScannerExecutable.Enabled = checkUseCustomScanner.Checked;
textCustomScannerReturnValue.Enabled = checkUseCustomScanner.Checked;
buttonCustomScannerTest.Enabled = checkUseCustomScanner.Checked;
textClamAVHostName.Enabled = checkClamAVEnabled.Checked;
textClamAVPort.Enabled = checkClamAVEnabled.Checked;
buttonClamAVTest.Enabled = checkClamAVEnabled.Checked;
buttonEditBlockedAttachment.Enabled = listBlockedAttachments.SelectedItems.Count == 1;
buttonDeleteBlockedAttachment.Enabled = listBlockedAttachments.SelectedItems.Count > 0;
}