void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SignInWindow = ((Hangman.MainWindow)(target)); #line 10 "..\..\..\Views\MainWindow.xaml" this.SignInWindow.Closing += new System.ComponentModel.CancelEventHandler(this.OnWindowClosing); #line default #line hidden return; case 2: this.usersList = ((System.Windows.Controls.ListBox)(target)); return; case 3: this.userImage = ((System.Windows.Controls.Image)(target)); return; case 4: this.enterName = ((System.Windows.Controls.StackPanel)(target)); return; case 5: this.newTxt = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.playBtn = ((System.Windows.Controls.Button)(target)); #line 66 "..\..\..\Views\MainWindow.xaml" this.playBtn.Click += new System.Windows.RoutedEventHandler(this.playBtn_Click); #line default #line hidden return; case 7: this.btnNewUser = ((System.Windows.Controls.Button)(target)); return; case 8: this.exitBtn = ((System.Windows.Controls.Button)(target)); #line 78 "..\..\..\Views\MainWindow.xaml" this.exitBtn.Click += new System.Windows.RoutedEventHandler(this.exitBtn_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Hangman = ((Hangman.MainWindow)(target)); return; case 2: this.GameGrid = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }