void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\ClientWindow.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click); #line default #line hidden return; case 2: this.btnExit = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\ClientWindow.xaml" this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click); #line default #line hidden return; case 3: this.stackPanelRoomTip = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.textBlockRoomNumber = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.textBlocktime = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.ribbon = ((System.Windows.Controls.Ribbon.Ribbon)(target)); return; case 8: this.rt2 = ((NiHuaWoCaiGameClient.UserControls.MyRibbonTab)(target)); return; case 9: this.ink1 = ((NiHuaWoCaiGameClient.MyInks.MyInkCanvas)(target)); return; case 10: this.gridPlayers = ((System.Windows.Controls.Grid)(target)); return; case 11: this.listboxPlayer = ((System.Windows.Controls.ListBox)(target)); return; case 12: this.textBlockMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.listBoxMessage = ((System.Windows.Controls.ListBox)(target)); return; case 14: this.btnSend = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\ClientWindow.xaml" this.btnSend.Click += new System.Windows.RoutedEventHandler(this.btn_send_Click); #line default #line hidden return; case 15: this.textBoxTalk = ((System.Windows.Controls.TextBox)(target)); #line 66 "..\..\ClientWindow.xaml" this.textBoxTalk.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBoxTalk_KeyDown); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.textBoxUserName = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.passwordbox = ((System.Windows.Controls.PasswordBox)(target)); #line 34 "..\..\MainWindow.xaml" this.passwordbox.KeyUp += new System.Windows.Input.KeyEventHandler(this.passwordbox_KeyUp); #line default #line hidden return; case 3: this.btnLogin = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\MainWindow.xaml" this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click); #line default #line hidden return; case 4: this.btnLogout = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\MainWindow.xaml" this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.btnLogout_Click); #line default #line hidden return; case 5: this.serviceTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.help = ((System.Windows.Controls.Image)(target)); #line 38 "..\..\MainWindow.xaml" this.help.MouseMove += new System.Windows.Input.MouseEventHandler(this.help_MouseMove); #line default #line hidden return; case 7: this.GridTable = ((System.Windows.Controls.Grid)(target)); return; case 8: this.getMe = ((System.Windows.Controls.StackPanel)(target)); return; case 9: this.stackPanelRoomTip = ((System.Windows.Controls.StackPanel)(target)); return; case 10: this.textBlockRoomNumber = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.textBlocktime = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.progressbar = ((System.Windows.Controls.ProgressBar)(target)); return; case 13: this.ribbon = ((System.Windows.Controls.Ribbon.Ribbon)(target)); return; case 15: this.rt2 = ((NiHuaWoCaiGameClient.UserControls.MyRibbonTab)(target)); return; case 16: this.ink1 = ((NiHuaWoCaiGameClient.MyInks.MyInkCanvas)(target)); return; case 17: this.gridPlayers = ((System.Windows.Controls.Grid)(target)); return; case 18: this.listboxPlayer = ((System.Windows.Controls.ListBox)(target)); return; case 19: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 89 "..\..\MainWindow.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click); #line default #line hidden return; case 20: this.btnExit = ((System.Windows.Controls.Button)(target)); #line 90 "..\..\MainWindow.xaml" this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click); #line default #line hidden return; case 21: this.textBlockMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 22: this.listBoxMessage = ((System.Windows.Controls.ListBox)(target)); return; case 23: this.sound = ((System.Windows.Controls.Button)(target)); #line 100 "..\..\MainWindow.xaml" this.sound.Click += new System.Windows.RoutedEventHandler(this.sound_Click); #line default #line hidden return; case 24: this.nosound = ((System.Windows.Controls.Button)(target)); #line 101 "..\..\MainWindow.xaml" this.nosound.Click += new System.Windows.RoutedEventHandler(this.nosound_Click); #line default #line hidden return; case 25: this.sound1 = ((System.Windows.Controls.Image)(target)); return; case 26: this.nosound1 = ((System.Windows.Controls.Image)(target)); return; case 27: this.btnSend = ((System.Windows.Controls.Button)(target)); #line 106 "..\..\MainWindow.xaml" this.btnSend.Click += new System.Windows.RoutedEventHandler(this.btnSend_Click); #line default #line hidden return; case 28: this.textBoxTalk = ((System.Windows.Controls.TextBox)(target)); #line 107 "..\..\MainWindow.xaml" this.textBoxTalk.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBoxTalk_KeyDown); #line default #line hidden return; case 29: this.lb_QuestionAndRole = ((System.Windows.Controls.Label)(target)); return; case 30: this.gridRooms = ((System.Windows.Controls.Grid)(target)); return; case 31: this.listboxRoom = ((System.Windows.Controls.ListBox)(target)); return; } this._contentLoaded = true; }