void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txt_proc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.radialGauge = ((Telerik.Windows.Controls.RadRadialGauge)(target));
                return;

            case 3:
                this.scale = ((Telerik.Windows.Controls.Gauge.RadialScale)(target));
                return;

            case 4:
                this.needle = ((Telerik.Windows.Controls.Gauge.Needle)(target));
                return;

            case 5:
                this.txt_load = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.txt_graphics = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txt_mem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 8:
                this.txt_memo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.txt_system = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.txt_sound = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.txt_battery = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.tempature_needle = ((Telerik.Windows.Controls.Gauge.Needle)(target));
     return;
     case 2:
     this.humidity_needle = ((Telerik.Windows.Controls.Gauge.Needle)(target));
     return;
     case 3:
     this.light_needle = ((Telerik.Windows.Controls.Gauge.Needle)(target));
     return;
     case 4:
     this.distance_needle = ((Telerik.Windows.Controls.Gauge.Needle)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txt_proc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.radialGauge = ((Telerik.Windows.Controls.RadRadialGauge)(target));
                return;

            case 3:
                this.scale = ((Telerik.Windows.Controls.Gauge.RadialScale)(target));
                return;

            case 4:
                this.needle = ((Telerik.Windows.Controls.Gauge.Needle)(target));
                return;

            case 5:
                this.txt_load = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.txt_num_of_cores = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txt_logical = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txt_speed = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.txt_graphics = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.txt_driver = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.txt_driverdata = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.txt_av_mem = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.txt_access_mem = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.txt_total_mem = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.txt_free_mem = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.txt_busy_mem = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.txt_system = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.txt_sound = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.txt_madeby = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.txt_battery = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.txt_nazwa = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.txt_name = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }