void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.полеИгры = ((WPF_GameBall.MainWindow)(target));
                return;

            case 2:

            #line 9 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.НачатьИгру);

            #line default
            #line hidden
                return;

            case 3:

            #line 10 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ЗавершитьИгру);

            #line default
            #line hidden
                return;

            case 4:
                this.мяч = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.платформа = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.полеИгры = ((WPF_GameBall.MainWindow)(target));
     return;
     case 2:
     
     #line 9 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.НачатьИгру);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 10 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ЗавершитьИгру);
     
     #line default
     #line hidden
     return;
     case 4:
     this.мяч = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.платформа = ((System.Windows.Shapes.Rectangle)(target));
     return;
     }
     this._contentLoaded = true;
 }