Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pptCon = ((TouchFramework.ControlHandlers.PptViewer)(target));
                return;

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

            case 3:
                this.btGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.bt1 = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.bt2 = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.bt3 = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.bt4 = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.bt5 = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.img_cloud = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.pptCon = ((TouchFramework.ControlHandlers.PptViewer)(target));
     return;
     case 2:
     this.pptImg = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.btGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.bt1 = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.bt2 = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.bt3 = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.bt4 = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.bt5 = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.img_cloud = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }