Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ctlDetop_Sharing = ((Desktop_Sharing.Presentation.ctlDesktop_Sharing)(target));
                return;

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

            case 3:
                this.row1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.row2 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.col1 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 6:
                this.cnvTop = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

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

            case 10:
                this.btnView = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.btnControl = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.btnClose = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.desktopViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 14:
                this.imgUser_Desktop = ((System.Windows.Controls.Image)(target));
                return;

            case 15:
                this.myViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 16:
                this.cnvDesktops = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ctlDetop_Sharing = ((Desktop_Sharing.Presentation.ctlDesktop_Sharing)(target));
     return;
     case 2:
     this.grdMain = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.row1 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 4:
     this.row2 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 5:
     this.col1 = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 6:
     this.cnvTop = ((System.Windows.Controls.Canvas)(target));
     return;
     case 7:
     this.txtInput = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.lblResolution = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.lblUser_Desktop = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.btnView = ((System.Windows.Controls.Button)(target));
     return;
     case 11:
     this.btnControl = ((System.Windows.Controls.Button)(target));
     return;
     case 12:
     this.btnClose = ((System.Windows.Controls.Button)(target));
     return;
     case 13:
     this.desktopViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 14:
     this.imgUser_Desktop = ((System.Windows.Controls.Image)(target));
     return;
     case 15:
     this.myViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 16:
     this.cnvDesktops = ((System.Windows.Controls.WrapPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }