CTRL+F
Set Examine to "Headers Only"
OBSERVE: "Search binaries" and "Decode First" checkboxes are correctly disabled.
Perform a search
CTRL+F
OBSERVE: BUG: When the dialog reopens, the "Search Binaries" checkbox is not disabled.
The bug is in the initialization of the dialog. The selected entries in the comboboxes for "Examine" and "Search In" are set in that order, but the code in the SelectedIndexChanged event handlers is not independent. The SearchIn combobox's change handler sets the state of SearchBinaries checkbox without considering the state of the Examine combobox.