Inheritance: System.Windows.Controls.Control
示例#1
0
        private static object CoerceMaximum(DependencyObject sender, object value)
        {
            RangeSlider rangeSlider = sender as RangeSlider;
            double      newValue    = ( double )value;

            return(Math.Max(newValue, rangeSlider.HigherValue));
        }
示例#2
0
        private void AdjustWidths(double minimum, double maximum, double lowerValue, double higherValue)
        {
            double actualWidth            = 0;
            double lowerSliderThumbWidth  = 0d;
            double higherSliderThumbWidth = 0d;

            if (this.Orientation == OrientationEnum.Horizontal)
            {
                actualWidth            = this.ActualWidth;
                lowerSliderThumbWidth  = RangeSlider.GetThumbWidth(_lowerSlider);
                higherSliderThumbWidth = RangeSlider.GetThumbWidth(_higherSlider);
            }
            else if (this.Orientation == OrientationEnum.Vertical)
            {
                actualWidth            = this.ActualHeight;
                lowerSliderThumbWidth  = RangeSlider.GetThumbHeight(_lowerSlider);
                higherSliderThumbWidth = RangeSlider.GetThumbHeight(_higherSlider);
            }

            actualWidth -= (lowerSliderThumbWidth + higherSliderThumbWidth);

            double entireRange = maximum - minimum;

            this.HigherRangeWidth = (actualWidth * (maximum - higherValue)) / entireRange;

            this.RangeWidth = (actualWidth * (higherValue - lowerValue)) / entireRange;

            this.LowerRangeWidth = (actualWidth * (lowerValue - minimum)) / entireRange;
        }
        private static object CoerceStep(DependencyObject sender, object value)
        {
            RangeSlider rangeSlider = sender as RangeSlider;
            double      newValue    = (double)value;

            return(Math.Max(0.01, newValue));
        }
示例#4
0
        private static object CoerceHigherValue(DependencyObject sender, object value)
        {
            RangeSlider rangeSlider = sender as RangeSlider;
            double      newValue    = ( double )value;

            return(Math.Max(rangeSlider.LowerValue, Math.Max(rangeSlider.Minimum, Math.Min(rangeSlider.Maximum, newValue))));
        }
        private static void OnMinimumChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            RangeSlider rangeSlider = sender as RangeSlider;

            if (rangeSlider != null)
            {
                rangeSlider.OnMinimumChanged((double)args.OldValue, (double)args.NewValue);
            }
        }
        private static void OnOrientationChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            RangeSlider rangeSlider = sender as RangeSlider;

            if (rangeSlider != null)
            {
                rangeSlider.OnOrientationChanged((Orientation)e.OldValue, (Orientation)e.NewValue);
            }
        }
        private void AdjustView(bool isHigherValueChanged = false)
        {
            //Coerce values to make them consistent.
            var cv = this.GetCoercedValues();

            double actualWidth            = 0;
            double lowerSliderThumbWidth  = 0d;
            double higherSliderThumbWidth = 0d;

            if (this.Orientation == Orientation.Horizontal)
            {
                actualWidth            = this.ActualWidth;
                lowerSliderThumbWidth  = RangeSlider.GetThumbWidth(_lowerSlider);
                higherSliderThumbWidth = RangeSlider.GetThumbWidth(_higherSlider);
            }
            else if (this.Orientation == Orientation.Vertical)
            {
                actualWidth            = this.ActualHeight;
                lowerSliderThumbWidth  = RangeSlider.GetThumbHeight(_lowerSlider);
                higherSliderThumbWidth = RangeSlider.GetThumbHeight(_higherSlider);
            }

            actualWidth -= (lowerSliderThumbWidth + higherSliderThumbWidth);

            if (!this.IsDeferredUpdateValues || (_deferredUpdateValue == null))
            {
                this.SetLowerSliderValues(cv.LowerValue, cv.Minimum, cv.Maximum);
                this.SetHigherSliderValues(cv.HigherValue, cv.Minimum, cv.Maximum);
            }

            double entireRange = cv.Maximum - cv.Minimum;

            if (entireRange > 0)
            {
                var higherValue = this.IsDeferredUpdateValues && isHigherValueChanged && (_deferredUpdateValue != null) ? _deferredUpdateValue.Value : cv.HigherValue;
                var lowerValue  = this.IsDeferredUpdateValues && !isHigherValueChanged && (_deferredUpdateValue != null) ? _deferredUpdateValue.Value : cv.LowerValue;

                this.HigherRangeWidth = (actualWidth * (cv.Maximum - higherValue)) / entireRange;

                this.RangeWidth = (actualWidth * (higherValue - lowerValue)) / entireRange;

                this.LowerRangeWidth = (actualWidth * (lowerValue - cv.Minimum)) / entireRange;
            }
            else
            {
                this.HigherRangeWidth = 0d;
                this.RangeWidth       = 0d;
                this.LowerRangeWidth  = actualWidth;
            }
        }
示例#8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lowerRangeStyleComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 642 "..\..\..\..\..\..\Samples\RangeSlider\Views\RangeSliderView.xaml"
                this.lowerRangeStyleComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RangeStyleComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 666 "..\..\..\..\..\..\Samples\RangeSlider\Views\RangeSliderView.xaml"
                this.rangeStyleComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RangeStyleComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.higherRangeStyleComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 690 "..\..\..\..\..\..\Samples\RangeSlider\Views\RangeSliderView.xaml"
                this.higherRangeStyleComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RangeStyleComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 5:
                this._tickFrequency = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 6:
                this._rangeSlider = ((Xceed.Wpf.Toolkit.RangeSlider)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#9
0
        private static object CoerceMinimum(DependencyObject sender, object value)
        {
            RangeSlider rangeSlider = sender as RangeSlider;
            double      newValue    = ( double )value;

            if ((rangeSlider.Minimum == 0.0) && (rangeSlider.LowerValue == 0) && (rangeSlider.HigherValue == 0) && (rangeSlider.Maximum == 0))
            {
                newValue = Math.Max(newValue, rangeSlider.LowerValue);
            }
            else
            {
                newValue = Math.Min(newValue, rangeSlider.LowerValue);
            }

            return(newValue);
        }
示例#10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TrimmingSlideControl = ((ControlsUnit.TrimmingSlide)(target));
                return;

            case 2:
                this._Time = ((System.Windows.Controls.Label)(target));
                return;

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

            case 4:
                this._PlaySlider = ((System.Windows.Controls.Primitives.ScrollBar)(target));

            #line 25 "..\..\TrimmingSlide.xaml"
                this._PlaySlider.Scroll += new System.Windows.Controls.Primitives.ScrollEventHandler(this._PlaySlider_Scroll);

            #line default
            #line hidden
                return;

            case 5:
                this._RangeSlider = ((Xceed.Wpf.Toolkit.RangeSlider)(target));

            #line 37 "..\..\TrimmingSlide.xaml"
                this._RangeSlider.HigherValueChanged += new System.Windows.RoutedEventHandler(this._RangeSlider_HigherValueChanged);

            #line default
            #line hidden

            #line 37 "..\..\TrimmingSlide.xaml"
                this._RangeSlider.LowerValueChanged += new System.Windows.RoutedEventHandler(this._RangeSlider_LowerValueChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        private void AdjustView()
        {
            //Coerce values to make them consistent.
            var cv = this.GetCoercedValues();

            double actualWidth            = 0;
            double lowerSliderThumbWidth  = 0d;
            double higherSliderThumbWidth = 0d;

            if (this.Orientation == Orientation.Horizontal)
            {
                actualWidth            = this.ActualWidth;
                lowerSliderThumbWidth  = RangeSlider.GetThumbWidth(_lowerSlider);
                higherSliderThumbWidth = RangeSlider.GetThumbWidth(_higherSlider);
            }
            else if (this.Orientation == Orientation.Vertical)
            {
                actualWidth            = this.ActualHeight;
                lowerSliderThumbWidth  = RangeSlider.GetThumbHeight(_lowerSlider);
                higherSliderThumbWidth = RangeSlider.GetThumbHeight(_higherSlider);
            }

            actualWidth -= (lowerSliderThumbWidth + higherSliderThumbWidth);

            this.SetLowerSliderValues(cv.LowerValue, cv.Minimum, cv.Maximum);
            this.SetHigherSliderValues(cv.HigherValue, cv.Minimum, cv.Maximum);

            double entireRange = cv.Maximum - cv.Minimum;

            if (entireRange > 0)
            {
                this.HigherRangeWidth = (actualWidth * (cv.Maximum - cv.HigherValue)) / entireRange;

                this.RangeWidth = (actualWidth * (cv.HigherValue - cv.LowerValue)) / entireRange;

                this.LowerRangeWidth = (actualWidth * (cv.LowerValue - cv.Minimum)) / entireRange;
            }
            else
            {
                this.HigherRangeWidth = 0d;
                this.RangeWidth       = 0d;
                this.LowerRangeWidth  = actualWidth;
            }
        }
        private void SetSlidersMargins()
        {
            if ((_lowerSlider != null) && (_higherSlider != null))
            {
                if (this.Orientation == Orientation.Horizontal)
                {
                    double lowerSliderThumbWidth  = RangeSlider.GetThumbWidth(_lowerSlider);
                    double higherSliderThumbWidth = RangeSlider.GetThumbWidth(_higherSlider);

                    _higherSlider.Margin = new Thickness(lowerSliderThumbWidth, 0d, 0d, 0d);
                    _lowerSlider.Margin  = new Thickness(0d, 0d, higherSliderThumbWidth, 0d);
                }
                else
                {
                    double lowerSliderThumbHeight  = RangeSlider.GetThumbHeight(_lowerSlider);
                    double higherSliderThumbHeight = RangeSlider.GetThumbHeight(_higherSlider);

                    _higherSlider.Margin = new Thickness(0d, 0d, 0d, lowerSliderThumbHeight);
                    _lowerSlider.Margin  = new Thickness(0d, higherSliderThumbHeight, 0d, 0d);
                }
            }
        }
示例#13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Title = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.lowerValueText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.higherValueText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.mainSlider = ((Xceed.Wpf.Toolkit.RangeSlider)(target));

            #line 17 "..\..\..\MainWindow.xaml"
                this.mainSlider.HigherValueChanged += new System.Windows.RoutedEventHandler(this.mainSlider_HigherValueChanged);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\MainWindow.xaml"
                this.compareValues.Click += new System.Windows.RoutedEventHandler(this.compareValues_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\MainWindow.xaml"
                this.lockValues.Click += new System.Windows.RoutedEventHandler(this.lockValues_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\MainWindow.xaml"
                this.moveSlider.Click += new System.Windows.RoutedEventHandler(this.moveSlider_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.IVE = ((System.Windows.Controls.Label)(target));
                return;

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

            case 10:
                this.IVW = ((System.Windows.Controls.Label)(target));
                return;

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

            case 12:
                this.IJH = ((System.Windows.Controls.Label)(target));
                return;

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

            case 14:
                this.IWN = ((System.Windows.Controls.Label)(target));
                return;

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

            case 16:
                this.IWO = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\GiveProducts.xaml"
                ((ShopManager.GiveProducts)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.StackCode = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 34:

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

            #line default
            #line hidden
                return;

            case 35:

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

            #line default
            #line hidden
                return;

            case 36:

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

            #line default
            #line hidden
                return;

            case 37:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 59:
                this.LocalAD = ((ShopManager.AddAD)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#15
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;
        }
示例#16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.labelPesoMaxMochila = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.sliderPesoMaxMochila = ((System.Windows.Controls.Slider)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.sliderPesoMaxMochila.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliderPesoMaxMochila_ValueChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.numPesoMaxMochila = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.numPesoMaxMochila.Loaded += new System.Windows.RoutedEventHandler(this.numPesoMaxMochila_Loaded);

            #line default
            #line hidden

            #line 16 "..\..\MainWindow.xaml"
                this.numPesoMaxMochila.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.numPesoMaxMochila_ValueChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.labelPesoObj = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.sliderPesoObj = ((Xceed.Wpf.Toolkit.RangeSlider)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.sliderPesoObj.HigherValueChanged += new System.Windows.RoutedEventHandler(this.sliderPesoObj_HigherValueChanged);

            #line default
            #line hidden

            #line 20 "..\..\MainWindow.xaml"
                this.sliderPesoObj.LowerValueChanged += new System.Windows.RoutedEventHandler(this.sliderPesoObj_LowerValueChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.labelNumPesoObj = ((System.Windows.Controls.Label)(target));

            #line 24 "..\..\MainWindow.xaml"
                this.labelNumPesoObj.Loaded += new System.Windows.RoutedEventHandler(this.labelNumPesoObj_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 27 "..\..\MainWindow.xaml"
                this.sliderValorObj.LowerValueChanged += new System.Windows.RoutedEventHandler(this.sliderValorObj_LowerValueChanged);

            #line default
            #line hidden

            #line 27 "..\..\MainWindow.xaml"
                this.sliderValorObj.HigherValueChanged += new System.Windows.RoutedEventHandler(this.sliderValorObj_HigherValueChanged);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.labelNumValorObj.Loaded += new System.Windows.RoutedEventHandler(this.labelNumValorObj_Loaded);

            #line default
            #line hidden
                return;

            case 12:
                this.labelNumMochila = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.numNumMochila = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.numNumMochila.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.numNumMochila_ValueChanged);

            #line default
            #line hidden

            #line 37 "..\..\MainWindow.xaml"
                this.numNumMochila.LostFocus += new System.Windows.RoutedEventHandler(this.numNumMochila_LostFocus);

            #line default
            #line hidden
                return;

            case 14:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 16:
                this.numTxCruzamento = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

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

            case 18:
                this.labelIntGeracao = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.numIntGeracao = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

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

            case 21:
                this.labelTxMutacao = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.numTxMutacao = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));
                return;

            case 23:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.labelLimiar = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.numLimiar = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 26:
                this.labelPercLimiar = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.buttonResetaDados = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\MainWindow.xaml"
                this.buttonResetaDados.Click += new System.Windows.RoutedEventHandler(this.buttonResetaDados_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.buttonProcessar = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.buttonProcessar.Click += new System.Windows.RoutedEventHandler(this.buttonProcessar_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rbtnSobel = ((System.Windows.Controls.RadioButton)(target));

            #line 12 "..\..\..\Dialog\EdgeDetectDialog.xaml"
                this.rbtnSobel.Checked += new System.Windows.RoutedEventHandler(this.Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.rbtnLaplacian = ((System.Windows.Controls.RadioButton)(target));

            #line 13 "..\..\..\Dialog\EdgeDetectDialog.xaml"
                this.rbtnLaplacian.Checked += new System.Windows.RoutedEventHandler(this.Checked);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\..\Dialog\EdgeDetectDialog.xaml"
                this.rbtnCanny.Checked += new System.Windows.RoutedEventHandler(this.Checked);

            #line default
            #line hidden
                return;

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

            case 5:
                this.gboxLaplacian = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 6:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

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

            case 8:
                this.gboxCanny = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            case 11:
                this.l = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));
                return;

            case 12:
                this.r = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));
                return;

            case 13:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\..\Dialog\EdgeDetectDialog.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\..\Dialog\EdgeDetectDialog.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#18
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;
        }
示例#19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rbtnLinear = ((System.Windows.Controls.RadioButton)(target));

            #line 12 "..\..\..\Dialog\ContrastDialog.xaml"
                this.rbtnLinear.Checked += new System.Windows.RoutedEventHandler(this.Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.rbtnLog = ((System.Windows.Controls.RadioButton)(target));

            #line 13 "..\..\..\Dialog\ContrastDialog.xaml"
                this.rbtnLog.Checked += new System.Windows.RoutedEventHandler(this.Checked);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\..\Dialog\ContrastDialog.xaml"
                this.rbtnExp.Checked += new System.Windows.RoutedEventHandler(this.Checked);

            #line default
            #line hidden
                return;

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

            case 5:
                this.plotter = ((InteractiveDataDisplay.WPF.Chart)(target));
                return;

            case 6:
                this.lines = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.HSlider = ((Xceed.Wpf.Toolkit.RangeSlider)(target));
                return;

            case 8:
                this.VSlider = ((Xceed.Wpf.Toolkit.RangeSlider)(target));
                return;

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

            #line 33 "..\..\..\Dialog\ContrastDialog.xaml"
                this.x1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.x2 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 35 "..\..\..\Dialog\ContrastDialog.xaml"
                this.x2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.y1 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 37 "..\..\..\Dialog\ContrastDialog.xaml"
                this.y1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 39 "..\..\..\Dialog\ContrastDialog.xaml"
                this.y2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.gboxLog = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 18:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.logV = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));

            #line 46 "..\..\..\Dialog\ContrastDialog.xaml"
                this.logV.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

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

            case 21:
                this.gboxExp = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 23:
                this.expV = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));

            #line 53 "..\..\..\Dialog\ContrastDialog.xaml"
                this.expV.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.label1_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.rbtnBal = ((System.Windows.Controls.RadioButton)(target));

            #line 58 "..\..\..\Dialog\ContrastDialog.xaml"
                this.rbtnBal.Checked += new System.Windows.RoutedEventHandler(this.Checked);

            #line default
            #line hidden
                return;

            case 26:
                this.groupBox1_Copy1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 27:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\..\Dialog\ContrastDialog.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\..\Dialog\ContrastDialog.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

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

            #line 11 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.radiobtnManaul.Checked += new System.Windows.RoutedEventHandler(this.radiobtnManaul_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.gboxManaul = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.RInOut = ((System.Windows.Controls.ComboBox)(target));

            #line 27 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.RInOut.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.RSlider = ((Xceed.Wpf.Toolkit.RangeSlider)(target));
                return;

            case 5:
                this.RLow = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));

            #line 32 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.RLow.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.RHigh = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));

            #line 33 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.RHigh.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.GInOut.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.GSlider = ((Xceed.Wpf.Toolkit.RangeSlider)(target));
                return;

            case 9:
                this.GLow = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));

            #line 40 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.GLow.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.GHigh = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));

            #line 41 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.GHigh.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.BInOut.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.BSlider = ((Xceed.Wpf.Toolkit.RangeSlider)(target));
                return;

            case 13:
                this.BLow = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));

            #line 48 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.BLow.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.BHigh = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));

            #line 49 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.BHigh.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.ValueChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.radiobtnOtsu = ((System.Windows.Controls.RadioButton)(target));

            #line 52 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.radiobtnOtsu.Checked += new System.Windows.RoutedEventHandler(this.radiobtnOtsu_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\..\Dialog\BinarizationDialog.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

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

            #line 13 "..\..\..\MainWindow.xaml"
                ((LMCSHD.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.MIConnect = ((System.Windows.Controls.MenuItem)(target));

            #line 71 "..\..\..\MainWindow.xaml"
                this.MIConnect.Click += new System.Windows.RoutedEventHandler(this.MIConnect_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 72 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MIDisconnect_Click);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.CPCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 90 "..\..\..\MainWindow.xaml"
                this.CPCheckBox.Checked += new System.Windows.RoutedEventHandler(this.CPCheckBox_CheckedChanged);

            #line default
            #line hidden

            #line 90 "..\..\..\MainWindow.xaml"
                this.CPCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CPCheckBox_CheckedChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.ContentImage = ((System.Windows.Controls.Image)(target));
                return;

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

            case 8:
                this.MatrixPreviewGroup = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.MatrixImage = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.SCStart = ((System.Windows.Controls.Button)(target));

            #line 141 "..\..\..\MainWindow.xaml"
                this.SCStart.Click += new System.Windows.RoutedEventHandler(this.SC_Start_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.SCStop = ((System.Windows.Controls.Button)(target));

            #line 147 "..\..\..\MainWindow.xaml"
                this.SCStop.Click += new System.Windows.RoutedEventHandler(this.SC_Stop_Click);

            #line default
            #line hidden
                return;

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

            #line 151 "..\..\..\MainWindow.xaml"
                this.SCInterpModeDrop.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SCInterpModeDrop_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.SCStartXU = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 164 "..\..\..\MainWindow.xaml"
                this.SCStartXU.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.SC_INT_UPDOWN_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.SCStartXS = ((System.Windows.Controls.Slider)(target));

            #line 165 "..\..\..\MainWindow.xaml"
                this.SCStartXS.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SCSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 171 "..\..\..\MainWindow.xaml"
                this.SCStartYU.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.SC_INT_UPDOWN_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.SCStartYS = ((System.Windows.Controls.Slider)(target));

            #line 172 "..\..\..\MainWindow.xaml"
                this.SCStartYS.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SCSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.SCEndXU = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 178 "..\..\..\MainWindow.xaml"
                this.SCEndXU.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.SC_INT_UPDOWN_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.SCEndXS = ((System.Windows.Controls.Slider)(target));

            #line 179 "..\..\..\MainWindow.xaml"
                this.SCEndXS.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SCSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.SCEndYU = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 185 "..\..\..\MainWindow.xaml"
                this.SCEndYU.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.SC_INT_UPDOWN_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.SCEndYS = ((System.Windows.Controls.Slider)(target));

            #line 186 "..\..\..\MainWindow.xaml"
                this.SCEndYS.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SCSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.SCResetSliders = ((System.Windows.Controls.Button)(target));

            #line 193 "..\..\..\MainWindow.xaml"
                this.SCResetSliders.Click += new System.Windows.RoutedEventHandler(this.SCResetSliders_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.SCLockDim = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 202 "..\..\..\MainWindow.xaml"
                this.SCDisplayOutline.Checked += new System.Windows.RoutedEventHandler(this.SCDisplayOutline_Checked);

            #line default
            #line hidden

            #line 203 "..\..\..\MainWindow.xaml"
                this.SCDisplayOutline.Unchecked += new System.Windows.RoutedEventHandler(this.SCDisplayOutline_Unchecked);

            #line default
            #line hidden
                return;

            case 24:
                this.SCWidth = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.SCHeight = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.SAStart = ((System.Windows.Controls.Button)(target));

            #line 245 "..\..\..\MainWindow.xaml"
                this.SAStart.Click += new System.Windows.RoutedEventHandler(this.SAStart_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.SAStop = ((System.Windows.Controls.Button)(target));

            #line 249 "..\..\..\MainWindow.xaml"
                this.SAStop.Click += new System.Windows.RoutedEventHandler(this.SAStop_Click);

            #line default
            #line hidden
                return;

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

            #line 262 "..\..\..\MainWindow.xaml"
                this.SADeviceDrop.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SADeviceDrop_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.SARefreshDevices = ((System.Windows.Controls.Button)(target));

            #line 269 "..\..\..\MainWindow.xaml"
                this.SARefreshDevices.Click += new System.Windows.RoutedEventHandler(this.SARefreshDevices_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.SARangeS = ((Xceed.Wpf.Toolkit.RangeSlider)(target));

            #line 293 "..\..\..\MainWindow.xaml"
                this.SARangeS.HigherValueChanged += new System.Windows.RoutedEventHandler(this.SARangeS_HigherValueChanged);

            #line default
            #line hidden

            #line 294 "..\..\..\MainWindow.xaml"
                this.SARangeS.LowerValueChanged += new System.Windows.RoutedEventHandler(this.SARangeS_LowerValueChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.SALowClipU = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 297 "..\..\..\MainWindow.xaml"
                this.SALowClipU.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.SAIntUpDown_ValueChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.SAHighClipU = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 304 "..\..\..\MainWindow.xaml"
                this.SAHighClipU.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.SAIntUpDown_ValueChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.SAAmpU = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 323 "..\..\..\MainWindow.xaml"
                this.SAAmpU.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.SAAmpU_ValueChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.SAColor1 = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 340 "..\..\..\MainWindow.xaml"
                this.SAColor1.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.SA_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.SAColor2 = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 348 "..\..\..\MainWindow.xaml"
                this.SAColor2.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.SA_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.SADisplayMode = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((RA1_2013.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((RA1_2013.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((RA1_2013.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:

            #line 20 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);

            #line default
            #line hidden
                return;

            case 3:

            #line 22 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.DemoExecuted);

            #line default
            #line hidden
                return;

            case 4:

            #line 24 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NewExecuted);

            #line default
            #line hidden
                return;

            case 5:

            #line 26 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NewEtiketaExecuted);

            #line default
            #line hidden
                return;

            case 6:

            #line 28 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NewTipExecuted);

            #line default
            #line hidden
                return;

            case 7:

            #line 30 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ModifyEtiketaExecuted);

            #line default
            #line hidden
                return;

            case 8:

            #line 32 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ModifyTipExecuted);

            #line default
            #line hidden
                return;

            case 9:
                this.WindowBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 10:
                this.menuDock = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 11:
                this.mainMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 12:
                this.ToolbarTray = ((System.Windows.Controls.ToolBarTray)(target));
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:
                this.clipBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 20:
                this.map = ((System.Windows.Controls.Image)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.map.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.map_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 109 "..\..\MainWindow.xaml"
                this.map.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.map_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 109 "..\..\MainWindow.xaml"
                this.map.MouseMove += new System.Windows.Input.MouseEventHandler(this.map_MouseMove);

            #line default
            #line hidden

            #line 109 "..\..\MainWindow.xaml"
                this.map.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.map_MouseWheel);

            #line default
            #line hidden

            #line 109 "..\..\MainWindow.xaml"
                this.map.DragEnter += new System.Windows.DragEventHandler(this.map_DragEnter);

            #line default
            #line hidden

            #line 109 "..\..\MainWindow.xaml"
                this.map.Drop += new System.Windows.DragEventHandler(this.map_Drop);

            #line default
            #line hidden

            #line 109 "..\..\MainWindow.xaml"
                this.map.KeyDown += new System.Windows.Input.KeyEventHandler(this.map_KeyDown);

            #line default
            #line hidden
                return;

            case 21:
                this.st = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 22:
                this.translateTransform = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 23:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 24:
                this.st1 = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 25:
                this.tt1 = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 26:
                this.Expander1 = ((System.Windows.Controls.Expander)(target));
                return;

            case 27:
                this.pretragaLokala = ((System.Windows.Controls.AutoCompleteBox)(target));

            #line 179 "..\..\MainWindow.xaml"
                this.pretragaLokala.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.pretragaLokala_PreviewKeyDown);

            #line default
            #line hidden

            #line 179 "..\..\MainWindow.xaml"
                this.pretragaLokala.KeyDown += new System.Windows.Input.KeyEventHandler(this.pretragaLokala_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 212 "..\..\MainWindow.xaml"
                this.FilterCena.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FilterCena_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.FilterAlkohol = ((System.Windows.Controls.ComboBox)(target));

            #line 214 "..\..\MainWindow.xaml"
                this.FilterAlkohol.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FilterAlkohol_SelectionChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.FilterPusenje = ((System.Windows.Controls.ComboBox)(target));

            #line 220 "..\..\MainWindow.xaml"
                this.FilterPusenje.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FilterPusenje_SelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.FilterRezervacije = ((System.Windows.Controls.ComboBox)(target));

            #line 225 "..\..\MainWindow.xaml"
                this.FilterRezervacije.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FilterRezervacije_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 230 "..\..\MainWindow.xaml"
                this.FilterPristupnost.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FilterPristupnost_SelectionChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.FilterOdDatum = ((System.Windows.Controls.DatePicker)(target));

            #line 238 "..\..\MainWindow.xaml"
                this.FilterOdDatum.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.FilterOdDatum_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.FilterDoDatum = ((System.Windows.Controls.DatePicker)(target));

            #line 244 "..\..\MainWindow.xaml"
                this.FilterDoDatum.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.FilterDoDatum_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.FilterTip = ((System.Windows.Controls.AutoCompleteBox)(target));

            #line 255 "..\..\MainWindow.xaml"
                this.FilterTip.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tipoviLokala_PreviewKeyDownFilter);

            #line default
            #line hidden

            #line 255 "..\..\MainWindow.xaml"
                this.FilterTip.KeyDown += new System.Windows.Input.KeyEventHandler(this.tipoviLokala_PreviewKeyDownFilter);

            #line default
            #line hidden
                return;

            case 36:

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

            #line default
            #line hidden
                return;

            case 37:
                this.FilterEtikete = ((System.Windows.Controls.AutoCompleteBox)(target));

            #line 280 "..\..\MainWindow.xaml"
                this.FilterEtikete.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.etikete_PreviewKeyDownFilter);

            #line default
            #line hidden

            #line 280 "..\..\MainWindow.xaml"
                this.FilterEtikete.KeyDown += new System.Windows.Input.KeyEventHandler(this.etikete_PreviewKeyDownFilter);

            #line default
            #line hidden
                return;

            case 38:

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

            #line default
            #line hidden
                return;

            case 39:
                this.FilterSlider = ((Xceed.Wpf.Toolkit.RangeSlider)(target));
                return;

            case 40:
                this.FilterPrikaz = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 42:
                this.FilterPonisti = ((System.Windows.Controls.Button)(target));

            #line 339 "..\..\MainWindow.xaml"
                this.FilterPonisti.Click += new System.Windows.RoutedEventHandler(this.FilterPonisti_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.FilterPrimeni = ((System.Windows.Controls.Button)(target));

            #line 342 "..\..\MainWindow.xaml"
                this.FilterPrimeni.Click += new System.Windows.RoutedEventHandler(this.FilterPrimeni_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.FiltriranjeLokalaExpander = ((System.Windows.Controls.Expander)(target));
                return;

            case 45:
                this.preview_Prikaz = ((System.Windows.Controls.Image)(target));
                return;

            case 46:
                this.addIcon = ((System.Windows.Controls.Button)(target));

            #line 373 "..\..\MainWindow.xaml"
                this.addIcon.Click += new System.Windows.RoutedEventHandler(this.addIcon_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.tipoviLokala = ((System.Windows.Controls.AutoCompleteBox)(target));

            #line 394 "..\..\MainWindow.xaml"
                this.tipoviLokala.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tipoviLokala_PreviewKeyDown);

            #line default
            #line hidden

            #line 394 "..\..\MainWindow.xaml"
                this.tipoviLokala.KeyDown += new System.Windows.Input.KeyEventHandler(this.tipoviLokala_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 48:
                this.SelectTypeTable = ((System.Windows.Controls.Button)(target));

            #line 405 "..\..\MainWindow.xaml"
                this.SelectTypeTable.Click += new System.Windows.RoutedEventHandler(this.SelectTypeTable_Click);

            #line default
            #line hidden
                return;

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

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

            case 51:
                this.etikete = ((System.Windows.Controls.AutoCompleteBox)(target));

            #line 458 "..\..\MainWindow.xaml"
                this.etikete.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.etikete_PreviewKeyDown);

            #line default
            #line hidden

            #line 458 "..\..\MainWindow.xaml"
                this.etikete.KeyDown += new System.Windows.Input.KeyEventHandler(this.etikete_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 52:
                this.SelectTagTable = ((System.Windows.Controls.Button)(target));

            #line 473 "..\..\MainWindow.xaml"
                this.SelectTagTable.Click += new System.Windows.RoutedEventHandler(this.SelectTagTable_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.etiketePrikaz = ((System.Windows.Controls.ItemsControl)(target));

            #line 482 "..\..\MainWindow.xaml"
                this.etiketePrikaz.DragEnter += new System.Windows.DragEventHandler(this.etiketePrikaz_DragEnter);

            #line default
            #line hidden

            #line 482 "..\..\MainWindow.xaml"
                this.etiketePrikaz.Drop += new System.Windows.DragEventHandler(this.etiketePrikaz_Drop);

            #line default
            #line hidden
                return;

            case 55:
                this.brisanje = ((System.Windows.Controls.Button)(target));

            #line 534 "..\..\MainWindow.xaml"
                this.brisanje.Click += new System.Windows.RoutedEventHandler(this.brisanje_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.kreiranje = ((System.Windows.Controls.Button)(target));

            #line 543 "..\..\MainWindow.xaml"
                this.kreiranje.Click += new System.Windows.RoutedEventHandler(this.kreiranje_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.Prikaz = ((System.Windows.Controls.DataGrid)(target));

            #line 556 "..\..\MainWindow.xaml"
                this.Prikaz.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Prikaz_SelectionChanged);

            #line default
            #line hidden

            #line 556 "..\..\MainWindow.xaml"
                this.Prikaz.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Prikaz_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 556 "..\..\MainWindow.xaml"
                this.Prikaz.MouseMove += new System.Windows.Input.MouseEventHandler(this.Prikaz_MouseMove);

            #line default
            #line hidden
                return;

            case 58:
                this.PrikazTag = ((System.Windows.Controls.DataGrid)(target));

            #line 590 "..\..\MainWindow.xaml"
                this.PrikazTag.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PrikazTag_SelectionChanged);

            #line default
            #line hidden

            #line 590 "..\..\MainWindow.xaml"
                this.PrikazTag.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PrikazTag_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 590 "..\..\MainWindow.xaml"
                this.PrikazTag.MouseMove += new System.Windows.Input.MouseEventHandler(this.PrikazTag_MouseMove);

            #line default
            #line hidden
                return;

            case 59:
                this.etiketeTag = ((System.Windows.Controls.AutoCompleteBox)(target));

            #line 611 "..\..\MainWindow.xaml"
                this.etiketeTag.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.etiketeTag_PreviewKeyDown);

            #line default
            #line hidden

            #line 611 "..\..\MainWindow.xaml"
                this.etiketeTag.KeyDown += new System.Windows.Input.KeyEventHandler(this.etiketeTag_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 60:
                this.oznakaTag = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));
                return;

            case 61:
                this.bojaTag = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
                return;

            case 62:
                this.opisTag = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));
                return;

            case 63:
                this.brisanjeTag = ((System.Windows.Controls.Button)(target));

            #line 666 "..\..\MainWindow.xaml"
                this.brisanjeTag.Click += new System.Windows.RoutedEventHandler(this.brisanjeTag_Click);

            #line default
            #line hidden
                return;

            case 64:
                this.kreiranjeTag = ((System.Windows.Controls.Button)(target));

            #line 675 "..\..\MainWindow.xaml"
                this.kreiranjeTag.Click += new System.Windows.RoutedEventHandler(this.kreiranjeTag_Click);

            #line default
            #line hidden
                return;

            case 65:
                this.PrikazTip = ((System.Windows.Controls.DataGrid)(target));

            #line 712 "..\..\MainWindow.xaml"
                this.PrikazTip.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PrikazTip_SelectionChanged);

            #line default
            #line hidden
                return;

            case 66:
                this.tipoviLokalaTip = ((System.Windows.Controls.AutoCompleteBox)(target));

            #line 726 "..\..\MainWindow.xaml"
                this.tipoviLokalaTip.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tipoviLokalaTip_PreviewKeyDown);

            #line default
            #line hidden

            #line 726 "..\..\MainWindow.xaml"
                this.tipoviLokalaTip.KeyDown += new System.Windows.Input.KeyEventHandler(this.tipoviLokalaTip_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 67:
                this.imeTip = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));
                return;

            case 68:
                this.oznakaTip = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));
                return;

            case 69:
                this.dodajIkonicu = ((System.Windows.Controls.Button)(target));

            #line 771 "..\..\MainWindow.xaml"
                this.dodajIkonicu.Click += new System.Windows.RoutedEventHandler(this.dodajIkonicu_Click);

            #line default
            #line hidden
                return;

            case 70:
                this.ikonicaTip = ((System.Windows.Controls.Image)(target));

            #line 775 "..\..\MainWindow.xaml"
                this.ikonicaTip.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ikonicaTip_MouseDown);

            #line default
            #line hidden
                return;

            case 71:
                this.opisTip = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));
                return;

            case 72:
                this.brisanjeTip = ((System.Windows.Controls.Button)(target));

            #line 797 "..\..\MainWindow.xaml"
                this.brisanjeTip.Click += new System.Windows.RoutedEventHandler(this.brisanjeTip_Click);

            #line default
            #line hidden
                return;

            case 73:
                this.kreiranjeTip = ((System.Windows.Controls.Button)(target));

            #line 806 "..\..\MainWindow.xaml"
                this.kreiranjeTip.Click += new System.Windows.RoutedEventHandler(this.kreiranjeTip_Click);

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