void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 13 "..\..\..\Windows\MainWindow.xaml" ((InvoiceManager.Windows.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.MainWindowGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.BrowseUsers = ((System.Windows.Controls.MenuItem)(target)); #line 25 "..\..\..\Windows\MainWindow.xaml" this.BrowseUsers.Click += new System.Windows.RoutedEventHandler(this.BrowseUsers_Click); #line default #line hidden return; case 4: this.ChangePassword = ((System.Windows.Controls.MenuItem)(target)); #line 27 "..\..\..\Windows\MainWindow.xaml" this.ChangePassword.Click += new System.Windows.RoutedEventHandler(this.ChangePassword_Click); #line default #line hidden return; case 5: this.MenuSignOut = ((System.Windows.Controls.MenuItem)(target)); #line 29 "..\..\..\Windows\MainWindow.xaml" this.MenuSignOut.Click += new System.Windows.RoutedEventHandler(this.MenuSignOut_Click); #line default #line hidden return; case 6: this.MenuExit = ((System.Windows.Controls.MenuItem)(target)); #line 30 "..\..\..\Windows\MainWindow.xaml" this.MenuExit.Click += new System.Windows.RoutedEventHandler(this.MenuExit_Click); #line default #line hidden return; case 7: this.NewProduct = ((System.Windows.Controls.MenuItem)(target)); return; case 8: this.BrowseProducts = ((System.Windows.Controls.MenuItem)(target)); #line 34 "..\..\..\Windows\MainWindow.xaml" this.BrowseProducts.Click += new System.Windows.RoutedEventHandler(this.BrowseProducts_Click); #line default #line hidden return; case 9: this.NewPartner = ((System.Windows.Controls.MenuItem)(target)); return; case 10: this.BrowsePartners = ((System.Windows.Controls.MenuItem)(target)); #line 38 "..\..\..\Windows\MainWindow.xaml" this.BrowsePartners.Click += new System.Windows.RoutedEventHandler(this.BrowsePartners_Click); #line default #line hidden return; case 11: this.MainAreaModulePanel = ((InvoiceManager.Windows.UserControls.ModulePanel)(target)); return; case 12: this.StatusBarMessage = ((System.Windows.Controls.TextBlock)(target)); #line 66 "..\..\..\Windows\MainWindow.xaml" this.StatusBarMessage.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StatusBarMessage_MouseDown); #line default #line hidden return; case 13: this.StatusBarProgress = ((System.Windows.Controls.ProgressBar)(target)); return; } this._contentLoaded = true; }