Inheritance: System.Windows.Controls.ContentControl, ICommandSource
コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.maxDropDownHeight = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 2:
                this.dropDownPosition = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.dropDownContentBackground = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
                return;

            case 4:
                this._dropDownButton = ((Xceed.Wpf.Toolkit.DropDownButton)(target));

            #line 127 "..\..\..\..\..\..\Samples\Button\Views\DropDownSplitButtonView.xaml"
                this._dropDownButton.Click += new System.Windows.RoutedEventHandler(this.DropDownButton_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 131 "..\..\..\..\..\..\Samples\Button\Views\DropDownSplitButtonView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this._splitButton = ((Xceed.Wpf.Toolkit.SplitButton)(target));

            #line 150 "..\..\..\..\..\..\Samples\Button\Views\DropDownSplitButtonView.xaml"
                this._splitButton.Click += new System.Windows.RoutedEventHandler(this.SplitButton_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 154 "..\..\..\..\..\..\Samples\Button\Views\DropDownSplitButtonView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_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.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;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.filterCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 81 "..\..\..\Views\PowerSpectrumDataView - Copy.xaml"
                this.filterCheckBox.Checked += new System.Windows.RoutedEventHandler(this.filterCheckBox_Checked);

            #line default
            #line hidden

            #line 81 "..\..\..\Views\PowerSpectrumDataView - Copy.xaml"
                this.filterCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 2:
                this.dropDownButton = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 3:
                this.bandPassRb = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.highPassRb = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 5:
                this.lowPassRb = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.envelopeCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 209 "..\..\..\Views\PowerSpectrumDataView - Copy.xaml"
                this.envelopeCheckBox.Checked += new System.Windows.RoutedEventHandler(this.filterCheckBox_Checked);

            #line default
            #line hidden

            #line 209 "..\..\..\Views\PowerSpectrumDataView - Copy.xaml"
                this.envelopeCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 7:
                this.tffCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 210 "..\..\..\Views\PowerSpectrumDataView - Copy.xaml"
                this.tffCheckBox.Checked += new System.Windows.RoutedEventHandler(this.filterCheckBox_Checked);

            #line default
            #line hidden

            #line 210 "..\..\..\Views\PowerSpectrumDataView - Copy.xaml"
                this.tffCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 8:
                this.cepstrumCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 211 "..\..\..\Views\PowerSpectrumDataView - Copy.xaml"
                this.cepstrumCheckBox.Checked += new System.Windows.RoutedEventHandler(this.filterCheckBox_Checked);

            #line default
            #line hidden

            #line 211 "..\..\..\Views\PowerSpectrumDataView - Copy.xaml"
                this.cepstrumCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 9:
                this.dbCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.gridChart = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:

            #line 220 "..\..\..\Views\PowerSpectrumDataView - Copy.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ScreenshotButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        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;
        }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\GetProducts.xaml"
                ((ShopManager.GetProducts)(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.SearchBox_Unique_id = ((System.Windows.Controls.TextBox)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden

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

            #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 72 "..\..\GetProducts.xaml"
                this.RangeCarPrice.LowerValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarPrice_LowerValueChanged);

            #line default
            #line hidden

            #line 72 "..\..\GetProducts.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 81 "..\..\GetProducts.xaml"
                this.RangeCarAmount.LowerValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarAmount_LowerValueChanged);

            #line default
            #line hidden

            #line 81 "..\..\GetProducts.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 98 "..\..\GetProducts.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 116 "..\..\GetProducts.xaml"
                this.SearchBox_Model.DropDownClosed += new System.EventHandler(this.SearchBox_Model_DropDownClosed);

            #line default
            #line hidden
                return;

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

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

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

            case 21:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
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 36 "..\..\Orders.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 42 "..\..\Orders.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 48 "..\..\Orders.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 57 "..\..\Orders.xaml"
                this.treeView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.treeView_MouseDoubleClick);

            #line default
            #line hidden

            #line 57 "..\..\Orders.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 78 "..\..\Orders.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 88 "..\..\Orders.xaml"
                this.RangeCarPrice.LowerValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarPrice_LowerValueChanged);

            #line default
            #line hidden

            #line 88 "..\..\Orders.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 97 "..\..\Orders.xaml"
                this.RangeCarAmount.LowerValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarAmount_LowerValueChanged);

            #line default
            #line hidden

            #line 97 "..\..\Orders.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 114 "..\..\Orders.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 132 "..\..\Orders.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 137 "..\..\Orders.xaml"
                this.CheckboxCar.Checked += new System.Windows.RoutedEventHandler(this.CheckboxCar_Checked_change);

            #line default
            #line hidden

            #line 137 "..\..\Orders.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));
                return;

            case 20:
                this.DataGrid_2 = ((Xceed.Wpf.DataGrid.DataGridControl)(target));
                return;

            case 21:

            #line 180 "..\..\Orders.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Remove);

            #line default
            #line hidden
                return;

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

            case 23:

            #line 182 "..\..\Orders.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Insert);

            #line default
            #line hidden
                return;

            case 24:

            #line 183 "..\..\Orders.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Checkout);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\MainWindow.xaml"
                ((Azi.Cloud.DokanNet.Gui.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.MainBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.CloudAddDropDownButton = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 4:

            #line 74 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectAll_OnClick);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.CacheDirButton = ((System.Windows.Controls.Button)(target));

            #line 114 "..\..\MainWindow.xaml"
                this.CacheDirButton.Click += new System.Windows.RoutedEventHandler(this.ChangeCacheDir);

            #line default
            #line hidden
                return;

            case 8:
                this.CacheClearButton = ((System.Windows.Controls.Button)(target));

            #line 115 "..\..\MainWindow.xaml"
                this.CacheClearButton.Click += new System.Windows.RoutedEventHandler(this.ClearSmallFilesCache);

            #line default
            #line hidden
                return;

            case 9:

            #line 117 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 10:

            #line 139 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportLog_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 140 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenIssue_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.filterCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 108 "..\..\..\Views\FrequencyDomainDataView.xaml"
                this.filterCheckBox.Checked += new System.Windows.RoutedEventHandler(this.filterCheckBox_Checked);

            #line default
            #line hidden

            #line 108 "..\..\..\Views\FrequencyDomainDataView.xaml"
                this.filterCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_UnChecked);

            #line default
            #line hidden
                return;

            case 2:
                this.dropDownButton = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 3:
                this.bandPassRb = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.highPassRb = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 5:
                this.lowPassRb = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.envelopeCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 236 "..\..\..\Views\FrequencyDomainDataView.xaml"
                this.envelopeCheckBox.Checked += new System.Windows.RoutedEventHandler(this.filterCheckBox_Checked);

            #line default
            #line hidden

            #line 236 "..\..\..\Views\FrequencyDomainDataView.xaml"
                this.envelopeCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_UnChecked);

            #line default
            #line hidden
                return;

            case 7:
                this.tffCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 237 "..\..\..\Views\FrequencyDomainDataView.xaml"
                this.tffCheckBox.Checked += new System.Windows.RoutedEventHandler(this.filterCheckBox_Checked);

            #line default
            #line hidden

            #line 237 "..\..\..\Views\FrequencyDomainDataView.xaml"
                this.tffCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_UnChecked);

            #line default
            #line hidden
                return;

            case 8:
                this.cepstrumCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 238 "..\..\..\Views\FrequencyDomainDataView.xaml"
                this.cepstrumCheckBox.Checked += new System.Windows.RoutedEventHandler(this.filterCheckBox_Checked);

            #line default
            #line hidden

            #line 238 "..\..\..\Views\FrequencyDomainDataView.xaml"
                this.cepstrumCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_UnChecked);

            #line default
            #line hidden
                return;

            case 9:

            #line 239 "..\..\..\Views\FrequencyDomainDataView.xaml"
                ((System.Windows.Controls.Primitives.RepeatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.MovePrevious_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 240 "..\..\..\Views\FrequencyDomainDataView.xaml"
                ((System.Windows.Controls.Primitives.RepeatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.MoveNext_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.gridChart = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:

            #line 248 "..\..\..\Views\FrequencyDomainDataView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ScreenshotButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
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;
        }
コード例 #10
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;
        }
コード例 #11
0
ファイル: MainWindow.g.cs プロジェクト: zdimension/IMPression
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\MainWindow.xaml"
     ((IMPressive.MainWindow)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Window_MouseWheel);
     
     #line default
     #line hidden
     
     #line 8 "..\..\MainWindow.xaml"
     ((IMPressive.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtOperation = ((System.Windows.Controls.AutoCompleteBox)(target));
     
     #line 17 "..\..\MainWindow.xaml"
     this.txtOperation.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtOperation_KeyUp);
     
     #line default
     #line hidden
     
     #line 18 "..\..\MainWindow.xaml"
     this.txtOperation.TextChanged += new System.Windows.RoutedEventHandler(this.txtOperation_TextChanged);
     
     #line default
     #line hidden
     
     #line 19 "..\..\MainWindow.xaml"
     this.txtOperation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.txtOperation_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 20 "..\..\MainWindow.xaml"
     this.txtOperation.DropDownClosed += new System.Windows.RoutedPropertyChangedEventHandler<bool>(this.txtOperation_DropDownClosed);
     
     #line default
     #line hidden
     return;
     case 3:
     this.txtResult = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.btn7 = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\MainWindow.xaml"
     this.btn7.Click += new System.Windows.RoutedEventHandler(this.btn7_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btn8 = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\MainWindow.xaml"
     this.btn8.Click += new System.Windows.RoutedEventHandler(this.btn8_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btn9 = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\MainWindow.xaml"
     this.btn9.Click += new System.Windows.RoutedEventHandler(this.btn9_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btn4 = ((System.Windows.Controls.Button)(target));
     
     #line 54 "..\..\MainWindow.xaml"
     this.btn4.Click += new System.Windows.RoutedEventHandler(this.btn4_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btn5 = ((System.Windows.Controls.Button)(target));
     
     #line 57 "..\..\MainWindow.xaml"
     this.btn5.Click += new System.Windows.RoutedEventHandler(this.btn5_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btn6 = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\MainWindow.xaml"
     this.btn6.Click += new System.Windows.RoutedEventHandler(this.btn6_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btn1 = ((System.Windows.Controls.Button)(target));
     
     #line 63 "..\..\MainWindow.xaml"
     this.btn1.Click += new System.Windows.RoutedEventHandler(this.btn1_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btn2 = ((System.Windows.Controls.Button)(target));
     
     #line 66 "..\..\MainWindow.xaml"
     this.btn2.Click += new System.Windows.RoutedEventHandler(this.btn2_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btn3 = ((System.Windows.Controls.Button)(target));
     
     #line 69 "..\..\MainWindow.xaml"
     this.btn3.Click += new System.Windows.RoutedEventHandler(this.btn3_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.btn0 = ((System.Windows.Controls.Button)(target));
     
     #line 72 "..\..\MainWindow.xaml"
     this.btn0.Click += new System.Windows.RoutedEventHandler(this.btn0_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.btnComma = ((System.Windows.Controls.Button)(target));
     
     #line 75 "..\..\MainWindow.xaml"
     this.btnComma.Click += new System.Windows.RoutedEventHandler(this.btnComma_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.btnEquals = ((System.Windows.Controls.Button)(target));
     
     #line 79 "..\..\MainWindow.xaml"
     this.btnEquals.Click += new System.Windows.RoutedEventHandler(this.btnEquals_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.btnTimes = ((System.Windows.Controls.Button)(target));
     
     #line 80 "..\..\MainWindow.xaml"
     this.btnTimes.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 81 "..\..\MainWindow.xaml"
     this.btnTimes.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 83 "..\..\MainWindow.xaml"
     this.btnTimes.Click += new System.Windows.RoutedEventHandler(this.btnTimes_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.btnMinus = ((System.Windows.Controls.Button)(target));
     
     #line 84 "..\..\MainWindow.xaml"
     this.btnMinus.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 85 "..\..\MainWindow.xaml"
     this.btnMinus.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 86 "..\..\MainWindow.xaml"
     this.btnMinus.Click += new System.Windows.RoutedEventHandler(this.btnMinus_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btnDiv = ((System.Windows.Controls.Button)(target));
     
     #line 87 "..\..\MainWindow.xaml"
     this.btnDiv.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 87 "..\..\MainWindow.xaml"
     this.btnDiv.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 89 "..\..\MainWindow.xaml"
     this.btnDiv.Click += new System.Windows.RoutedEventHandler(this.btnDiv_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.btnPlus = ((System.Windows.Controls.Button)(target));
     
     #line 90 "..\..\MainWindow.xaml"
     this.btnPlus.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 91 "..\..\MainWindow.xaml"
     this.btnPlus.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 93 "..\..\MainWindow.xaml"
     this.btnPlus.Click += new System.Windows.RoutedEventHandler(this.btnPlus_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.btnSech = ((System.Windows.Controls.Button)(target));
     
     #line 94 "..\..\MainWindow.xaml"
     this.btnSech.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 95 "..\..\MainWindow.xaml"
     this.btnSech.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 96 "..\..\MainWindow.xaml"
     this.btnSech.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.btnCsch = ((System.Windows.Controls.Button)(target));
     
     #line 98 "..\..\MainWindow.xaml"
     this.btnCsch.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 99 "..\..\MainWindow.xaml"
     this.btnCsch.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 100 "..\..\MainWindow.xaml"
     this.btnCsch.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.btnCoth = ((System.Windows.Controls.Button)(target));
     
     #line 101 "..\..\MainWindow.xaml"
     this.btnCoth.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 102 "..\..\MainWindow.xaml"
     this.btnCoth.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 103 "..\..\MainWindow.xaml"
     this.btnCoth.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.btnCosh = ((System.Windows.Controls.Button)(target));
     
     #line 104 "..\..\MainWindow.xaml"
     this.btnCosh.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 105 "..\..\MainWindow.xaml"
     this.btnCosh.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 106 "..\..\MainWindow.xaml"
     this.btnCosh.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.btnSinh = ((System.Windows.Controls.Button)(target));
     
     #line 107 "..\..\MainWindow.xaml"
     this.btnSinh.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 108 "..\..\MainWindow.xaml"
     this.btnSinh.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 109 "..\..\MainWindow.xaml"
     this.btnSinh.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.btnTanh = ((System.Windows.Controls.Button)(target));
     
     #line 110 "..\..\MainWindow.xaml"
     this.btnTanh.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 111 "..\..\MainWindow.xaml"
     this.btnTanh.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 112 "..\..\MainWindow.xaml"
     this.btnTanh.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.btnSec = ((System.Windows.Controls.Button)(target));
     
     #line 113 "..\..\MainWindow.xaml"
     this.btnSec.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 114 "..\..\MainWindow.xaml"
     this.btnSec.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 115 "..\..\MainWindow.xaml"
     this.btnSec.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.btnCsc = ((System.Windows.Controls.Button)(target));
     
     #line 116 "..\..\MainWindow.xaml"
     this.btnCsc.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 117 "..\..\MainWindow.xaml"
     this.btnCsc.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 118 "..\..\MainWindow.xaml"
     this.btnCsc.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.btnCot = ((System.Windows.Controls.Button)(target));
     
     #line 119 "..\..\MainWindow.xaml"
     this.btnCot.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 120 "..\..\MainWindow.xaml"
     this.btnCot.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 121 "..\..\MainWindow.xaml"
     this.btnCot.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.btnCos = ((System.Windows.Controls.Button)(target));
     
     #line 122 "..\..\MainWindow.xaml"
     this.btnCos.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 123 "..\..\MainWindow.xaml"
     this.btnCos.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 124 "..\..\MainWindow.xaml"
     this.btnCos.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.btnSin = ((System.Windows.Controls.Button)(target));
     
     #line 125 "..\..\MainWindow.xaml"
     this.btnSin.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 126 "..\..\MainWindow.xaml"
     this.btnSin.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 127 "..\..\MainWindow.xaml"
     this.btnSin.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.btnTan = ((System.Windows.Controls.Button)(target));
     
     #line 128 "..\..\MainWindow.xaml"
     this.btnTan.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 129 "..\..\MainWindow.xaml"
     this.btnTan.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 130 "..\..\MainWindow.xaml"
     this.btnTan.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.btnInverse = ((System.Windows.Controls.Button)(target));
     
     #line 131 "..\..\MainWindow.xaml"
     this.btnInverse.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 131 "..\..\MainWindow.xaml"
     this.btnInverse.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 134 "..\..\MainWindow.xaml"
     this.btnInverse.Click += new System.Windows.RoutedEventHandler(this.btnInverse_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.btnSqrt = ((System.Windows.Controls.Button)(target));
     
     #line 141 "..\..\MainWindow.xaml"
     this.btnSqrt.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 142 "..\..\MainWindow.xaml"
     this.btnSqrt.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 144 "..\..\MainWindow.xaml"
     this.btnSqrt.Click += new System.Windows.RoutedEventHandler(this.btnSqrt_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.btnClear = ((System.Windows.Controls.Button)(target));
     
     #line 145 "..\..\MainWindow.xaml"
     this.btnClear.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 146 "..\..\MainWindow.xaml"
     this.btnClear.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 148 "..\..\MainWindow.xaml"
     this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);
     
     #line default
     #line hidden
     return;
     case 35:
     this.btnLP = ((System.Windows.Controls.Button)(target));
     
     #line 151 "..\..\MainWindow.xaml"
     this.btnLP.Click += new System.Windows.RoutedEventHandler(this.btnLP_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.btnRP = ((System.Windows.Controls.Button)(target));
     
     #line 154 "..\..\MainWindow.xaml"
     this.btnRP.Click += new System.Windows.RoutedEventHandler(this.btnRP_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     this.btnSqr = ((System.Windows.Controls.Button)(target));
     
     #line 155 "..\..\MainWindow.xaml"
     this.btnSqr.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 156 "..\..\MainWindow.xaml"
     this.btnSqr.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 157 "..\..\MainWindow.xaml"
     this.btnSqr.Click += new System.Windows.RoutedEventHandler(this.btnSqr_Click);
     
     #line default
     #line hidden
     return;
     case 38:
     this.btnCube = ((System.Windows.Controls.Button)(target));
     
     #line 159 "..\..\MainWindow.xaml"
     this.btnCube.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 160 "..\..\MainWindow.xaml"
     this.btnCube.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 161 "..\..\MainWindow.xaml"
     this.btnCube.Click += new System.Windows.RoutedEventHandler(this.btnCube_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this.btnPow = ((System.Windows.Controls.Button)(target));
     
     #line 163 "..\..\MainWindow.xaml"
     this.btnPow.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 164 "..\..\MainWindow.xaml"
     this.btnPow.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 166 "..\..\MainWindow.xaml"
     this.btnPow.Click += new System.Windows.RoutedEventHandler(this.btnPow_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this.btnFact = ((System.Windows.Controls.Button)(target));
     
     #line 167 "..\..\MainWindow.xaml"
     this.btnFact.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 168 "..\..\MainWindow.xaml"
     this.btnFact.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 170 "..\..\MainWindow.xaml"
     this.btnFact.Click += new System.Windows.RoutedEventHandler(this.btnFact_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this.btnMC = ((System.Windows.Controls.Button)(target));
     
     #line 171 "..\..\MainWindow.xaml"
     this.btnMC.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 171 "..\..\MainWindow.xaml"
     this.btnMC.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 174 "..\..\MainWindow.xaml"
     this.btnMC.Click += new System.Windows.RoutedEventHandler(this.btnMC_Click);
     
     #line default
     #line hidden
     return;
     case 42:
     this.btnMS = ((System.Windows.Controls.Button)(target));
     
     #line 175 "..\..\MainWindow.xaml"
     this.btnMS.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 175 "..\..\MainWindow.xaml"
     this.btnMS.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 178 "..\..\MainWindow.xaml"
     this.btnMS.Click += new System.Windows.RoutedEventHandler(this.btnMS_Click);
     
     #line default
     #line hidden
     return;
     case 43:
     this.btnMP = ((System.Windows.Controls.Button)(target));
     
     #line 179 "..\..\MainWindow.xaml"
     this.btnMP.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 179 "..\..\MainWindow.xaml"
     this.btnMP.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 182 "..\..\MainWindow.xaml"
     this.btnMP.Click += new System.Windows.RoutedEventHandler(this.btnMP_Click);
     
     #line default
     #line hidden
     return;
     case 44:
     this.btnMR = ((System.Windows.Controls.Button)(target));
     
     #line 183 "..\..\MainWindow.xaml"
     this.btnMR.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 183 "..\..\MainWindow.xaml"
     this.btnMR.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 186 "..\..\MainWindow.xaml"
     this.btnMR.Click += new System.Windows.RoutedEventHandler(this.btnMR_Click);
     
     #line default
     #line hidden
     return;
     case 45:
     this.btnMM = ((System.Windows.Controls.Button)(target));
     
     #line 187 "..\..\MainWindow.xaml"
     this.btnMM.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 187 "..\..\MainWindow.xaml"
     this.btnMM.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 190 "..\..\MainWindow.xaml"
     this.btnMM.Click += new System.Windows.RoutedEventHandler(this.btnMM_Click);
     
     #line default
     #line hidden
     return;
     case 46:
     this.chkInverted = ((System.Windows.Controls.CheckBox)(target));
     
     #line 192 "..\..\MainWindow.xaml"
     this.chkInverted.Checked += new System.Windows.RoutedEventHandler(this.chkInverted_Checked);
     
     #line default
     #line hidden
     
     #line 192 "..\..\MainWindow.xaml"
     this.chkInverted.Unchecked += new System.Windows.RoutedEventHandler(this.chkInverted_Unchecked);
     
     #line default
     #line hidden
     return;
     case 47:
     this.btnAbout = ((System.Windows.Controls.Button)(target));
     
     #line 196 "..\..\MainWindow.xaml"
     this.btnAbout.Click += new System.Windows.RoutedEventHandler(this.btnAbout_Click);
     
     #line default
     #line hidden
     return;
     case 48:
     this.btnCubeRt = ((System.Windows.Controls.Button)(target));
     
     #line 197 "..\..\MainWindow.xaml"
     this.btnCubeRt.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 198 "..\..\MainWindow.xaml"
     this.btnCubeRt.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 199 "..\..\MainWindow.xaml"
     this.btnCubeRt.Click += new System.Windows.RoutedEventHandler(this.btnCubeRt_Click);
     
     #line default
     #line hidden
     return;
     case 49:
     this.btnNthRoot = ((System.Windows.Controls.Button)(target));
     
     #line 200 "..\..\MainWindow.xaml"
     this.btnNthRoot.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 201 "..\..\MainWindow.xaml"
     this.btnNthRoot.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 202 "..\..\MainWindow.xaml"
     this.btnNthRoot.Click += new System.Windows.RoutedEventHandler(this.btnNthRoot_Click);
     
     #line default
     #line hidden
     return;
     case 50:
     this.btnPowTen = ((System.Windows.Controls.Button)(target));
     
     #line 203 "..\..\MainWindow.xaml"
     this.btnPowTen.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 204 "..\..\MainWindow.xaml"
     this.btnPowTen.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 205 "..\..\MainWindow.xaml"
     this.btnPowTen.Click += new System.Windows.RoutedEventHandler(this.btnPow_Click);
     
     #line default
     #line hidden
     return;
     case 51:
     this.btnMax = ((System.Windows.Controls.Button)(target));
     
     #line 206 "..\..\MainWindow.xaml"
     this.btnMax.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 207 "..\..\MainWindow.xaml"
     this.btnMax.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 208 "..\..\MainWindow.xaml"
     this.btnMax.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     return;
     case 52:
     this.btnMin = ((System.Windows.Controls.Button)(target));
     
     #line 212 "..\..\MainWindow.xaml"
     this.btnMin.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     
     #line 212 "..\..\MainWindow.xaml"
     this.btnMin.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 212 "..\..\MainWindow.xaml"
     this.btnMin.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 53:
     this.btnRand = ((System.Windows.Controls.Button)(target));
     
     #line 215 "..\..\MainWindow.xaml"
     this.btnRand.Click += new System.Windows.RoutedEventHandler(this.btnRand_Click);
     
     #line default
     #line hidden
     
     #line 215 "..\..\MainWindow.xaml"
     this.btnRand.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 215 "..\..\MainWindow.xaml"
     this.btnRand.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 54:
     this.btnExp = ((System.Windows.Controls.Button)(target));
     
     #line 218 "..\..\MainWindow.xaml"
     this.btnExp.Click += new System.Windows.RoutedEventHandler(this.btnExp_Click);
     
     #line default
     #line hidden
     
     #line 218 "..\..\MainWindow.xaml"
     this.btnExp.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 218 "..\..\MainWindow.xaml"
     this.btnExp.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 55:
     this.btnCeil = ((System.Windows.Controls.Button)(target));
     
     #line 220 "..\..\MainWindow.xaml"
     this.btnCeil.Click += new System.Windows.RoutedEventHandler(this.btnCeil_Click);
     
     #line default
     #line hidden
     
     #line 221 "..\..\MainWindow.xaml"
     this.btnCeil.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 221 "..\..\MainWindow.xaml"
     this.btnCeil.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 56:
     this.btnFloor = ((System.Windows.Controls.Button)(target));
     
     #line 225 "..\..\MainWindow.xaml"
     this.btnFloor.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 226 "..\..\MainWindow.xaml"
     this.btnFloor.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 226 "..\..\MainWindow.xaml"
     this.btnFloor.Click += new System.Windows.RoutedEventHandler(this.btnFloor_Click);
     
     #line default
     #line hidden
     return;
     case 57:
     this.btnFibo = ((System.Windows.Controls.Button)(target));
     
     #line 231 "..\..\MainWindow.xaml"
     this.btnFibo.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     
     #line 231 "..\..\MainWindow.xaml"
     this.btnFibo.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 231 "..\..\MainWindow.xaml"
     this.btnFibo.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 58:
     this.btnInt = ((System.Windows.Controls.Button)(target));
     
     #line 234 "..\..\MainWindow.xaml"
     this.btnInt.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     
     #line 234 "..\..\MainWindow.xaml"
     this.btnInt.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 234 "..\..\MainWindow.xaml"
     this.btnInt.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 59:
     this.btnRnd = ((System.Windows.Controls.Button)(target));
     
     #line 236 "..\..\MainWindow.xaml"
     this.btnRnd.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 237 "..\..\MainWindow.xaml"
     this.btnRnd.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 237 "..\..\MainWindow.xaml"
     this.btnRnd.Click += new System.Windows.RoutedEventHandler(this.btnRnd_Click);
     
     #line default
     #line hidden
     return;
     case 60:
     this.btnLog = ((System.Windows.Controls.Button)(target));
     
     #line 242 "..\..\MainWindow.xaml"
     this.btnLog.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     
     #line 242 "..\..\MainWindow.xaml"
     this.btnLog.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 242 "..\..\MainWindow.xaml"
     this.btnLog.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 61:
     this.btnLog10 = ((System.Windows.Controls.Button)(target));
     
     #line 245 "..\..\MainWindow.xaml"
     this.btnLog10.Click += new System.Windows.RoutedEventHandler(this.btnLog10_Click);
     
     #line default
     #line hidden
     
     #line 245 "..\..\MainWindow.xaml"
     this.btnLog10.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 245 "..\..\MainWindow.xaml"
     this.btnLog10.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 62:
     this.btnLn = ((System.Windows.Controls.Button)(target));
     
     #line 248 "..\..\MainWindow.xaml"
     this.btnLn.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     
     #line 248 "..\..\MainWindow.xaml"
     this.btnLn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 248 "..\..\MainWindow.xaml"
     this.btnLn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 63:
     this.btnGcd = ((System.Windows.Controls.Button)(target));
     
     #line 251 "..\..\MainWindow.xaml"
     this.btnGcd.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     
     #line 251 "..\..\MainWindow.xaml"
     this.btnGcd.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 252 "..\..\MainWindow.xaml"
     this.btnGcd.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 64:
     this.btnLcm = ((System.Windows.Controls.Button)(target));
     
     #line 255 "..\..\MainWindow.xaml"
     this.btnLcm.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     
     #line 255 "..\..\MainWindow.xaml"
     this.btnLcm.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 255 "..\..\MainWindow.xaml"
     this.btnLcm.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 65:
     this.btnRandn = ((System.Windows.Controls.Button)(target));
     
     #line 258 "..\..\MainWindow.xaml"
     this.btnRandn.Click += new System.Windows.RoutedEventHandler(this.btnTrigFunc_Click);
     
     #line default
     #line hidden
     
     #line 258 "..\..\MainWindow.xaml"
     this.btnRandn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 258 "..\..\MainWindow.xaml"
     this.btnRandn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 66:
     this.lblHelp = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 67:
     this.btnPi = ((System.Windows.Controls.Button)(target));
     
     #line 263 "..\..\MainWindow.xaml"
     this.btnPi.Click += new System.Windows.RoutedEventHandler(this.btnPi_Click);
     
     #line default
     #line hidden
     return;
     case 68:
     this.lblOldOp = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 69:
     this.chkDegrees = ((System.Windows.Controls.CheckBox)(target));
     
     #line 269 "..\..\MainWindow.xaml"
     this.chkDegrees.Checked += new System.Windows.RoutedEventHandler(this.chkDegrees_Checked);
     
     #line default
     #line hidden
     
     #line 269 "..\..\MainWindow.xaml"
     this.chkDegrees.Unchecked += new System.Windows.RoutedEventHandler(this.chkDegrees_Checked);
     
     #line default
     #line hidden
     return;
     case 70:
     this.btnHelp = ((System.Windows.Controls.Button)(target));
     
     #line 272 "..\..\MainWindow.xaml"
     this.btnHelp.Click += new System.Windows.RoutedEventHandler(this.btnHelp_Click);
     
     #line default
     #line hidden
     return;
     case 71:
     this.btnGraph = ((Xceed.Wpf.Toolkit.SplitButton)(target));
     
     #line 274 "..\..\MainWindow.xaml"
     this.btnGraph.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 274 "..\..\MainWindow.xaml"
     this.btnGraph.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 275 "..\..\MainWindow.xaml"
     this.btnGraph.Click += new System.Windows.RoutedEventHandler(this.btnGraph_Click);
     
     #line default
     #line hidden
     return;
     case 72:
     this.btnPolarGraph = ((System.Windows.Controls.Button)(target));
     
     #line 279 "..\..\MainWindow.xaml"
     this.btnPolarGraph.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 279 "..\..\MainWindow.xaml"
     this.btnPolarGraph.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 281 "..\..\MainWindow.xaml"
     this.btnPolarGraph.Click += new System.Windows.RoutedEventHandler(this.btnPolarGraph_Click);
     
     #line default
     #line hidden
     return;
     case 73:
     this.btnParamPolarGraph = ((System.Windows.Controls.Button)(target));
     
     #line 283 "..\..\MainWindow.xaml"
     this.btnParamPolarGraph.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 283 "..\..\MainWindow.xaml"
     this.btnParamPolarGraph.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 285 "..\..\MainWindow.xaml"
     this.btnParamPolarGraph.Click += new System.Windows.RoutedEventHandler(this.btnParamPolarGraph_Click);
     
     #line default
     #line hidden
     return;
     case 74:
     this.btnParamGraph = ((System.Windows.Controls.Button)(target));
     
     #line 287 "..\..\MainWindow.xaml"
     this.btnParamGraph.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 287 "..\..\MainWindow.xaml"
     this.btnParamGraph.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 289 "..\..\MainWindow.xaml"
     this.btnParamGraph.Click += new System.Windows.RoutedEventHandler(this.btnParamGraph_Click);
     
     #line default
     #line hidden
     return;
     case 75:
     this.btnPointsGraph = ((System.Windows.Controls.Button)(target));
     
     #line 291 "..\..\MainWindow.xaml"
     this.btnPointsGraph.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 291 "..\..\MainWindow.xaml"
     this.btnPointsGraph.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 293 "..\..\MainWindow.xaml"
     this.btnPointsGraph.Click += new System.Windows.RoutedEventHandler(this.btnPointsGraph_Click);
     
     #line default
     #line hidden
     return;
     case 76:
     this.btnGraph3D = ((System.Windows.Controls.Button)(target));
     
     #line 294 "..\..\MainWindow.xaml"
     this.btnGraph3D.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 295 "..\..\MainWindow.xaml"
     this.btnGraph3D.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 296 "..\..\MainWindow.xaml"
     this.btnGraph3D.Click += new System.Windows.RoutedEventHandler(this.btnGraph3D_Click);
     
     #line default
     #line hidden
     return;
     case 77:
     this.btnGraphComplex3D = ((System.Windows.Controls.Button)(target));
     
     #line 298 "..\..\MainWindow.xaml"
     this.btnGraphComplex3D.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 298 "..\..\MainWindow.xaml"
     this.btnGraphComplex3D.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 300 "..\..\MainWindow.xaml"
     this.btnGraphComplex3D.Click += new System.Windows.RoutedEventHandler(this.btnGraphComplex3D_Click);
     
     #line default
     #line hidden
     return;
     case 78:
     this.btnTools = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
     
     #line 305 "..\..\MainWindow.xaml"
     this.btnTools.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 305 "..\..\MainWindow.xaml"
     this.btnTools.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     return;
     case 79:
     this.btnCalcHyp = ((System.Windows.Controls.Button)(target));
     
     #line 310 "..\..\MainWindow.xaml"
     this.btnCalcHyp.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 310 "..\..\MainWindow.xaml"
     this.btnCalcHyp.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 312 "..\..\MainWindow.xaml"
     this.btnCalcHyp.Click += new System.Windows.RoutedEventHandler(this.btnCalcHyp_Click);
     
     #line default
     #line hidden
     return;
     case 80:
     this.btnParamPolarGraph1 = ((System.Windows.Controls.Button)(target));
     
     #line 314 "..\..\MainWindow.xaml"
     this.btnParamPolarGraph1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 314 "..\..\MainWindow.xaml"
     this.btnParamPolarGraph1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 316 "..\..\MainWindow.xaml"
     this.btnParamPolarGraph1.Click += new System.Windows.RoutedEventHandler(this.btnParamPolarGraph_Click);
     
     #line default
     #line hidden
     return;
     case 81:
     this.btnGraphComplex3D1 = ((System.Windows.Controls.Button)(target));
     
     #line 318 "..\..\MainWindow.xaml"
     this.btnGraphComplex3D1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Tooltip);
     
     #line default
     #line hidden
     
     #line 318 "..\..\MainWindow.xaml"
     this.btnGraphComplex3D1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Toolhide);
     
     #line default
     #line hidden
     
     #line 320 "..\..\MainWindow.xaml"
     this.btnGraphComplex3D1.Click += new System.Windows.RoutedEventHandler(this.btnGraphComplex3D_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #12
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;
        }
コード例 #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CloudImage = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

            case 5:
                this.MountButton = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\CloudItemControl.xaml"
                this.MountButton.Click += new System.Windows.RoutedEventHandler(this.MountButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.UnmountButton = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\CloudItemControl.xaml"
                this.UnmountButton.Click += new System.Windows.RoutedEventHandler(this.UnmountButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.SearchButton = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\CloudItemControl.xaml"
                this.SearchButton.Click += new System.Windows.RoutedEventHandler(this.SearchButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.OptionsButton = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 9:
                this.LogoutButton = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\CloudItemControl.xaml"
                this.LogoutButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }