コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((MagicTactilForWindows.View.LogIn)(target));
                return;

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

            case 3:
                this.regTools = ((MagicTactilForWindows.UCReg)(target));
                return;

            case 4:
                this.logTools = ((MagicTactilForWindows.UCLog)(target));
                return;

            case 5:
                this.radioLogin = ((MagicTactilForWindows.UCRButtonLogin)(target));
                return;

            case 6:
                this.Errmsg = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((MagicTactilForWindows.View.LogIn)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.regTools = ((MagicTactilForWindows.UCReg)(target));
     return;
     case 4:
     this.logTools = ((MagicTactilForWindows.UCLog)(target));
     return;
     case 5:
     this.radioLogin = ((MagicTactilForWindows.UCRButtonLogin)(target));
     return;
     case 6:
     this.Errmsg = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }