예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((InstanceAnswerPro.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainPanel_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((InstanceAnswerPro.MainWindow)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.MainPanel_Unloaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     
     #line 7 "..\..\..\MainWindow.xaml"
     this.LayoutRoot.Loaded += new System.Windows.RoutedEventHandler(this.MainPanel_Loaded);
     
     #line default
     #line hidden
     
     #line 7 "..\..\..\MainWindow.xaml"
     this.LayoutRoot.Unloaded += new System.Windows.RoutedEventHandler(this.MainPanel_Unloaded);
     
     #line default
     #line hidden
     return;
     case 3:
     this.userName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.longNickName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.status = ((System.Windows.Controls.ComboBox)(target));
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.status.SourceUpdated += new System.EventHandler<System.Windows.Data.DataTransferEventArgs>(this.status_SourceUpdated);
     
     #line default
     #line hidden
     return;
     case 6:
     this.contactListPanel = ((InstanceAnswerPro.ContactListPanel)(target));
     return;
     case 7:
     this.communityListPanel = ((InstanceAnswerPro.CommunityListPanel)(target));
     return;
     case 8:
     this.messageListPanel = ((InstanceAnswerPro.RecentContactsPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\MainWindow.xaml"
                ((InstanceAnswerPro.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainPanel_Loaded);

            #line default
            #line hidden

            #line 4 "..\..\..\MainWindow.xaml"
                ((InstanceAnswerPro.MainWindow)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.MainPanel_Unloaded);

            #line default
            #line hidden
                return;

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

            #line 7 "..\..\..\MainWindow.xaml"
                this.LayoutRoot.Loaded += new System.Windows.RoutedEventHandler(this.MainPanel_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\..\MainWindow.xaml"
                this.LayoutRoot.Unloaded += new System.Windows.RoutedEventHandler(this.MainPanel_Unloaded);

            #line default
            #line hidden
                return;

            case 3:
                this.userName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.longNickName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 12 "..\..\..\MainWindow.xaml"
                this.status.SourceUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.status_SourceUpdated);

            #line default
            #line hidden
                return;

            case 6:
                this.contactListPanel = ((InstanceAnswerPro.ContactListPanel)(target));
                return;

            case 7:
                this.communityListPanel = ((InstanceAnswerPro.CommunityListPanel)(target));
                return;

            case 8:
                this.messageListPanel = ((InstanceAnswerPro.RecentContactsPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }