Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Intro = ((WpfFront.Views.InventoryCountView)(target));
     return;
     case 2:
     this.txtTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.stpDocList2 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.txtSearch = ((System.Windows.Controls.TextBox)(target));
     
     #line 64 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnNew = ((System.Windows.Controls.Button)(target));
     
     #line 68 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.btnNew.Click += new System.Windows.RoutedEventHandler(this.btnNew_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 71 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);
     
     #line default
     #line hidden
     return;
     case 7:
     this.dgDocument = ((Xceed.Wpf.DataGrid.DataGridControl)(target));
     
     #line 81 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.dgDocument.GotFocus += new System.Windows.RoutedEventHandler(this.dgDocument_GotFocus);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ctnColsMenu1 = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 9:
     this.tabMenu = ((System.Windows.Controls.TabControl)(target));
     
     #line 137 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.tabMenu.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabMenu_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.stkTask = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 11:
     this.txtSchDate = ((Microsoft.Windows.Controls.DatePicker)(target));
     return;
     case 12:
     this.btnChangeStatus = ((System.Windows.Controls.Button)(target));
     
     #line 171 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.btnChangeStatus.Click += new System.Windows.RoutedEventHandler(this.btnChangeStatus_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 175 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_1);
     
     #line default
     #line hidden
     return;
     case 14:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 184 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.btnTktList = ((System.Windows.Controls.Button)(target));
     
     #line 189 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.btnTktList.Click += new System.Windows.RoutedEventHandler(this.btnTktList_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.btnTkt = ((System.Windows.Controls.Button)(target));
     
     #line 199 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.btnTkt.Click += new System.Windows.RoutedEventHandler(this.btnTkt_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.expSetup = ((Odyssey.Controls.OdcExpander)(target));
     
     #line 218 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.expSetup.Expanded += new System.Windows.RoutedEventHandler(this.expLabel_Expanded);
     
     #line default
     #line hidden
     
     #line 218 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.expSetup.Collapsed += new System.Windows.RoutedEventHandler(this.expLabel_Collapsed);
     
     #line default
     #line hidden
     return;
     case 18:
     this.cboToDo = ((System.Windows.Controls.ComboBox)(target));
     
     #line 226 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.cboToDo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboToDo_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.StackPanel_f1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 20:
     this.bFilters = ((WpfFront.Common.UserControls.QueryFilter)(target));
     return;
     case 21:
     this.btnFilter = ((System.Windows.Controls.Button)(target));
     
     #line 235 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.btnFilter.Click += new System.Windows.RoutedEventHandler(this.btnFilter_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.stkOptions = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 23:
     this.stkByBin = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 24:
     this.bRange = ((WpfFront.Common.UserControls.BinRange)(target));
     return;
     case 25:
     this.chkSelectAllLines = ((System.Windows.Controls.CheckBox)(target));
     
     #line 252 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.chkSelectAllLines.Checked += new System.Windows.RoutedEventHandler(this.chkSelectAll_Checked);
     
     #line default
     #line hidden
     
     #line 252 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.chkSelectAllLines.Unchecked += new System.Windows.RoutedEventHandler(this.chkSelectAll_Unchecked);
     
     #line default
     #line hidden
     return;
     case 26:
     this.chkHideBin = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 27:
     this.lvAvailableBins = ((System.Windows.Controls.ListView)(target));
     return;
     case 28:
     this.stkByProduct = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 29:
     this.cboCategory = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 30:
     this.txtProduct = ((System.Windows.Controls.TextBox)(target));
     return;
     case 31:
     this.imgLoad = ((System.Windows.Controls.Button)(target));
     
     #line 287 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.imgLoad.Click += new System.Windows.RoutedEventHandler(this.imgLoad_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.chkPrdAllLines = ((System.Windows.Controls.CheckBox)(target));
     
     #line 298 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.chkPrdAllLines.Checked += new System.Windows.RoutedEventHandler(this.chkSelectAll_Checked);
     
     #line default
     #line hidden
     
     #line 298 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.chkPrdAllLines.Unchecked += new System.Windows.RoutedEventHandler(this.chkSelectAll_Unchecked);
     
     #line default
     #line hidden
     return;
     case 33:
     this.lvAvailableProd = ((System.Windows.Controls.ListView)(target));
     return;
     case 34:
     this.btnRem = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 35:
     this.btnAdd = ((System.Windows.Controls.Button)(target));
     
     #line 328 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.btnRemove = ((System.Windows.Controls.Button)(target));
     
     #line 330 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.btnRemove.Click += new System.Windows.RoutedEventHandler(this.btnRemDoc_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     this.lvAsignedBins = ((System.Windows.Controls.ListView)(target));
     return;
     case 38:
     this.expExe = ((Odyssey.Controls.OdcExpander)(target));
     
     #line 364 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.expExe.Expanded += new System.Windows.RoutedEventHandler(this.expLabel_Expanded);
     
     #line default
     #line hidden
     
     #line 364 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.expExe.Collapsed += new System.Windows.RoutedEventHandler(this.expLabel_Collapsed);
     
     #line default
     #line hidden
     return;
     case 39:
     this.lvSummX = ((System.Windows.Controls.ListView)(target));
     return;
     case 40:
     this.lvSumm = ((System.Windows.Controls.ListView)(target));
     
     #line 419 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.lvSumm.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.lvSumm_Click));
     
     #line default
     #line hidden
     return;
     case 41:
     this.stkConfirm = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 42:
     this.btnStep2 = ((System.Windows.Controls.Button)(target));
     
     #line 490 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.btnStep2.Click += new System.Windows.RoutedEventHandler(this.btnStep2_Click);
     
     #line default
     #line hidden
     return;
     case 43:
     this.chkAll = ((System.Windows.Controls.TextBlock)(target));
     
     #line 518 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.chkAll.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.chkAll_MouseDown);
     
     #line default
     #line hidden
     return;
     case 44:
     this.uncheckAll = ((System.Windows.Controls.TextBlock)(target));
     
     #line 520 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.uncheckAll.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.uncheckAll_MouseDown);
     
     #line default
     #line hidden
     return;
     case 45:
     this.lvSummNoCount = ((System.Windows.Controls.ListView)(target));
     
     #line 524 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.lvSummNoCount.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.lvSummNoCount_Click));
     
     #line default
     #line hidden
     return;
     case 46:
     this.stkCount = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 47:
     this.stkAdjustmentOptions = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 48:
     this.cboSendOptions = ((System.Windows.Controls.ComboBox)(target));
     
     #line 573 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.cboSendOptions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboSendOptions_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 49:
     this.stkUcBin = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 50:
     this.binRestock = ((WpfFront.Common.UserControls.BinLocation)(target));
     return;
     case 51:
     this.btnStepN = ((System.Windows.Controls.Button)(target));
     
     #line 586 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
     this.btnStepN.Click += new System.Windows.RoutedEventHandler(this.btnStepN_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UCQueryFilter = ((WpfFront.Common.UserControls.QueryFilter)(target));
     return;
     case 2:
     this.txtLabel = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.cboStrComp = ((System.Windows.Controls.ComboBox)(target));
     
     #line 11 "..\..\..\..\Common\UserControls\QueryFilter.xaml"
     this.cboStrComp.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboStrComp_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.txtFilter = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.stkFilter2 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.txtFilter1 = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }