void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MWindow = ((PingPong.MainWindow)(target)); return; case 2: #line 12 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NewGame); #line default #line hidden return; case 3: #line 13 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit); #line default #line hidden return; case 4: this.ellipseBall = ((System.Windows.Shapes.Ellipse)(target)); return; case 5: this.rectanglePad = ((System.Windows.Shapes.Rectangle)(target)); return; } this._contentLoaded = true; }