void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.winMainMenu = ((HotelReservations.MainMenu)(target)); return; case 2: this.image = ((System.Windows.Controls.Image)(target)); return; case 3: this.btnMainMenuP1 = ((System.Windows.Controls.Button)(target)); #line 11 "..\..\MainMenu.xaml" this.btnMainMenuP1.Click += new System.Windows.RoutedEventHandler(this.btnMainMenuP1_Click); #line default #line hidden return; case 4: this.btnNewReservationP1 = ((System.Windows.Controls.Button)(target)); return; case 5: this.btnRoomManagementP1 = ((System.Windows.Controls.Button)(target)); return; case 6: this.btnReservationsReportP1 = ((System.Windows.Controls.Button)(target)); return; case 7: this.btnMakeAReservationP1 = ((System.Windows.Controls.Button)(target)); return; case 8: this.lblMainMenuP1 = ((System.Windows.Controls.Label)(target)); return; case 9: this.imgP1 = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.winMainMenu = ((HotelReservations.MainMenu)(target)); return; case 2: this.image = ((System.Windows.Controls.Image)(target)); return; case 3: this.btnMainMenuP1 = ((System.Windows.Controls.Button)(target)); return; case 4: this.btnNewReservationP1 = ((System.Windows.Controls.Button)(target)); return; case 5: this.btnRoomManagementP1 = ((System.Windows.Controls.Button)(target)); return; case 6: this.btnReservationsReportP1 = ((System.Windows.Controls.Button)(target)); return; case 7: this.btnMakeAReservationP1 = ((System.Windows.Controls.Button)(target)); return; case 8: this.lblMainMenuP1 = ((System.Windows.Controls.Label)(target)); return; case 9: this.imgP1 = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }