private void btnNavToReservationReport_Click(object sender, RoutedEventArgs e) { ReservationReport demoWindow = new ReservationReport(); demoWindow.Show(); this.Close(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.wndReservationReport = ((Group01.ReservationReport)(target)); return; case 2: this.gbxFilterInformation = ((System.Windows.Controls.GroupBox)(target)); return; case 3: this.btnReturnToMainWindow = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\ReservationReport.xaml" this.btnReturnToMainWindow.Click += new System.Windows.RoutedEventHandler(this.btnReturnToMainWindow_Click); #line default #line hidden return; case 4: this.dtpFromThisDate = ((System.Windows.Controls.DatePicker)(target)); return; case 5: this.dtpToThisDate = ((System.Windows.Controls.DatePicker)(target)); return; case 6: this.lblFromThisDate = ((System.Windows.Controls.Label)(target)); return; case 7: this.lblToThisDate = ((System.Windows.Controls.Label)(target)); return; case 8: this.lblLastName = ((System.Windows.Controls.Label)(target)); return; case 9: this.txtLastName = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.lblFirstName = ((System.Windows.Controls.Label)(target)); return; case 11: this.txtFirstName = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.cbxRoomType = ((System.Windows.Controls.ComboBox)(target)); return; case 13: this.lblRoomType = ((System.Windows.Controls.Label)(target)); return; case 14: this.lblSystemTitle = ((System.Windows.Controls.Label)(target)); return; case 15: this.txtRoomReport = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.lblRoomReport = ((System.Windows.Controls.Label)(target)); return; case 17: this.btnGenerateReport = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\ReservationReport.xaml" this.btnGenerateReport.Click += new System.Windows.RoutedEventHandler(this.btnGenerateReport_Click); #line default #line hidden return; case 18: this.btnClear = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\ReservationReport.xaml" this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click); #line default #line hidden return; } this._contentLoaded = true; }