Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((ShopManager.AddProduct)(target));

            #line 8 "..\..\AddProduct.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.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 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_IncreasePrice);

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

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

            case 9:
                this.TextTaken = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 64 "..\..\AddProduct.xaml"
                this.TextTaken.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.TextTaken_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.TextColor = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 13:
                this.TextInfo = ((Xceed.Wpf.Toolkit.MultiLineTextEditor)(target));
                return;

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

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 18:

            #line 105 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_CatDelete);

            #line default
            #line hidden
                return;

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

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

            case 21:

            #line 111 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_PhotoUpload);

            #line default
            #line hidden
                return;

            case 22:

            #line 112 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_PhotoDelete);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 24:
                this.DropdownButtonMake = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 29:

            #line 148 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_saveMake);

            #line default
            #line hidden
                return;

            case 30:

            #line 153 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_deleteMake);

            #line default
            #line hidden
                return;

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

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

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

            #line 189 "..\..\AddProduct.xaml"
                this.TextUnique_id_Ads.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DataGrid_2_MouseEnter);

            #line default
            #line hidden
                return;

            case 34:

            #line 201 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_SaveAD);

            #line default
            #line hidden
                return;

            case 35:

            #line 217 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_DeleteAD);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 37:

            #line 250 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_CarSearch);

            #line default
            #line hidden
                return;

            case 38:

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

            #line default
            #line hidden
                return;

            case 39:

            #line 261 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_DeleteProduct);

            #line default
            #line hidden
                return;

            case 40:

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

            #line default
            #line hidden
                return;

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

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

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

            case 44:
                this.ChildWindowMake = ((Xceed.Wpf.Toolkit.ChildWindow)(target));

            #line 283 "..\..\AddProduct.xaml"
                this.ChildWindowMake.Closed += new System.EventHandler(this.ChildWindowMake_Closed);

            #line default
            #line hidden
                return;

            case 45:
                this.ListBoxMake_Second = ((System.Windows.Controls.ListBox)(target));
                return;

            case 46:

            #line 293 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_CarSearchMake);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #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;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((ShopManager.SellWPF)(target));

            #line 10 "..\..\SellWPF.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 = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:
                this.TextShowOnCarGr = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 20:

            #line 131 "..\..\SellWPF.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 21:

            #line 132 "..\..\SellWPF.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

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

            case 23:
                this.cat = ((System.Windows.Controls.TextBox)(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;
        }
        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;
        }