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

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

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

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

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

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

            case 7:
                this.bt5 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.pptCon = ((Tjssm_Multi_Touch_Table.PptViewer)(target));
     return;
     case 2:
     this.pptImg = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.bt1 = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.bt2 = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.bt3 = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.bt4 = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.bt5 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }