예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uc = ((SBMLibrary.Controls.ActiveInventoryEditor)(target));
                return;

            case 2:

            #line 33 "..\..\ActiveInventoryEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSave);

            #line default
            #line hidden
                return;

            case 5:
                this.PART_ProductIDCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 6:
                this.PART_UPCCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 7:
                this.PART_NameCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 8:
                this.PART_DistributorCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 9:
                this.PART_PictureCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 10:
                this.PART_QuantityCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 11:
                this.PART_MSRPCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 12:
                this.PART_CostCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uc = ((SBMLibrary.Controls.ActiveInventoryEditor)(target));
                return;

            case 2:

            #line 34 "..\..\ActiveInventoryEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSave);

            #line default
            #line hidden
                return;

            case 3:

            #line 83 "..\..\ActiveInventoryEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnResetFilter);

            #line default
            #line hidden
                return;

            case 4:

            #line 88 "..\..\ActiveInventoryEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnFilterUPC);

            #line default
            #line hidden
                return;

            case 5:

            #line 96 "..\..\ActiveInventoryEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnFilterSKU);

            #line default
            #line hidden
                return;

            case 6:

            #line 104 "..\..\ActiveInventoryEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnFilterName);

            #line default
            #line hidden
                return;

            case 9:
                this.PART_ProductIDCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 10:
                this.PART_UPCCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 11:
                this.PART_SKUCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 12:
                this.PART_NameCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 13:
                this.PART_PictureCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 14:
                this.PART_QuantityCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 15:
                this.PART_MSRPCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 16:
                this.PART_WholeSaleCol = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 17:
                this.PART_CostCol = ((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.ActiveInventoryEditor)(target));
     return;
     case 2:
     
     #line 33 "..\..\ActiveInventoryEditor.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSave);
     
     #line default
     #line hidden
     return;
     case 5:
     this.PART_ProductIDCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 6:
     this.PART_UPCCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 7:
     this.PART_NameCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 8:
     this.PART_DistributorCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 9:
     this.PART_PictureCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 10:
     this.PART_QuantityCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 11:
     this.PART_MSRPCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 12:
     this.PART_CostCol = ((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.ActiveInventoryEditor)(target));
     return;
     case 2:
     
     #line 34 "..\..\ActiveInventoryEditor.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSave);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 83 "..\..\ActiveInventoryEditor.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnResetFilter);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 88 "..\..\ActiveInventoryEditor.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnFilterUPC);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 96 "..\..\ActiveInventoryEditor.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnFilterSKU);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 104 "..\..\ActiveInventoryEditor.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnFilterName);
     
     #line default
     #line hidden
     return;
     case 9:
     this.PART_ProductIDCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 10:
     this.PART_UPCCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 11:
     this.PART_SKUCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 12:
     this.PART_NameCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 13:
     this.PART_PictureCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 14:
     this.PART_QuantityCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 15:
     this.PART_MSRPCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 16:
     this.PART_WholeSaleCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 17:
     this.PART_CostCol = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     }
     this._contentLoaded = true;
 }