void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((LAB.MainWindow)(target)); #line 9 "..\..\MainWindow.xaml" this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.mainWindow_Closing); #line default #line hidden return; case 2: this.sendRequest = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\MainWindow.xaml" this.sendRequest.Click += new System.Windows.RoutedEventHandler(this.sendRequest_Click); #line default #line hidden return; case 3: this.listenGrid = ((System.Windows.Controls.Grid)(target)); return; case 4: this.startListen = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\MainWindow.xaml" this.startListen.Click += new System.Windows.RoutedEventHandler(this.StartListen_Click); #line default #line hidden return; case 5: this.portTbx = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.userNametbx = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.chattGrid = ((System.Windows.Controls.Grid)(target)); return; case 8: this.chattBox = ((System.Windows.Controls.ListBox)(target)); return; case 9: this.chattTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.sendMessage = ((System.Windows.Controls.Button)(target)); #line 62 "..\..\MainWindow.xaml" this.sendMessage.Click += new System.Windows.RoutedEventHandler(this.sendMessage_Click); #line default #line hidden return; case 11: this.sendImage = ((System.Windows.Controls.Button)(target)); #line 63 "..\..\MainWindow.xaml" this.sendImage.Click += new System.Windows.RoutedEventHandler(this.sendImage_Click); #line default #line hidden return; case 12: this.viewHistoryBtn = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\MainWindow.xaml" this.viewHistoryBtn.Click += new System.Windows.RoutedEventHandler(this.viewHistory_Click); #line default #line hidden return; } this._contentLoaded = true; }