Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.statusPanelControl = ((StatusPanelInfoControl.View.StatusPanelControl)(target));
                return;

            case 2:
                this.statusPanelDependecyControl = ((StatusPanelInfoDependencyControl.View.StatusPanelDependecyControl)(target));
                return;

            case 3:

            #line 17 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.statusPanelControl = ((StatusPanelInfoControl.View.StatusPanelControl)(target));
     return;
     case 2:
     this.statusPanelDependecyControl = ((StatusPanelInfoDependencyControl.View.StatusPanelDependecyControl)(target));
     return;
     case 3:
     
     #line 17 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }