void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.gomoku_form = ((_1312193.MainWindow)(target)); #line 4 "..\..\MainWindow.xaml" this.gomoku_form.Loaded += new System.Windows.RoutedEventHandler(this.gomoku_form_load); #line default #line hidden #line 4 "..\..\MainWindow.xaml" this.gomoku_form.SizeChanged += new System.Windows.SizeChangedEventHandler(this.gomoku_form_SizeChanged); #line default #line hidden return; case 2: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 3: this.tbx_name = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.btn_name = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\MainWindow.xaml" this.btn_name.Click += new System.Windows.RoutedEventHandler(this.btn_name_Click); #line default #line hidden return; case 5: this.label = ((System.Windows.Controls.Label)(target)); return; case 6: this.tbx_mes = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.btn_sendmes = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\MainWindow.xaml" this.btn_sendmes.Click += new System.Windows.RoutedEventHandler(this.btn_sendmes_Click); #line default #line hidden return; case 8: this.lvw_chat = ((System.Windows.Controls.ListView)(target)); return; case 9: this.border = ((System.Windows.Controls.Border)(target)); return; case 10: this.cvs_gomoku = ((System.Windows.Controls.Canvas)(target)); #line 22 "..\..\MainWindow.xaml" this.cvs_gomoku.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.cvs_gomoku_MouseDown); #line default #line hidden return; case 11: #line 29 "..\..\MainWindow.xaml" ((System.Windows.Controls.ComboBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged); #line default #line hidden return; case 12: this.rd_playeruser = ((System.Windows.Controls.RadioButton)(target)); #line 34 "..\..\MainWindow.xaml" this.rd_playeruser.Click += new System.Windows.RoutedEventHandler(this.rd_playeruser_Click); #line default #line hidden return; case 13: this.rd_playerpc = ((System.Windows.Controls.RadioButton)(target)); #line 35 "..\..\MainWindow.xaml" this.rd_playerpc.Click += new System.Windows.RoutedEventHandler(this.rd_playerpc_Click); #line default #line hidden return; case 14: #line 36 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.gomoku_form = ((_1312193.MainWindow)(target)); #line 4 "..\..\MainWindow.xaml" this.gomoku_form.Loaded += new System.Windows.RoutedEventHandler(this.gomoku_form_load); #line default #line hidden #line 4 "..\..\MainWindow.xaml" this.gomoku_form.SizeChanged += new System.Windows.SizeChangedEventHandler(this.gomoku_form_SizeChanged); #line default #line hidden return; case 2: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 3: this.tbx_name = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.btn_name = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\MainWindow.xaml" this.btn_name.Click += new System.Windows.RoutedEventHandler(this.btn_name_Click); #line default #line hidden return; case 5: this.label = ((System.Windows.Controls.Label)(target)); return; case 6: this.tbx_mes = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.btn_sendmes = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\MainWindow.xaml" this.btn_sendmes.Click += new System.Windows.RoutedEventHandler(this.btn_sendmes_Click); #line default #line hidden return; case 8: this.lvw_chat = ((System.Windows.Controls.ListView)(target)); return; case 9: this.border = ((System.Windows.Controls.Border)(target)); return; case 10: this.cvs_gomoku = ((System.Windows.Controls.Canvas)(target)); #line 22 "..\..\MainWindow.xaml" this.cvs_gomoku.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.cvs_gomoku_MouseDown); #line default #line hidden return; case 11: #line 29 "..\..\MainWindow.xaml" ((System.Windows.Controls.ComboBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged); #line default #line hidden return; case 12: this.rd_playeruser = ((System.Windows.Controls.RadioButton)(target)); #line 34 "..\..\MainWindow.xaml" this.rd_playeruser.Click += new System.Windows.RoutedEventHandler(this.rd_playeruser_Click); #line default #line hidden return; case 13: this.rd_playerpc = ((System.Windows.Controls.RadioButton)(target)); #line 35 "..\..\MainWindow.xaml" this.rd_playerpc.Click += new System.Windows.RoutedEventHandler(this.rd_playerpc_Click); #line default #line hidden return; case 14: #line 36 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }