void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((TicTacToe.MainWindow)(target)); return; case 2: this.mainFrame = ((System.Windows.Controls.Frame)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((TicTacToe.MainWindow)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: #line 12 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 4: this.Title = ((System.Windows.Controls.Label)(target)); return; case 5: this.Score = ((System.Windows.Controls.Label)(target)); return; case 6: this.LabelO = ((System.Windows.Controls.Label)(target)); return; case 7: this.LabelX = ((System.Windows.Controls.Label)(target)); return; case 8: this.Label1 = ((System.Windows.Controls.Label)(target)); return; case 9: this.Label2 = ((System.Windows.Controls.Label)(target)); return; case 10: this.Labelx = ((System.Windows.Controls.Label)(target)); return; case 11: this.LabelTurn = ((System.Windows.Controls.Label)(target)); return; case 12: this.Reset = ((System.Windows.Controls.Button)(target)); #line 59 "..\..\..\MainWindow.xaml" this.Reset.Click += new System.Windows.RoutedEventHandler(this.Reset_Click); #line default #line hidden return; case 13: this.gridTable = ((System.Windows.Controls.Grid)(target)); return; case 14: this.Button1 = ((System.Windows.Controls.Button)(target)); #line 88 "..\..\..\MainWindow.xaml" this.Button1.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 15: this.Button2 = ((System.Windows.Controls.Button)(target)); #line 96 "..\..\..\MainWindow.xaml" this.Button2.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 16: this.Button3 = ((System.Windows.Controls.Button)(target)); #line 104 "..\..\..\MainWindow.xaml" this.Button3.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 17: this.Button4 = ((System.Windows.Controls.Button)(target)); #line 112 "..\..\..\MainWindow.xaml" this.Button4.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 18: this.Button5 = ((System.Windows.Controls.Button)(target)); #line 120 "..\..\..\MainWindow.xaml" this.Button5.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 19: this.Button6 = ((System.Windows.Controls.Button)(target)); #line 128 "..\..\..\MainWindow.xaml" this.Button6.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 20: this.Button7 = ((System.Windows.Controls.Button)(target)); #line 136 "..\..\..\MainWindow.xaml" this.Button7.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 21: this.Button8 = ((System.Windows.Controls.Button)(target)); #line 144 "..\..\..\MainWindow.xaml" this.Button8.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 22: this.Button9 = ((System.Windows.Controls.Button)(target)); #line 152 "..\..\..\MainWindow.xaml" this.Button9.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }