Draws a ribbon group numeric up-down.
상속: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView
예제 #1
0
        /// <summary>
        /// Initialize a new instance of the NumericUpDownController class.
        /// </summary>
        /// <param name="ribbon">Reference to owning ribbon instance.</param>
        /// <param name="numericUpDown">Source definition.</param>
        /// <param name="target">Target view element.</param>
        public NumericUpDownController(KryptonRibbon ribbon,
                                       KryptonRibbonGroupNumericUpDown numericUpDown,
                                       ViewDrawRibbonGroupNumericUpDown target)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(numericUpDown != null);
            Debug.Assert(target != null);

            _ribbon        = ribbon;
            _numericUpDown = numericUpDown;
            _target        = target;
        }
예제 #2
0
        /// <summary>
        /// Initialize a new instance of the NumericUpDownController class.
        /// </summary>
        /// <param name="ribbon">Reference to owning ribbon instance.</param>
        /// <param name="numericUpDown">Source definition.</param>
        /// <param name="target">Target view element.</param>
        public NumericUpDownController(KryptonRibbon ribbon,
                                       KryptonRibbonGroupNumericUpDown numericUpDown,
                                       ViewDrawRibbonGroupNumericUpDown target)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(numericUpDown != null);
            Debug.Assert(target != null);

            _ribbon = ribbon;
            _numericUpDown = numericUpDown;
            _target = target;
        }