void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window1 = ((Tic_Tac_Toe.MainWindow)(target)); return; case 2: this.mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.title = ((System.Windows.Controls.Label)(target)); return; case 4: #line 30 "..\..\MainWindow.xaml" ((System.Windows.Controls.ComboBox)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Loaded); #line default #line hidden #line 31 "..\..\MainWindow.xaml" ((System.Windows.Controls.ComboBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged); #line default #line hidden return; case 5: #line 32 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btn_SettingClick); #line default #line hidden return; case 6: this.mainText = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.boardLabel = ((System.Windows.Controls.Label)(target)); return; case 8: #line 35 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btn_LoadClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.KNWindow = ((Tic_Tac_Toe.MainWindow)(target)); return; case 2: this.DragMoveLabel = ((System.Windows.Controls.Label)(target)); #line 19 "..\..\MainWindow.xaml" this.DragMoveLabel.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragMoveLabel_MouseLeftButtonDown); #line default #line hidden return; case 3: this.MinimizeLabel = ((System.Windows.Controls.Label)(target)); #line 20 "..\..\MainWindow.xaml" this.MinimizeLabel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.MinimizeLabel_MouseLeftButtonUp); #line default #line hidden return; case 4: this.CloseLabel = ((System.Windows.Controls.Label)(target)); #line 25 "..\..\MainWindow.xaml" this.CloseLabel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.CloseLabel_MouseLeftButtonUp); #line default #line hidden return; case 5: this.b2_image = ((System.Windows.Controls.Image)(target)); return; case 6: this.b1_image = ((System.Windows.Controls.Image)(target)); return; case 7: this.c1_image = ((System.Windows.Controls.Image)(target)); return; case 8: this.c2_image = ((System.Windows.Controls.Image)(target)); return; case 9: this.a2_image = ((System.Windows.Controls.Image)(target)); return; case 10: this.b3_image = ((System.Windows.Controls.Image)(target)); return; case 11: this.c3_image = ((System.Windows.Controls.Image)(target)); return; case 12: this.a3_image = ((System.Windows.Controls.Image)(target)); return; case 13: this.a1_image = ((System.Windows.Controls.Image)(target)); return; case 14: this.a1_label = ((System.Windows.Controls.Label)(target)); #line 39 "..\..\MainWindow.xaml" this.a1_label.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.a1_label_MouseLeftButtonUp); #line default #line hidden return; case 15: this.b1_label = ((System.Windows.Controls.Label)(target)); #line 40 "..\..\MainWindow.xaml" this.b1_label.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.b1_label_MouseLeftButtonUp); #line default #line hidden return; case 16: this.c1_label = ((System.Windows.Controls.Label)(target)); #line 41 "..\..\MainWindow.xaml" this.c1_label.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.c1_label_MouseLeftButtonUp); #line default #line hidden return; case 17: this.b2_label = ((System.Windows.Controls.Label)(target)); #line 42 "..\..\MainWindow.xaml" this.b2_label.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.b2_label_MouseLeftButtonUp); #line default #line hidden return; case 18: this.c2_label = ((System.Windows.Controls.Label)(target)); #line 43 "..\..\MainWindow.xaml" this.c2_label.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.c2_label_MouseLeftButtonUp); #line default #line hidden return; case 19: this.a2_label = ((System.Windows.Controls.Label)(target)); #line 44 "..\..\MainWindow.xaml" this.a2_label.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.a2_label_MouseLeftButtonUp); #line default #line hidden return; case 20: this.a3_label = ((System.Windows.Controls.Label)(target)); #line 45 "..\..\MainWindow.xaml" this.a3_label.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.a3_label_MouseLeftButtonUp); #line default #line hidden return; case 21: this.b3_label = ((System.Windows.Controls.Label)(target)); #line 46 "..\..\MainWindow.xaml" this.b3_label.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.b3_label_MouseLeftButtonUp); #line default #line hidden return; case 22: this.c3_label = ((System.Windows.Controls.Label)(target)); #line 47 "..\..\MainWindow.xaml" this.c3_label.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.c3_label_MouseLeftButtonUp); #line default #line hidden return; case 23: this.info_image = ((System.Windows.Controls.Image)(target)); return; case 24: this.info_image2 = ((System.Windows.Controls.Image)(target)); return; case 25: this.ngImage = ((System.Windows.Controls.Image)(target)); #line 50 "..\..\MainWindow.xaml" this.ngImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ngImage_MouseLeftButtonDown); #line default #line hidden return; case 26: this.protector = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }