void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.winMainMenu = ((Hotel_Reservations.MainWindow)(target)); return; case 2: this.image = ((System.Windows.Controls.Image)(target)); return; case 3: this.lblHome = ((System.Windows.Controls.Label)(target)); return; case 4: this.txbDescription = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.btnNewReserv = ((System.Windows.Controls.Button)(target)); return; case 6: this.btnRoomMgmt = ((System.Windows.Controls.Button)(target)); return; case 7: this.btnReservReport = ((System.Windows.Controls.Button)(target)); return; case 8: this.btnExit = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.winMainMenu = ((Hotel_Reservations.MainWindow)(target)); return; case 2: this.recBackground = ((System.Windows.Shapes.Rectangle)(target)); return; case 3: this.lblHome = ((System.Windows.Controls.Label)(target)); return; case 4: this.txbDescription = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.btnNewReserv = ((System.Windows.Controls.Button)(target)); #line 30 "..\..\MainWindow.xaml" this.btnNewReserv.Click += new System.Windows.RoutedEventHandler(this.btnNewReserv_Click); #line default #line hidden return; case 6: this.btnRoomMgmt = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\MainWindow.xaml" this.btnRoomMgmt.Click += new System.Windows.RoutedEventHandler(this.btnRoomMgmt_Click); #line default #line hidden return; case 7: this.btnReservReport = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\MainWindow.xaml" this.btnReservReport.Click += new System.Windows.RoutedEventHandler(this.btnReservReport_Click); #line default #line hidden return; case 8: this.btnExit = ((System.Windows.Controls.Button)(target)); #line 41 "..\..\MainWindow.xaml" this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click); #line default #line hidden return; } this._contentLoaded = true; }