Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._MonitorUC = ((UbiDisplays.Interface.Controls.Monitor)(target));
                return;

            case 2:
                this.gs0 = ((System.Windows.Media.GradientStop)(target));
                return;

            case 3:
                this.gs1 = ((System.Windows.Media.GradientStop)(target));
                return;

            case 4:
                this._Container = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._MonitorUC = ((UbiDisplays.Interface.Controls.Monitor)(target));
     return;
     case 2:
     this.gs0 = ((System.Windows.Media.GradientStop)(target));
     return;
     case 3:
     this.gs1 = ((System.Windows.Media.GradientStop)(target));
     return;
     case 4:
     this._Container = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }