void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DlgSearchInNotes = ((PNotes.NET.WndSearchInNotes)(target));

            #line 17 "..\..\WndSearchInNotes.xaml"
                this.DlgSearchInNotes.Loaded += new System.Windows.RoutedEventHandler(this.DlgSearchInNotes_Loaded);

            #line default
            #line hidden

            #line 18 "..\..\WndSearchInNotes.xaml"
                this.DlgSearchInNotes.Closed += new System.EventHandler(this.DlgSearchInNotes_Closed);

            #line default
            #line hidden

            #line 19 "..\..\WndSearchInNotes.xaml"
                this.DlgSearchInNotes.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DlgSearchInNotes_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.lblFind = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.cboFind = ((System.Windows.Controls.ComboBox)(target));

            #line 40 "..\..\WndSearchInNotes.xaml"
                this.cboFind.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.Combo_TextChanged));

            #line default
            #line hidden

            #line 40 "..\..\WndSearchInNotes.xaml"
                this.cboFind.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Combo_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.lblReplace = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.cboReplace = ((System.Windows.Controls.ComboBox)(target));

            #line 42 "..\..\WndSearchInNotes.xaml"
                this.cboReplace.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.Combo_TextChanged));

            #line default
            #line hidden

            #line 42 "..\..\WndSearchInNotes.xaml"
                this.cboReplace.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Combo_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.chkMatchCase = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 7:
                this.chkWholeWord = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.chkIncludeHidden = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.lblSearchCriteria = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.cboSearchСriteria = ((System.Windows.Controls.ComboBox)(target));

            #line 47 "..\..\WndSearchInNotes.xaml"
                this.cboSearchСriteria.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboSearchСriteria_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.lblSearchScope = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.cboSearchScope = ((System.Windows.Controls.ComboBox)(target));

            #line 49 "..\..\WndSearchInNotes.xaml"
                this.cboSearchScope.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboSearchScope_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.cmdClearHistory = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\WndSearchInNotes.xaml"
                this.cmdClearHistory.Click += new System.Windows.RoutedEventHandler(this.cmdClearHistory_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.cmdClearSettings = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\WndSearchInNotes.xaml"
                this.cmdClearSettings.Click += new System.Windows.RoutedEventHandler(this.cmdClearSettings_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.lblSearchResults = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.tvwResults = ((PNotes.NET.PNTreeView)(target));
                return;

            case 17:
                this.cmdReplaceAll = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\WndSearchInNotes.xaml"
                this.cmdReplaceAll.Click += new System.Windows.RoutedEventHandler(this.cmdReplaceAll_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.cmdFind = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\WndSearchInNotes.xaml"
                this.cmdFind.Click += new System.Windows.RoutedEventHandler(this.cmdFind_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.cmdCancel = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\WndSearchInNotes.xaml"
                this.cmdCancel.Click += new System.Windows.RoutedEventHandler(this.cmdCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DlgSearchInNotes = ((PNotes.NET.WndSearchInNotes)(target));
     
     #line 17 "..\..\WndSearchInNotes.xaml"
     this.DlgSearchInNotes.Loaded += new System.Windows.RoutedEventHandler(this.DlgSearchInNotes_Loaded);
     
     #line default
     #line hidden
     
     #line 18 "..\..\WndSearchInNotes.xaml"
     this.DlgSearchInNotes.Closed += new System.EventHandler(this.DlgSearchInNotes_Closed);
     
     #line default
     #line hidden
     
     #line 19 "..\..\WndSearchInNotes.xaml"
     this.DlgSearchInNotes.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DlgSearchInNotes_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.lblFind = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.cboFind = ((System.Windows.Controls.ComboBox)(target));
     
     #line 40 "..\..\WndSearchInNotes.xaml"
     this.cboFind.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.Combo_TextChanged));
     
     #line default
     #line hidden
     
     #line 40 "..\..\WndSearchInNotes.xaml"
     this.cboFind.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Combo_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.lblReplace = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.cboReplace = ((System.Windows.Controls.ComboBox)(target));
     
     #line 42 "..\..\WndSearchInNotes.xaml"
     this.cboReplace.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.Combo_TextChanged));
     
     #line default
     #line hidden
     
     #line 42 "..\..\WndSearchInNotes.xaml"
     this.cboReplace.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Combo_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.chkMatchCase = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 7:
     this.chkWholeWord = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.chkIncludeHidden = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 9:
     this.lblSearchCriteria = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.cboSearchСriteria = ((System.Windows.Controls.ComboBox)(target));
     
     #line 47 "..\..\WndSearchInNotes.xaml"
     this.cboSearchСriteria.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboSearchСriteria_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.lblSearchScope = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.cboSearchScope = ((System.Windows.Controls.ComboBox)(target));
     
     #line 49 "..\..\WndSearchInNotes.xaml"
     this.cboSearchScope.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboSearchScope_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.cmdClearHistory = ((System.Windows.Controls.Button)(target));
     
     #line 50 "..\..\WndSearchInNotes.xaml"
     this.cmdClearHistory.Click += new System.Windows.RoutedEventHandler(this.cmdClearHistory_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.cmdClearSettings = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\WndSearchInNotes.xaml"
     this.cmdClearSettings.Click += new System.Windows.RoutedEventHandler(this.cmdClearSettings_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.lblSearchResults = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.tvwResults = ((PNotes.NET.PNTreeView)(target));
     return;
     case 17:
     this.cmdReplaceAll = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\WndSearchInNotes.xaml"
     this.cmdReplaceAll.Click += new System.Windows.RoutedEventHandler(this.cmdReplaceAll_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.cmdFind = ((System.Windows.Controls.Button)(target));
     
     #line 61 "..\..\WndSearchInNotes.xaml"
     this.cmdFind.Click += new System.Windows.RoutedEventHandler(this.cmdFind_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.cmdCancel = ((System.Windows.Controls.Button)(target));
     
     #line 62 "..\..\WndSearchInNotes.xaml"
     this.cmdCancel.Click += new System.Windows.RoutedEventHandler(this.cmdCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }