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

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

            case 3:
                this.contentBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.nameBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

            case 8:
                this.SISOButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((MagicTactilForWindows.UCEventInfo)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.contentBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.nameBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.locationBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.dateBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.creatorNameBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.SISOButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     }
     this._contentLoaded = true;
 }