void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WpfClient = ((WpfClient.MainWindow)(target)); #line 4 "..\..\MainWindow.xaml" this.WpfClient.Closing += new System.ComponentModel.CancelEventHandler(this.WPFClient_Closing); #line default #line hidden return; case 2: this.SignInPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 3: this.UserNameTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.SignInButton = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\MainWindow.xaml" this.SignInButton.Click += new System.Windows.RoutedEventHandler(this.SignInButton_Click); #line default #line hidden return; case 5: this.StatusText = ((System.Windows.Controls.Label)(target)); return; case 6: this.ChatPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 7: this.TextBoxMessage = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.ButtonSend = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\MainWindow.xaml" this.ButtonSend.Click += new System.Windows.RoutedEventHandler(this.ButtonSend_Click); #line default #line hidden return; case 9: this.ComboBoxLocation = ((System.Windows.Controls.ComboBox)(target)); #line 19 "..\..\MainWindow.xaml" this.ComboBoxLocation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OnLocationChanged); #line default #line hidden return; case 10: this.RichTextBoxConsole = ((System.Windows.Controls.RichTextBox)(target)); return; } this._contentLoaded = true; }