Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Gomoku_Game.Rectangle)(target));
                return;

            case 2:
                this.Loaded_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

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

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

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

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

            case 7:
                this.image3 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Gomoku_Game.Rectangle)(target));
     return;
     case 2:
     this.Loaded_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.image = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.image2 = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.image3 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }