Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((eReading.SearchBox)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.searchText = ((System.Windows.Controls.TextBox)(target));

            #line 6 "..\..\..\SearchBox.xaml"
                this.searchText.LostFocus += new System.Windows.RoutedEventHandler(this.searchText_LostFocus);

            #line default
            #line hidden

            #line 6 "..\..\..\SearchBox.xaml"
                this.searchText.GotFocus += new System.Windows.RoutedEventHandler(this.searchText_GotFocus);

            #line default
            #line hidden
                return;

            case 4:
                this.searchButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((eReading.SearchBox)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.searchText = ((System.Windows.Controls.TextBox)(target));
     
     #line 6 "..\..\..\SearchBox.xaml"
     this.searchText.LostFocus += new System.Windows.RoutedEventHandler(this.searchText_LostFocus);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\SearchBox.xaml"
     this.searchText.GotFocus += new System.Windows.RoutedEventHandler(this.searchText_GotFocus);
     
     #line default
     #line hidden
     return;
     case 4:
     this.searchButton = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }