예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RootView = ((Alta.Plugin.AutoComplete)(target));

            #line 7 "..\..\AutoComplete.xaml"
                this.RootView.Loaded += new System.Windows.RoutedEventHandler(this.RootView_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\AutoComplete.xaml"
                this.RootView.KeyUp += new System.Windows.Input.KeyEventHandler(this.RootView_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.UIRoot = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 4:
                this.lbSuggestion = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RootView = ((Alta.Plugin.AutoComplete)(target));
     
     #line 7 "..\..\AutoComplete.xaml"
     this.RootView.Loaded += new System.Windows.RoutedEventHandler(this.RootView_Loaded);
     
     #line default
     #line hidden
     
     #line 7 "..\..\AutoComplete.xaml"
     this.RootView.KeyUp += new System.Windows.Input.KeyEventHandler(this.RootView_KeyUp);
     
     #line default
     #line hidden
     return;
     case 2:
     this.UIRoot = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.UISearch = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.lbSuggestion = ((System.Windows.Controls.ListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }