예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\GiveProducts.xaml"
                ((ShopManager.GiveProducts)(target)).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.StackCode = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 5:
                this.StackTitle = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.StackComment = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.StackCategory = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.Textcategory_id = ((System.Windows.Controls.TextBox)(target));

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

            #line default
            #line hidden
                return;

            case 11:
                this.StackCollor = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.SearchBox_Color = ((System.Windows.Controls.TextBox)(target));

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

            #line default
            #line hidden
                return;

            case 13:
                this.StackPrice = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 18:
                this.StackQuantity = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 23:
                this.StackMake = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 24:
                this.SearchBox_Make = ((System.Windows.Controls.TextBox)(target));

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

            #line default
            #line hidden
                return;

            case 25:
                this.StackModel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 27:
                this.CheckboxAd = ((System.Windows.Controls.CheckBox)(target));

            #line 153 "..\..\GiveProducts.xaml"
                this.CheckboxAd.Checked += new System.Windows.RoutedEventHandler(this.CheckboxAd_Checked_change);

            #line default
            #line hidden

            #line 153 "..\..\GiveProducts.xaml"
                this.CheckboxAd.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxAd_Unchecked);

            #line default
            #line hidden
                return;

            case 28:
                this.CheckboxProducts = ((System.Windows.Controls.CheckBox)(target));

            #line 154 "..\..\GiveProducts.xaml"
                this.CheckboxProducts.Checked += new System.Windows.RoutedEventHandler(this.CheckboxProducts_Checked);

            #line default
            #line hidden

            #line 154 "..\..\GiveProducts.xaml"
                this.CheckboxProducts.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxProducts_Unchecked);

            #line default
            #line hidden
                return;

            case 29:
                this.CheckboxNoAds = ((System.Windows.Controls.CheckBox)(target));

            #line 155 "..\..\GiveProducts.xaml"
                this.CheckboxNoAds.Checked += new System.Windows.RoutedEventHandler(this.CheckboxNoAds_Checked);

            #line default
            #line hidden

            #line 155 "..\..\GiveProducts.xaml"
                this.CheckboxNoAds.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxNoAds_Unchecked);

            #line default
            #line hidden
                return;

            case 30:
                this.CheckboxNoProducts = ((System.Windows.Controls.CheckBox)(target));

            #line 156 "..\..\GiveProducts.xaml"
                this.CheckboxNoProducts.Checked += new System.Windows.RoutedEventHandler(this.CheckboxNoProducts_Checked);

            #line default
            #line hidden

            #line 156 "..\..\GiveProducts.xaml"
                this.CheckboxNoProducts.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxNoProducts_Unchecked);

            #line default
            #line hidden
                return;

            case 31:
                this.CheckboxTaken = ((System.Windows.Controls.CheckBox)(target));

            #line 157 "..\..\GiveProducts.xaml"
                this.CheckboxTaken.Checked += new System.Windows.RoutedEventHandler(this.CheckboxTaken_Checked);

            #line default
            #line hidden

            #line 157 "..\..\GiveProducts.xaml"
                this.CheckboxTaken.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxTaken_Unchecked);

            #line default
            #line hidden
                return;

            case 32:
                this.CheckboxHidden = ((System.Windows.Controls.CheckBox)(target));

            #line 158 "..\..\GiveProducts.xaml"
                this.CheckboxHidden.Checked += new System.Windows.RoutedEventHandler(this.CheckboxHidden_Checked);

            #line default
            #line hidden

            #line 158 "..\..\GiveProducts.xaml"
                this.CheckboxHidden.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxHidden_Unchecked);

            #line default
            #line hidden
                return;

            case 33:
                this.DataGrid_1 = ((System.Windows.Controls.DataGrid)(target));

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

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 192 "..\..\GiveProducts.xaml"
                this.DataGrid_1.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.DataGrid_1_LoadingRow);

            #line default
            #line hidden
                return;

            case 34:

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

            #line default
            #line hidden
                return;

            case 35:

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

            #line default
            #line hidden
                return;

            case 36:

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

            #line default
            #line hidden
                return;

            case 37:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 39:
                this.checkCode = ((System.Windows.Controls.CheckBox)(target));

            #line 313 "..\..\GiveProducts.xaml"
                this.checkCode.Checked += new System.Windows.RoutedEventHandler(this.Code_Filter_Checked);

            #line default
            #line hidden

            #line 313 "..\..\GiveProducts.xaml"
                this.checkCode.Unchecked += new System.Windows.RoutedEventHandler(this.Code_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 40:
                this.checkTitle = ((System.Windows.Controls.CheckBox)(target));

            #line 314 "..\..\GiveProducts.xaml"
                this.checkTitle.Checked += new System.Windows.RoutedEventHandler(this.Title_Filter_Checked);

            #line default
            #line hidden

            #line 314 "..\..\GiveProducts.xaml"
                this.checkTitle.Unchecked += new System.Windows.RoutedEventHandler(this.Title_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 41:
                this.checkComment = ((System.Windows.Controls.CheckBox)(target));

            #line 315 "..\..\GiveProducts.xaml"
                this.checkComment.Checked += new System.Windows.RoutedEventHandler(this.Comment_Filter_Checked);

            #line default
            #line hidden

            #line 315 "..\..\GiveProducts.xaml"
                this.checkComment.Unchecked += new System.Windows.RoutedEventHandler(this.Comment_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 42:
                this.checkCategory = ((System.Windows.Controls.CheckBox)(target));

            #line 316 "..\..\GiveProducts.xaml"
                this.checkCategory.Checked += new System.Windows.RoutedEventHandler(this.Category_Filter_Checked);

            #line default
            #line hidden

            #line 316 "..\..\GiveProducts.xaml"
                this.checkCategory.Unchecked += new System.Windows.RoutedEventHandler(this.Category_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 43:
                this.checkCollor = ((System.Windows.Controls.CheckBox)(target));

            #line 317 "..\..\GiveProducts.xaml"
                this.checkCollor.Checked += new System.Windows.RoutedEventHandler(this.Collor_Filter_Checked);

            #line default
            #line hidden

            #line 317 "..\..\GiveProducts.xaml"
                this.checkCollor.Unchecked += new System.Windows.RoutedEventHandler(this.Collor_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 44:
                this.checPrice = ((System.Windows.Controls.CheckBox)(target));

            #line 318 "..\..\GiveProducts.xaml"
                this.checPrice.Checked += new System.Windows.RoutedEventHandler(this.Price_Filter_Checked);

            #line default
            #line hidden

            #line 318 "..\..\GiveProducts.xaml"
                this.checPrice.Unchecked += new System.Windows.RoutedEventHandler(this.Price_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 45:
                this.checkQuantity = ((System.Windows.Controls.CheckBox)(target));

            #line 319 "..\..\GiveProducts.xaml"
                this.checkQuantity.Checked += new System.Windows.RoutedEventHandler(this.Quantity_Filter_Checked);

            #line default
            #line hidden

            #line 319 "..\..\GiveProducts.xaml"
                this.checkQuantity.Unchecked += new System.Windows.RoutedEventHandler(this.Quantity_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 46:
                this.checkMake = ((System.Windows.Controls.CheckBox)(target));

            #line 320 "..\..\GiveProducts.xaml"
                this.checkMake.Checked += new System.Windows.RoutedEventHandler(this.Make_Filter_Checked);

            #line default
            #line hidden

            #line 320 "..\..\GiveProducts.xaml"
                this.checkMake.Unchecked += new System.Windows.RoutedEventHandler(this.Make_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 47:
                this.checkModel = ((System.Windows.Controls.CheckBox)(target));

            #line 321 "..\..\GiveProducts.xaml"
                this.checkModel.Checked += new System.Windows.RoutedEventHandler(this.Model_Filter_Checked);

            #line default
            #line hidden

            #line 321 "..\..\GiveProducts.xaml"
                this.checkModel.Unchecked += new System.Windows.RoutedEventHandler(this.Model_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 48:
                this.Odd_Backround_Ad = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 337 "..\..\GiveProducts.xaml"
                this.Odd_Backround_Ad.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.ColorPicker_SelectedColorChanged_Odd_Background_Ad);

            #line default
            #line hidden
                return;

            case 49:
                this.Odd_Foreground_Ad = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 341 "..\..\GiveProducts.xaml"
                this.Odd_Foreground_Ad.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Odd_Foreground_Ad_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 50:
                this.Even_Backround_Ad = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 347 "..\..\GiveProducts.xaml"
                this.Even_Backround_Ad.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Even_Backround_Ad_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 51:
                this.Even_Foreground_Ad = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 351 "..\..\GiveProducts.xaml"
                this.Even_Foreground_Ad.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Even_Foreground_Ad_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 52:
                this.Odd_Backround_Product = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 357 "..\..\GiveProducts.xaml"
                this.Odd_Backround_Product.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Odd_Backround_Product_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 53:
                this.Odd_Foreground_Product = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 361 "..\..\GiveProducts.xaml"
                this.Odd_Foreground_Product.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Odd_Foreground_Product_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 54:
                this.Even_Backround_Product = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 367 "..\..\GiveProducts.xaml"
                this.Even_Backround_Product.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Even_Backround_Product_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 55:
                this.Even_Foreground_Product = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 371 "..\..\GiveProducts.xaml"
                this.Even_Foreground_Product.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Even_Foreground_Product_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 56:
                this.AddProduct = ((Xceed.Wpf.Toolkit.ChildWindow)(target));

            #line 391 "..\..\GiveProducts.xaml"
                this.AddProduct.Closed += new System.EventHandler(this.AddProduct_Closed);

            #line default
            #line hidden
                return;

            case 57:
                this.LocalProduct = ((ShopManager.AddProduct)(target));
                return;

            case 58:
                this.AddAD = ((Xceed.Wpf.Toolkit.ChildWindow)(target));

            #line 412 "..\..\GiveProducts.xaml"
                this.AddAD.Closed += new System.EventHandler(this.AddAD_Closed);

            #line default
            #line hidden
                return;

            case 59:
                this.LocalAD = ((ShopManager.AddAD)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((ShopManager.AddAD)(target));
                return;

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

            case 3:
                this.LabelID = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 6:

            #line 56 "..\..\AddAD.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_IncreasePrice);

            #line default
            #line hidden
                return;

            case 7:

            #line 57 "..\..\AddAD.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_DecreasePrice);

            #line default
            #line hidden
                return;

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

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

            case 10:
                this.CheckBoxPublish = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.ListBoxCategory_id = ((System.Windows.Controls.ListBox)(target));
                return;

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

            case 13:
                this.ListBoxPhoto = ((System.Windows.Controls.ListBox)(target));

            #line 109 "..\..\AddAD.xaml"
                this.ListBoxPhoto.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBoxPhoto_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 14:
                this.ListBoxMake = ((System.Windows.Controls.ListBox)(target));
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:
                this.DropdownAds = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 17:
                this.Gridproducts = ((System.Windows.Controls.DataGrid)(target));

            #line 193 "..\..\AddAD.xaml"
                this.Gridproducts.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DataGrid_2_MouseEnter);

            #line default
            #line hidden
                return;

            case 18:

            #line 205 "..\..\AddAD.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_AddProductToAD);

            #line default
            #line hidden
                return;

            case 19:
                this.ListBoxAd = ((System.Windows.Controls.DataGrid)(target));

            #line 215 "..\..\AddAD.xaml"
                this.ListBoxAd.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DataGrid_1_MouseEnter);

            #line default
            #line hidden

            #line 233 "..\..\AddAD.xaml"
                this.ListBoxAd.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBoxAd_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 20:

            #line 268 "..\..\AddAD.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_ΝewProduct);

            #line default
            #line hidden
                return;

            case 21:

            #line 273 "..\..\AddAD.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_DeleteAd);

            #line default
            #line hidden
                return;

            case 22:

            #line 274 "..\..\AddAD.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Update);

            #line default
            #line hidden
                return;

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

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

            case 25:
                this.model = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }