示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((LL.Solutions.PMS.SystemStatus.Views.SystemView)(target));
                return;

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

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

            case 4:
                this.txtLvlAS = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.txtLvlFS = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.txtLvlBS = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.pbLevel = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 8:
                this.txtPBLevel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.spLevelController = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.MessagesListBox = ((System.Windows.Controls.ListBox)(target));

            #line 168 "..\..\..\Views\SystemView.xaml"
                this.MessagesListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MessagesListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.spZoneController = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.userControl = ((LL.Solutions.PMS.SystemStatus.Views.SystemView)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.txtLvlName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.txtLvlAS = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.txtLvlFS = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.txtLvlBS = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.pbLevel = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 8:
     this.txtPBLevel = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.spLevelController = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 10:
     this.MessagesListBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 168 "..\..\..\Views\SystemView.xaml"
     this.MessagesListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MessagesListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.spZoneController = ((System.Windows.Controls.StackPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }