예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\MainWindow.xaml"
                ((CMC4EP.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.FriendList = ((Ctrl.FriendsList)(target));
                return;

            case 3:
                this.P_list = ((Ctrl.Search_list)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.P_list.Loaded += new System.Windows.RoutedEventHandler(this.Search_list_Loaded);

            #line default
            #line hidden

            #line 59 "..\..\MainWindow.xaml"
                this.P_list.ItemSelected += new System.Windows.RoutedEventHandler(this.P_list_ItemSelected);

            #line default
            #line hidden
                return;

            case 4:
                this.UInform = ((Ctrl.UserInform)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 12 "..\..\MainWindow.xaml"
     ((CMC4EP.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.FriendList = ((Ctrl.FriendsList)(target));
     return;
     case 3:
     this.P_list = ((Ctrl.Search_list)(target));
     
     #line 59 "..\..\MainWindow.xaml"
     this.P_list.Loaded += new System.Windows.RoutedEventHandler(this.Search_list_Loaded);
     
     #line default
     #line hidden
     
     #line 59 "..\..\MainWindow.xaml"
     this.P_list.ItemSelected += new System.Windows.RoutedEventHandler(this.P_list_ItemSelected);
     
     #line default
     #line hidden
     return;
     case 4:
     this.UInform = ((Ctrl.UserInform)(target));
     return;
     }
     this._contentLoaded = true;
 }