void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.frmMainWindow = ((Group2_3280_Invoice.MainWindow)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.mnuUpdate = ((System.Windows.Controls.MenuItem)(target)); #line 11 "..\..\frmMainMenu.xaml" this.mnuUpdate.Click += new System.Windows.RoutedEventHandler(this.mnuUpdate_Click); #line default #line hidden return; case 4: this.mnuSearch = ((System.Windows.Controls.MenuItem)(target)); #line 12 "..\..\frmMainMenu.xaml" this.mnuSearch.Click += new System.Windows.RoutedEventHandler(this.mnuSearch_Click); #line default #line hidden return; case 5: this.cmdCreateNew = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\frmMainMenu.xaml" this.cmdCreateNew.Click += new System.Windows.RoutedEventHandler(this.cmdCreateNew_Click); #line default #line hidden return; case 6: this.cmdEdit = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\frmMainMenu.xaml" this.cmdEdit.Click += new System.Windows.RoutedEventHandler(this.cmdEdit_Click); #line default #line hidden return; case 7: this.cmdDelete = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\frmMainMenu.xaml" this.cmdDelete.Click += new System.Windows.RoutedEventHandler(this.cmdDelete_Click); #line default #line hidden return; case 8: this.lblInvoiceNumber = ((System.Windows.Controls.Label)(target)); return; case 9: this.lblInvoiceDate = ((System.Windows.Controls.Label)(target)); return; case 10: this.txtDate = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.listItems = ((System.Windows.Controls.ListBox)(target)); return; case 12: this.selectItem = ((System.Windows.Controls.ComboBox)(target)); return; case 13: this.lblSelect = ((System.Windows.Controls.Label)(target)); return; case 14: this.lblCost = ((System.Windows.Controls.Label)(target)); return; case 15: this.cmdAdd = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\frmMainMenu.xaml" this.cmdAdd.Click += new System.Windows.RoutedEventHandler(this.cmdAdd_Click); #line default #line hidden return; case 16: this.cmdDeleteItem = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\frmMainMenu.xaml" this.cmdDeleteItem.Click += new System.Windows.RoutedEventHandler(this.cmdDeleteItem_Click); #line default #line hidden return; case 17: this.txtCost = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.cmdSave = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\frmMainMenu.xaml" this.cmdSave.Click += new System.Windows.RoutedEventHandler(this.cmdSave_Click); #line default #line hidden return; case 19: this.txtInvoice = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.label = ((System.Windows.Controls.Label)(target)); return; case 21: this.infoLabel = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }