예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnBeep = ((RSSMachine.HMIButton)(target));
                return;

            case 2:
                this.recMouse = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 3:
                this.btnAllow = ((RSSMachine.HMIButton)(target));
                return;

            case 4:
                this.btnDeny = ((RSSMachine.HMIButton)(target));
                return;

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

            case 6:
                this.recMouse_Copy = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 7:
                this.txtCaption_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.lblLoopCount = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.lblCycleSpan = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lblQueueCount = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnRealRSS = ((RSSMachine.HMIButton)(target));
                return;

            case 2:
                this.btnSimRSS = ((RSSMachine.HMIButton)(target));
                return;

            case 3:
                this.updRealRSS = ((RSSMachine.UpdateControl)(target));
                return;

            case 4:
                this.txtCaption = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.img = ((System.Windows.Controls.Image)(target));
                return;

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

            case 4:
                this.btnContinue = ((RSSMachine.HMIButton)(target));
                return;
            }
            this._contentLoaded = true;
        }