void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\TransactionDocumentView.xaml" ((Samba.Modules.InventoryModule.TransactionDocumentView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded); #line default #line hidden #line 5 "..\..\TransactionDocumentView.xaml" ((Samba.Modules.InventoryModule.TransactionDocumentView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded); #line default #line hidden return; case 2: this.InventoryTransactionGrid = ((Samba.Presentation.Controls.UIControls.EnhancedDataGrid)(target)); #line 36 "..\..\TransactionDocumentView.xaml" this.InventoryTransactionGrid.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DataGrid_PreviewKeyDown); #line default #line hidden #line 36 "..\..\TransactionDocumentView.xaml" this.InventoryTransactionGrid.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.DataGrid_PreviewTextInput); #line default #line hidden #line 37 "..\..\TransactionDocumentView.xaml" this.InventoryTransactionGrid.PreparingCellForEdit += new System.EventHandler <System.Windows.Controls.DataGridPreparingCellForEditEventArgs>(this.DataGrid_PreparingCellForEdit); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 30 "..\..\WarehouseInventoryView.xaml" ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged); #line default #line hidden return; case 2: this.WarehouseInventoryGrid = ((Samba.Presentation.Controls.UIControls.EnhancedDataGrid)(target)); #line 35 "..\..\WarehouseInventoryView.xaml" this.WarehouseInventoryGrid.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DataGrid_PreviewKeyDown); #line default #line hidden #line 35 "..\..\WarehouseInventoryView.xaml" this.WarehouseInventoryGrid.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.DataGrid_PreviewTextInput); #line default #line hidden #line 36 "..\..\WarehouseInventoryView.xaml" this.WarehouseInventoryGrid.PreparingCellForEdit += new System.EventHandler <System.Windows.Controls.DataGridPreparingCellForEditEventArgs>(this.DataGrid_PreparingCellForEdit); #line default #line hidden return; case 3: this.WarehouseCostGrid = ((Samba.Presentation.Controls.UIControls.EnhancedDataGrid)(target)); return; } this._contentLoaded = true; }