private void btnNavToRoomMgmt_Click(object sender, RoutedEventArgs e) { RoomManagement demoWindow = new RoomManagement(); demoWindow.Show(); this.Close(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.winRoomManagement = ((Group01.RoomManagement)(target)); return; case 2: this.gbxUpdateGroup = ((System.Windows.Controls.GroupBox)(target)); return; case 3: this.cbxRoomType = ((System.Windows.Controls.ComboBox)(target)); #line 15 "..\..\RoomManagement.xaml" this.cbxRoomType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxRoomType_SelectionChanged); #line default #line hidden return; case 4: this.lblRoomType = ((System.Windows.Controls.Label)(target)); return; case 5: this.btnReturnToMainWindow = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\RoomManagement.xaml" this.btnReturnToMainWindow.Click += new System.Windows.RoutedEventHandler(this.btnReturnToMainWindow_Click); #line default #line hidden return; case 6: this.lblSystemTitle = ((System.Windows.Controls.Label)(target)); return; case 7: this.btnUpdateRoomInfo = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\RoomManagement.xaml" this.btnUpdateRoomInfo.Click += new System.Windows.RoutedEventHandler(this.btnUpdateRoomInfo_Click); #line default #line hidden return; case 8: this.txtCurrentRoomInfo = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.txtPrice = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.txtQuantity = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.lblQuantity = ((System.Windows.Controls.Label)(target)); return; case 12: this.lblPrice = ((System.Windows.Controls.Label)(target)); return; case 13: this.lblRoomInfo = ((System.Windows.Controls.Label)(target)); return; case 14: this.btnClear = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\RoomManagement.xaml" this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click); #line default #line hidden return; } this._contentLoaded = true; }