void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.uc = ((SBMLibrary.Controls.PointOfSale)(target)); #line 11 "..\..\PointOfSale.xaml" this.uc.Loaded += new System.Windows.RoutedEventHandler(this.OnLoaded); #line default #line hidden return; case 2: this.txtSearch = ((System.Windows.Controls.TextBox)(target)); #line 96 "..\..\PointOfSale.xaml" this.txtSearch.KeyDown += new System.Windows.Input.KeyEventHandler(this.OnUPCKeyDown); #line default #line hidden return; case 3: #line 103 "..\..\PointOfSale.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnAdd); #line default #line hidden return; case 4: #line 109 "..\..\PointOfSale.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCancel); #line default #line hidden return; case 5: #line 113 "..\..\PointOfSale.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnPost); #line default #line hidden return; case 7: this.PART_QuantityCol = ((System.Windows.Controls.GridViewColumn)(target)); return; case 8: this.PART_DiscountCol = ((System.Windows.Controls.GridViewColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.uc = ((SBMLibrary.Controls.PointOfSale)(target)); #line 11 "..\..\PointOfSale.xaml" this.uc.Loaded += new System.Windows.RoutedEventHandler(this.OnLoaded); #line default #line hidden return; case 2: this.txtSearch = ((System.Windows.Controls.TextBox)(target)); #line 105 "..\..\PointOfSale.xaml" this.txtSearch.KeyDown += new System.Windows.Input.KeyEventHandler(this.OnUPCKeyDown); #line default #line hidden return; case 3: #line 112 "..\..\PointOfSale.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnAdd); #line default #line hidden return; case 4: #line 118 "..\..\PointOfSale.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCancel); #line default #line hidden return; case 5: #line 122 "..\..\PointOfSale.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnPost); #line default #line hidden return; case 7: this.PART_QuantityCol = ((System.Windows.Controls.GridViewColumn)(target)); return; case 8: this.PART_DiscountCol = ((System.Windows.Controls.GridViewColumn)(target)); return; } this._contentLoaded = true; }