示例#1
0
        public SearchPanelControlAdapter()
        {
            NSBundle.LoadNib("SearchPanelControl", this);

            checkableControls[ViewCheckableControl.MatchCase] = matchCaseCheckbox;
            checkableControls[ViewCheckableControl.WholeWord] = wholeWordCheckbox;
            checkableControls[ViewCheckableControl.RegExp]    = regexCheckbox;
            checkableControls[ViewCheckableControl.SearchWithinThisThread] = searchInCurrentThreadCheckbox;
            checkableControls[ViewCheckableControl.SearchWithinCurrentLog] = searchInCurrentLogCheckbox;
            checkableControls[ViewCheckableControl.QuickSearch]            = quickSearchRadioButton;
            checkableControls[ViewCheckableControl.SearchUp]                  = searchUpCheckbox;
            checkableControls[ViewCheckableControl.SearchInSearchResult]      = searchInSearchResultsCheckbox;
            checkableControls[ViewCheckableControl.SearchAllOccurences]       = searchAllRadioButton;
            checkableControls[ViewCheckableControl.SearchFromCurrentPosition] = fromCurrentPositionCheckbox;

            quickSearchTextBox = new QuickSearchTextBoxAdapter();
            quickSearchTextBox.View.MoveToPlaceholder(quickSearchPlaceholder);
        }
 // Shared initialization code
 void Initialize()
 {
     quickSearchTextBoxAdapter = new QuickSearchTextBoxAdapter();
 }