Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.busyIndo = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
                return;

            case 2:
                this.SearchBox_Unique_id = ((System.Windows.Controls.TextBox)(target));

            #line 35 "..\..\GiveProducts.xaml"
                this.SearchBox_Unique_id.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 3:
                this.SearchBox_Title = ((System.Windows.Controls.TextBox)(target));

            #line 41 "..\..\GiveProducts.xaml"
                this.SearchBox_Title.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 4:
                this.SearchBox_Description = ((System.Windows.Controls.TextBox)(target));

            #line 47 "..\..\GiveProducts.xaml"
                this.SearchBox_Description.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 5:
                this.Textcategory_id = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 6:
                this.treeView = ((System.Windows.Controls.TreeView)(target));

            #line 56 "..\..\GiveProducts.xaml"
                this.treeView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.treeView_MouseDoubleClick);

            #line default
            #line hidden

            #line 56 "..\..\GiveProducts.xaml"
                this.treeView.KeyDown += new System.Windows.Input.KeyEventHandler(this.treeView_KeyDown);

            #line default
            #line hidden
                return;

            case 7:
                this.SearchBox_Color = ((System.Windows.Controls.ComboBox)(target));

            #line 77 "..\..\GiveProducts.xaml"
                this.SearchBox_Color.DropDownClosed += new System.EventHandler(this.SearchBox_Model_DropDownClosed);

            #line default
            #line hidden
                return;

            case 8:
                this.PanelPrice = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 9:
                this.LabelMinPrice = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.RangeCarPrice = ((Xceed.Wpf.Toolkit.RangeSlider)(target));

            #line 87 "..\..\GiveProducts.xaml"
                this.RangeCarPrice.LowerValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarPrice_LowerValueChanged);

            #line default
            #line hidden

            #line 87 "..\..\GiveProducts.xaml"
                this.RangeCarPrice.HigherValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarPrice_HigherValueChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.LabelMaxPrice = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.PanelAmount = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 13:
                this.LabelMinAmount = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.RangeCarAmount = ((Xceed.Wpf.Toolkit.RangeSlider)(target));

            #line 96 "..\..\GiveProducts.xaml"
                this.RangeCarAmount.LowerValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarAmount_LowerValueChanged);

            #line default
            #line hidden

            #line 96 "..\..\GiveProducts.xaml"
                this.RangeCarAmount.HigherValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarAmount_HigherValueChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.LabelMaxAmount = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.SearchBox_Make = ((System.Windows.Controls.ComboBox)(target));

            #line 113 "..\..\GiveProducts.xaml"
                this.SearchBox_Make.DropDownClosed += new System.EventHandler(this.SearchBox_Make_DropDownClosed);

            #line default
            #line hidden
                return;

            case 17:
                this.SearchBox_Model = ((System.Windows.Controls.ComboBox)(target));

            #line 131 "..\..\GiveProducts.xaml"
                this.SearchBox_Model.DropDownClosed += new System.EventHandler(this.SearchBox_Model_DropDownClosed);

            #line default
            #line hidden
                return;

            case 18:
                this.CheckboxCar = ((System.Windows.Controls.CheckBox)(target));

            #line 136 "..\..\GiveProducts.xaml"
                this.CheckboxCar.Checked += new System.Windows.RoutedEventHandler(this.CheckboxCar_Checked_change);

            #line default
            #line hidden

            #line 136 "..\..\GiveProducts.xaml"
                this.CheckboxCar.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxCar_Unchecked);

            #line default
            #line hidden
                return;

            case 19:
                this.DataGrid_1 = ((Xceed.Wpf.DataGrid.DataGridControl)(target));

            #line 141 "..\..\GiveProducts.xaml"
                this.DataGrid_1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DataGrid_1_MouseDoubleClick);

            #line default
            #line hidden

            #line 141 "..\..\GiveProducts.xaml"
                this.DataGrid_1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DataGrid_1_MouseEnter);

            #line default
            #line hidden
                return;

            case 20:

            #line 159 "..\..\GiveProducts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Delete_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 160 "..\..\GiveProducts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Update_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 161 "..\..\GiveProducts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.checkBoxPhoto = ((System.Windows.Controls.CheckBox)(target));

            #line 162 "..\..\GiveProducts.xaml"
                this.checkBoxPhoto.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden

            #line 162 "..\..\GiveProducts.xaml"
                this.checkBoxPhoto.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 24:
                this.UpdateItemWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 25:
                this.LocalTest = ((ShopManager.UpdateProduct)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((ShopManager.UpdateProduct)(target));

            #line 11 "..\..\UpdateProduct.xaml"
                this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.busyIndo = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
                return;

            case 3:
                this.TextUnique_id_Child_Secondary = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.TextUnique_id_Child_Primary = ((System.Windows.Controls.ComboBox)(target));

            #line 49 "..\..\UpdateProduct.xaml"
                this.TextUnique_id_Child_Primary.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TextUnique_id_Child_Primary_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.TextUnique_id_Parent = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.TextTitle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.Textcategory_id = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 8:
                this.treeView = ((System.Windows.Controls.TreeView)(target));

            #line 64 "..\..\UpdateProduct.xaml"
                this.treeView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.treeView_MouseDoubleClick);

            #line default
            #line hidden

            #line 64 "..\..\UpdateProduct.xaml"
                this.treeView.KeyDown += new System.Windows.Input.KeyEventHandler(this.treeView_KeyDown);

            #line default
            #line hidden
                return;

            case 9:
                this.TextPrice = ((Xceed.Wpf.Toolkit.LongUpDown)(target));
                return;

            case 10:

            #line 80 "..\..\UpdateProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 81 "..\..\UpdateProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 12:
                this.TextDescription = ((Xceed.Wpf.Toolkit.MultiLineTextEditor)(target));
                return;

            case 13:
                this.TextMake = ((System.Windows.Controls.ComboBox)(target));

            #line 94 "..\..\UpdateProduct.xaml"
                this.TextMake.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TextMake_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.TextModel = ((System.Windows.Controls.ComboBox)(target));

            #line 99 "..\..\UpdateProduct.xaml"
                this.TextModel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TextModel_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.TextYearfrom = ((System.Windows.Controls.ComboBox)(target));

            #line 103 "..\..\UpdateProduct.xaml"
                this.TextYearfrom.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TextYearfrom_SelectionChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.TextYearTo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.Combo_Aftermarket_Manufacturer = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.Text_Aftermarket_Manufacturer = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.StoragePlaceTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.TextAmount = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 21:
                this.Picturebox = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.TextInterval = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 23:
                this.TextCondition = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 24:
                this.TextPhoto = ((Xceed.Wpf.Toolkit.MultiLineTextEditor)(target));
                return;

            case 25:

            #line 144 "..\..\UpdateProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 26:
                this.cat = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.make = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.model = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.buffer = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:

            #line 158 "..\..\UpdateProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Upadate);

            #line default
            #line hidden
                return;

            case 31:

            #line 159 "..\..\UpdateProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_ΝewParent);

            #line default
            #line hidden
                return;

            case 32:
                this.TextisParent = ((System.Windows.Controls.ComboBox)(target));

            #line 165 "..\..\UpdateProduct.xaml"
                this.TextisParent.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TextisParent_SelectionChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.TextColor = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }