private void network_Click(object sender, RoutedEventArgs e) { WaittingRoom waittingRoom = new WaittingRoom(); MainMenu.getInstance().frame.Content = waittingRoom; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WaittingRoomPage = ((HistoryKing_client.WaittingRoom)(target)); #line 7 "..\..\..\WaittingRoom.xaml" this.WaittingRoomPage.Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded); #line default #line hidden return; case 2: this.roomCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.Input = ((System.Windows.Controls.TextBox)(target)); return; case 4: #line 122 "..\..\..\WaittingRoom.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.sendClick); #line default #line hidden return; case 5: this.Output = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.room1 = ((System.Windows.Controls.Grid)(target)); return; case 7: this.room2 = ((System.Windows.Controls.Grid)(target)); return; case 8: this.room3 = ((System.Windows.Controls.Grid)(target)); return; case 9: this.room4 = ((System.Windows.Controls.Grid)(target)); return; case 10: this.UserList = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.방들어가기 = ((System.Windows.Controls.Button)(target)); #line 163 "..\..\..\WaittingRoom.xaml" this.방들어가기.Click += new System.Windows.RoutedEventHandler(this.RoomJoinButton_Click); #line default #line hidden return; case 12: this.방만들기 = ((System.Windows.Controls.Button)(target)); #line 164 "..\..\..\WaittingRoom.xaml" this.방만들기.Click += new System.Windows.RoutedEventHandler(this.createRoomClick); #line default #line hidden return; case 13: this.label1 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }