Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rpbCPU = ((WpfApp2.ProgressBar)(target));
                return;

            case 2:
                this.lblCPUPercent = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._this = ((WpfApp2.ProgressBar)(target));
                return;

            case 2:
                this.Background = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 3:
                this.Indicator = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 4:
                this.Border = ((System.Windows.Shapes.Ellipse)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rpbCPU = ((WpfApp2.ProgressBar)(target));
                return;

            case 2:
                this.lblCPUPercent = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

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

            case 9:
                this.lblGPUName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.lblGPURAM = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.lblGPUSpec = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.lblGPUMem = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.lblRAM = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.lblRAMCapacity = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }