void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 7 "..\..\..\MainWindow.xaml" ((SBattle.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown); #line default #line hidden return; case 3: this.pwdPassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 4: this.btnExpectForGame = ((System.Windows.Controls.Button)(target)); #line 90 "..\..\..\MainWindow.xaml" this.btnExpectForGame.Click += new System.Windows.RoutedEventHandler(this.btnExpectForGame_Click); #line default #line hidden return; case 5: this.btnCancelExpectation = ((System.Windows.Controls.Button)(target)); #line 92 "..\..\..\MainWindow.xaml" this.btnCancelExpectation.Click += new System.Windows.RoutedEventHandler(this.btnCancelExpectation_Click); #line default #line hidden return; case 6: this.chat = ((SBattle.UI.ChatFrame)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 7 "..\..\..\GameWindow.xaml" ((SBattle.GameWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown); #line default #line hidden return; case 2: this.enemyField = ((SBattle.UI.BattleField)(target)); return; case 3: this.myField = ((SBattle.UI.BattleField)(target)); return; case 4: this.tt = ((System.Windows.Controls.Button)(target)); #line 30 "..\..\..\GameWindow.xaml" this.tt.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 5: this.chat = ((SBattle.UI.ChatFrame)(target)); return; } this._contentLoaded = true; }