public MainFormPhoneLineControl(
            ICore core,
            int line,
            KryptonCheckButton controlButton,
            Control controlCallerName,
            Control controlCallerNumber,
            Control controlDuration,
            Control controlCallState,
            KryptonCheckButton holdButton
            )
        {
            _callOnDurationChanged = Call_OnDurationChanged;
            _callOnInfoChanged     = Call_OnInfoChanged;
            _callOnStateChanged    = Call_OnStateChanged;
            _callOnRemoved         = Call_OnRemoved;

            _core                = core;
            Line                 = line;
            ControlButton        = controlButton;
            _controlCallerName   = controlCallerName;
            _controlCallerNumber = controlCallerNumber;
            _controlDuration     = controlDuration;
            _controlCallState    = controlCallState;
            _holdButton          = holdButton;

            _controlCallerNumber.TextChanged += _controlCallerNumber_TextChanged;

            RefreshBackUI();
        }
        private void kchksetSidebar_CheckedButtonChanged(object sender, EventArgs e)
        {
            KryptonCheckButton radNew = kchksetSidebar.CheckedButton;

            if (_radLastValid == radNew)
            {
                return;
            }

            if (radNew.Checked == true)
            {
                if (_currForm.IsExitAllowed())
                {
                    this.pnlSidebar.SuspendLayout();
                    DisplayNewForm(_hashRadToChildForm[radNew]);
                    _radLastValid.Height = iRadLittleHeight;
                    radNew.Height        = iRadBigHeight;
                    _radLastValid        = radNew;
                    this.pnlSidebar.ResumeLayout();
                }
                else
                {
                    if (_radLastValid != null && _radLastValid.CanSelect)
                    {
                        _radLastValid.Select();
                    }

                    _radLastValid.PerformClick();
                }
            }
        }
Example #3
0
 private void UpdatePagingButtons(KryptonCheckButton button)
 {
     foreach (KryptonCheckButton b in this.flowLayoutPanelPaging.Controls)
     {
         b.Checked = b == button ? true : false;
     }
 }
Example #4
0
        private KryptonCheckButton CreatePageLink(PagingLink link)
        {
            var button = new KryptonCheckButton();

            button.ButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.LowProfile;
            button.Cursor      = System.Windows.Forms.Cursors.Hand;
            button.Location    = new System.Drawing.Point(0, 0);
            button.Margin      = new System.Windows.Forms.Padding(0);
            button.Size        = link.Text.Length == 1 ? new System.Drawing.Size(29, 25) : new System.Drawing.Size(10 + (link.Text.Length * 10), 25);
            button.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
                                                                                                             | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
                                                                                                            | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
            button.StateCommon.Border.Width           = 1;
            button.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            button.Values.Text     = link.Text;
            button.Tag             = link;
            button.Checked         = link.IsSelected;
            button.CheckedChanged += delegate(object sender, EventArgs e)
            {
                var b = (KryptonCheckButton)sender;
                if (b.Checked)
                {
                    OnPageSelected(this, new GalleryPageSelectedEventArgs(link));
                    UpdatePagingButtons(b);
                }
            };
            return(button);
        }
Example #5
0
        private MainFormPhoneLineControl GetActiveUILineWrapperByButton(KryptonCheckButton button)
        {
            foreach (MainFormPhoneLineControl item in _mainFormPhoneLineControls)
            {
                if (item.ControlButton == button)
                {
                    return(item);
                }
            }

            return(null);
        }
 public frmMaster()
 {
     this.FormClosed += new FormClosedEventHandler(frmMaster_FormClosed);
     InitializeComponent();
     InitEventHandlers();
     HSDMain.kryMgr = this.kmgr;     //must come before InitChildForms();
     InitChildFormsAndDictionaries();
     InitAndApplySystemSettings();
     iRadLittleHeight = 28;
     iRadBigHeight    = 56;
     this.radDayBookEntries.Height = iRadBigHeight;
     _radLastValid = this.radDayBookEntries;
     CreateAllHandles((Control)this);    //we don't have textboxes on frmMaster, but just the same.
 }
Example #7
0
        private void Btn_CheckedChanged(object sender, EventArgs e)
        {
            KryptonCheckButton btn = sender as KryptonCheckButton;

            if (btn.Checked)
            {
                foreach (Control ctr in this.panel2.Controls)
                {
                    if (ctr is KryptonCheckButton && ctr != btn)
                    {
                        var checkBtn = ctr as KryptonCheckButton;
                        checkBtn.Checked = false;
                    }
                }
            }
        }
            /// <summary>
            /// Removes a KryptonCheckButton from the collection.
            /// </summary>
            /// <param name="checkButton">The KryptonCheckButton to remove.</param>
            /// <exception cref="ArgumentException"></exception>
            /// <exception cref="ArgumentNullException"></exception>
            public void Remove(KryptonCheckButton checkButton)
            {
                Debug.Assert(checkButton != null);

                if (checkButton == null)
                {
                    throw new ArgumentNullException(nameof(checkButton));
                }

                if (!Contains(checkButton))
                {
                    throw new ArgumentException(@"No matching reference to remove", nameof(checkButton));
                }

                // ReSharper disable RedundantBaseQualifier
                base.List.Remove(checkButton);
                // ReSharper restore RedundantBaseQualifier
            }
Example #9
0
        private void kryptonCheckSet1_CheckedButtonChanged(object sender, EventArgs e)
        {
            KryptonCheckButton cb = (KryptonCheckButton)kryptonCheckSet1.CheckedButton;

            switch (cb.Tag.ToString())
            {
            case "mssql":
                provider = new SubSonic.SqlDataProvider();
                break;

            case "mysql":
                provider = new SubSonic.MySqlDataProvider();
                break;

            default:
                provider = new SubSonic.SqlDataProvider();
                break;
            }
        }
            /// <summary>
            /// Adds the specifies KryptonCheckButton to the collection.
            /// </summary>
            /// <param name="checkButton">The KryptonCheckButton object to add to the collection.</param>
            /// <exception cref="ArgumentNullException"></exception>
            /// <returns>The index of the new entry.</returns>
            public int Add(KryptonCheckButton checkButton)
            {
                Debug.Assert(checkButton != null);

                if (checkButton == null)
                {
                    throw new ArgumentNullException(nameof(checkButton));
                }

                if (Contains(checkButton))
                {
                    throw new ArgumentException(@"Reference already exists in the collection", nameof(checkButton));
                }

                // ReSharper disable RedundantBaseQualifier
                base.List.Add(checkButton);

                return(base.List.Count - 1);
                // ReSharper restore RedundantBaseQualifier
            }
Example #11
0
        /// <summary>
        /// Initialize a new instance of the KryptonCheckButtonActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonCheckButtonActionList(KryptonCheckButtonDesigner owner)
            : base(owner)
        {
            // Remember the button instance
            _checkButton = owner.Component as KryptonCheckButton;

            // Assuming we were correctly passed an actual component...
            if (_checkButton != null)
            {
                // Get access to the actual Orientation property
                PropertyDescriptor checkedProp = TypeDescriptor.GetProperties(_checkButton)[@"Checked"];

                // If we succeeded in getting the property
                if (checkedProp != null)
                {
                    // Decide on the next action to take given the current setting
                    _action = (bool)checkedProp.GetValue(_checkButton) ? "Uncheck the button" : "Check the button";
                }
            }

            // Cache service used to notify when a property has changed
            _service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }
            // ReSharper restore RedundantBaseQualifier

            /// <summary>
            /// Inserts a KryptonCheckButton reference into the collection at the specified location.
            /// </summary>
            /// <param name="index">Index of position to insert.</param>
            /// <param name="checkButton">The KryptonCheckButton reference to insert.</param>
            /// <exception cref="ArgumentException"></exception>
            /// <exception cref="ArgumentNullException"></exception>
            public void Insert(int index, KryptonCheckButton checkButton)
            {
                Debug.Assert(checkButton != null);

                if (checkButton == null)
                {
                    throw new ArgumentNullException(nameof(checkButton));
                }

                if ((index < 0) || (index > Count))
                {
                    throw new ArgumentOutOfRangeException(nameof(index));
                }

                if (Contains(checkButton))
                {
                    throw new ArgumentException(@"Reference already in collection", nameof(checkButton));
                }

                // ReSharper disable RedundantBaseQualifier
                base.List.Insert(index, checkButton);
                // ReSharper restore RedundantBaseQualifier
            }
Example #13
0
 public KryptonCheckButtonProxy(KryptonCheckButton checkButton)
 {
     _checkButton = checkButton;
 }
 /// <summary>
 /// Initialize a new instance of the ListEntry class.
 /// </summary>
 /// <param name="checkButton">CheckButton to encapsulate.</param>
 public ListEntry(KryptonCheckButton checkButton)
 {
     Debug.Assert(checkButton != null);
     CheckButton = checkButton;
 }
 /// <summary>
 /// Determines whether a KryptonCheckButton is in the collection.
 /// </summary>
 /// <param name="checkButton">The KryptonCheckButton to locate in the collection.</param>
 /// <returns>True if found in collection; otherwise false.</returns>
 public bool Contains(KryptonCheckButton checkButton) =>
 // ReSharper disable RedundantBaseQualifier
 base.List.Contains(checkButton);
Example #16
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StatusStripControls));
     this.kryptonPanel1         = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.ss                    = new System.Windows.Forms.StatusStrip();
     this.knudtsiTest           = new ExtendedControls.ExtendedToolkit.ToolstripControls.KryptonNumericUpDownToolStripItem();
     this.o07cptsiTest          = new ExtendedControls.ExtendedToolkit.Controls.Drawing.Controls.Office2007ColorPickerToolStripMenuItem();
     this.kcbtsmiTest           = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.KryptonColourButtonToolStripMenuItem();
     this.ktbtsmiTest           = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.KryptonTrackBarToolStripMenuItem();
     this.kvbTest               = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.KryptonViewBar();
     this.ksbTest               = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.ToolbarItems.KryptonSliderBar();
     this.tsmiuacsTest          = new KryptonExtendedToolkit.ExtendedToolkit.ToolstripControls.ToolStripMenuItemUACSheld();
     this.etslTest              = new ExtendedControls.ExtendedToolkit.ToolstripControls.ExtendedToolStripStatusLabel();
     this.tspbTest              = new System.Windows.Forms.ToolStripProgressBar();
     this.kpgStatusStripItems   = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.KryptonPropertyGrid();
     this.kcbtnBackwardDiagonal = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton();
     this.kcbtnForwardDiagonal  = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton();
     this.kcbtnVertical         = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton();
     this.kcbtnHorizontal       = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton();
     this.kcbtnTextColour       = new ComponentFactory.Krypton.Toolkit.KryptonColorButton();
     this.kcbtnGradientColour2  = new ComponentFactory.Krypton.Toolkit.KryptonColorButton();
     this.kcbtnGradientColour1  = new ComponentFactory.Krypton.Toolkit.KryptonColorButton();
     this.kryptonSliderBar1     = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.ToolbarItems.KryptonSliderBar();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.ss.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.ss);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 646);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(1207, 22);
     this.kryptonPanel1.TabIndex = 0;
     //
     // ss
     //
     this.ss.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.ss.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.knudtsiTest,
         this.o07cptsiTest,
         this.kcbtsmiTest,
         this.ktbtsmiTest,
         this.kvbTest,
         this.ksbTest,
         this.tsmiuacsTest,
         this.etslTest,
         this.tspbTest,
         this.kryptonSliderBar1
     });
     this.ss.Location   = new System.Drawing.Point(0, -3);
     this.ss.Name       = "ss";
     this.ss.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
     this.ss.Size       = new System.Drawing.Size(1207, 25);
     this.ss.TabIndex   = 0;
     this.ss.Text       = "statusStrip1";
     //
     // knudtsiTest
     //
     this.knudtsiTest.AutoSize = false;
     this.knudtsiTest.Name     = "knudtsiTest";
     this.knudtsiTest.Size     = new System.Drawing.Size(50, 23);
     this.knudtsiTest.Text     = "0";
     this.knudtsiTest.Value    = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.knudtsiTest.Click += new System.EventHandler(this.KnudtsiTest_Click);
     //
     // o07cptsiTest
     //
     this.o07cptsiTest.Name = "o07cptsiTest";
     //
     // o07cptsiTest
     //
     this.o07cptsiTest.Office2007ColourPickerControl.AccessibleName = "o07cptsiTest";
     this.o07cptsiTest.Office2007ColourPickerControl.DrawMode       = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.o07cptsiTest.Office2007ColourPickerControl.DropDownStyle  = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.o07cptsiTest.Office2007ColourPickerControl.Items.AddRange(new object[] {
         "Color"
     });
     this.o07cptsiTest.Office2007ColourPickerControl.Location       = new System.Drawing.Point(51, 2);
     this.o07cptsiTest.Office2007ColourPickerControl.Name           = "o07cptsiTest";
     this.o07cptsiTest.Office2007ColourPickerControl.SelectedColour = System.Drawing.Color.Black;
     this.o07cptsiTest.Office2007ColourPickerControl.Size           = new System.Drawing.Size(121, 24);
     this.o07cptsiTest.Office2007ColourPickerControl.TabIndex       = 2;
     this.o07cptsiTest.Size = new System.Drawing.Size(121, 23);
     this.o07cptsiTest.Text = "Color";
     //
     // kcbtsmiTest
     //
     this.kcbtsmiTest.AutoSize = false;
     //
     // kcbtsmiTest
     //
     this.kcbtsmiTest.KryptonColorButtonControl.AccessibleName = "kcbtsmiTest";
     this.kcbtsmiTest.KryptonColorButtonControl.Location       = new System.Drawing.Point(172, 2);
     this.kcbtsmiTest.KryptonColorButtonControl.Name           = "kcbtsmiTest";
     this.kcbtsmiTest.KryptonColorButtonControl.Size           = new System.Drawing.Size(90, 23);
     this.kcbtsmiTest.KryptonColorButtonControl.TabIndex       = 3;
     this.kcbtsmiTest.Name = "kcbtsmiTest";
     this.kcbtsmiTest.Size = new System.Drawing.Size(90, 23);
     this.kcbtsmiTest.Text = "Color";
     //
     // ktbtsmiTest
     //
     this.ktbtsmiTest.AutoSize = false;
     //
     // ktbtsmiTest
     //
     this.ktbtsmiTest.KryptonTrackBarControl.AccessibleName = "ktbtsmiTest";
     this.ktbtsmiTest.KryptonTrackBarControl.DrawBackground = true;
     this.ktbtsmiTest.KryptonTrackBarControl.Location       = new System.Drawing.Point(262, 2);
     this.ktbtsmiTest.KryptonTrackBarControl.Name           = "ktbtsmiTest";
     this.ktbtsmiTest.KryptonTrackBarControl.Size           = new System.Drawing.Size(150, 23);
     this.ktbtsmiTest.KryptonTrackBarControl.TabIndex       = 4;
     this.ktbtsmiTest.LargeChange   = 5;
     this.ktbtsmiTest.Maximum       = 10;
     this.ktbtsmiTest.Minimum       = 0;
     this.ktbtsmiTest.Name          = "ktbtsmiTest";
     this.ktbtsmiTest.Orientation   = System.Windows.Forms.Orientation.Horizontal;
     this.ktbtsmiTest.Size          = new System.Drawing.Size(150, 23);
     this.ktbtsmiTest.SmallChange   = 1;
     this.ktbtsmiTest.Text          = "kryptonTrackBarToolStripMenuItem1";
     this.ktbtsmiTest.TickFrequency = 1;
     this.ktbtsmiTest.TickStyle     = System.Windows.Forms.TickStyle.BottomRight;
     this.ktbtsmiTest.TrackBarSize  = ComponentFactory.Krypton.Toolkit.PaletteTrackBarSize.Medium;
     this.ktbtsmiTest.Value         = 0;
     this.ktbtsmiTest.VolumeControl = false;
     //
     // kvbTest
     //
     this.kvbTest.BackColor   = System.Drawing.Color.Transparent;
     this.kvbTest.Font        = new System.Drawing.Font("Segoe UI", 8.25F);
     this.kvbTest.Name        = "kvbTest";
     this.kvbTest.Size        = new System.Drawing.Size(117, 23);
     this.kvbTest.Text        = "kryptonViewBar1";
     this.kvbTest.ViewBarSize = new System.Drawing.Size(117, 23);
     //
     // ksbTest
     //
     this.ksbTest.BackColor   = System.Drawing.Color.Transparent;
     this.ksbTest.Font        = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ksbTest.Name        = "ksbTest";
     this.ksbTest.Size        = new System.Drawing.Size(140, 23);
     this.ksbTest.Steps       = 2;
     this.ksbTest.Text        = "kryptonSliderBar1";
     this.ksbTest.TrackerSize = new System.Drawing.Size(140, 23);
     //
     // tsmiuacsTest
     //
     this.tsmiuacsTest.Image = ((System.Drawing.Image)(resources.GetObject("tsmiuacsTest.Image")));
     this.tsmiuacsTest.Name  = "tsmiuacsTest";
     this.tsmiuacsTest.Size  = new System.Drawing.Size(194, 25);
     this.tsmiuacsTest.Text  = "toolStripMenuItemUACSheld1";
     //
     // etslTest
     //
     this.etslTest.BackColor         = System.Drawing.Color.Empty;
     this.etslTest.BkClr             = false;
     this.etslTest.BlinkDuration     = ((long)(10));
     this.etslTest.BlinkState        = ExtendedControls.Base.Enumerations.BlinkState.NormalBlink;
     this.etslTest.CycleInterval     = ((short)(2000));
     this.etslTest.EnableBlinking    = true;
     this.etslTest.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.etslTest.GradientColourOne = System.Drawing.Color.Empty;
     this.etslTest.GradientColourTwo = System.Drawing.Color.Empty;
     this.etslTest.Name   = "etslTest";
     this.etslTest.Size   = new System.Drawing.Size(75, 20);
     this.etslTest.Text   = "Gradient Test";
     this.etslTest.Click += new System.EventHandler(this.EtslTest_Click);
     //
     // tspbTest
     //
     this.tspbTest.Name  = "tspbTest";
     this.tspbTest.Size  = new System.Drawing.Size(100, 19);
     this.tspbTest.Value = 50;
     //
     // kpgStatusStripItems
     //
     this.kpgStatusStripItems.CategoryForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kpgStatusStripItems.HelpBackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(206)))), ((int)(((byte)(230)))));
     this.kpgStatusStripItems.HelpForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kpgStatusStripItems.LineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(196)))), ((int)(((byte)(216)))));
     this.kpgStatusStripItems.Location          = new System.Drawing.Point(12, 12);
     this.kpgStatusStripItems.Name     = "kpgStatusStripItems";
     this.kpgStatusStripItems.Size     = new System.Drawing.Size(349, 612);
     this.kpgStatusStripItems.TabIndex = 1;
     //
     // kcbtnBackwardDiagonal
     //
     this.kcbtnBackwardDiagonal.Location    = new System.Drawing.Point(403, 92);
     this.kcbtnBackwardDiagonal.Name        = "kcbtnBackwardDiagonal";
     this.kcbtnBackwardDiagonal.Size        = new System.Drawing.Size(150, 25);
     this.kcbtnBackwardDiagonal.TabIndex    = 23;
     this.kcbtnBackwardDiagonal.Values.Text = "&Backward Diagonal";
     this.kcbtnBackwardDiagonal.Click      += new System.EventHandler(this.KcbtnBackwardDiagonal_Click);
     //
     // kcbtnForwardDiagonal
     //
     this.kcbtnForwardDiagonal.Checked     = true;
     this.kcbtnForwardDiagonal.Location    = new System.Drawing.Point(402, 252);
     this.kcbtnForwardDiagonal.Name        = "kcbtnForwardDiagonal";
     this.kcbtnForwardDiagonal.Size        = new System.Drawing.Size(150, 25);
     this.kcbtnForwardDiagonal.TabIndex    = 22;
     this.kcbtnForwardDiagonal.Values.Text = "&Forward Diagonal";
     this.kcbtnForwardDiagonal.Click      += new System.EventHandler(this.KcbtnForwardDiagonal_Click);
     //
     // kcbtnVertical
     //
     this.kcbtnVertical.Location    = new System.Drawing.Point(403, 172);
     this.kcbtnVertical.Name        = "kcbtnVertical";
     this.kcbtnVertical.Size        = new System.Drawing.Size(150, 25);
     this.kcbtnVertical.TabIndex    = 21;
     this.kcbtnVertical.Values.Text = "Ver&tical";
     this.kcbtnVertical.Click      += new System.EventHandler(this.KcbtnVertical_Click);
     //
     // kcbtnHorizontal
     //
     this.kcbtnHorizontal.Location    = new System.Drawing.Point(402, 12);
     this.kcbtnHorizontal.Name        = "kcbtnHorizontal";
     this.kcbtnHorizontal.Size        = new System.Drawing.Size(150, 25);
     this.kcbtnHorizontal.TabIndex    = 20;
     this.kcbtnHorizontal.Values.Text = "&Horizontal";
     this.kcbtnHorizontal.Click      += new System.EventHandler(this.KcbtnHorizontal_Click);
     //
     // kcbtnTextColour
     //
     this.kcbtnTextColour.AutoSize              = true;
     this.kcbtnTextColour.Location              = new System.Drawing.Point(402, 488);
     this.kcbtnTextColour.Name                  = "kcbtnTextColour";
     this.kcbtnTextColour.Size                  = new System.Drawing.Size(136, 25);
     this.kcbtnTextColour.TabIndex              = 26;
     this.kcbtnTextColour.Values.Text           = "Text Colour";
     this.kcbtnTextColour.SelectedColorChanged += new System.EventHandler <ComponentFactory.Krypton.Toolkit.ColorEventArgs>(this.KcbtnTextColour_SelectedColorChanged);
     //
     // kcbtnGradientColour2
     //
     this.kcbtnGradientColour2.AutoSize              = true;
     this.kcbtnGradientColour2.Location              = new System.Drawing.Point(403, 401);
     this.kcbtnGradientColour2.Name                  = "kcbtnGradientColour2";
     this.kcbtnGradientColour2.Size                  = new System.Drawing.Size(136, 25);
     this.kcbtnGradientColour2.TabIndex              = 25;
     this.kcbtnGradientColour2.Values.Text           = "Gradient Colour 2";
     this.kcbtnGradientColour2.SelectedColorChanged += new System.EventHandler <ComponentFactory.Krypton.Toolkit.ColorEventArgs>(this.KcbtnGradientColour2_SelectedColorChanged);
     //
     // kcbtnGradientColour1
     //
     this.kcbtnGradientColour1.AutoSize              = true;
     this.kcbtnGradientColour1.Location              = new System.Drawing.Point(403, 314);
     this.kcbtnGradientColour1.Name                  = "kcbtnGradientColour1";
     this.kcbtnGradientColour1.Size                  = new System.Drawing.Size(136, 25);
     this.kcbtnGradientColour1.TabIndex              = 24;
     this.kcbtnGradientColour1.Values.Text           = "Gradient Colour 1";
     this.kcbtnGradientColour1.SelectedColorChanged += new System.EventHandler <ComponentFactory.Krypton.Toolkit.ColorEventArgs>(this.KcbtnGradientColour1_SelectedColorChanged);
     //
     // kryptonSliderBar1
     //
     this.kryptonSliderBar1.BackColor   = System.Drawing.Color.Transparent;
     this.kryptonSliderBar1.Font        = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonSliderBar1.Name        = "kryptonSliderBar1";
     this.kryptonSliderBar1.Size        = new System.Drawing.Size(140, 23);
     this.kryptonSliderBar1.Steps       = 2;
     this.kryptonSliderBar1.Text        = "kryptonSliderBar1";
     this.kryptonSliderBar1.TrackerSize = new System.Drawing.Size(140, 23);
     //
     // StatusStripControls
     //
     this.ClientSize = new System.Drawing.Size(1207, 668);
     this.Controls.Add(this.kcbtnTextColour);
     this.Controls.Add(this.kcbtnGradientColour2);
     this.Controls.Add(this.kcbtnGradientColour1);
     this.Controls.Add(this.kcbtnBackwardDiagonal);
     this.Controls.Add(this.kcbtnForwardDiagonal);
     this.Controls.Add(this.kcbtnVertical);
     this.Controls.Add(this.kcbtnHorizontal);
     this.Controls.Add(this.kpgStatusStripItems);
     this.Controls.Add(this.kryptonPanel1);
     this.Name   = "StatusStripControls";
     this.Load  += new System.EventHandler(this.StatusStripControls_Load);
     this.Click += new System.EventHandler(this.StatusStripControls_Click);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     this.ss.ResumeLayout(false);
     this.ss.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
            // ReSharper restore RedundantBaseQualifier

            /// <summary>
            /// Returns the index of the KryptonCheckButton reference.
            /// </summary>
            /// <param name="checkButton">The KryptonCheckButton to locate.</param>
            /// <returns>Index of reference; otherwise -1.</returns>
            public int IndexOf(KryptonCheckButton checkButton) =>
            // ReSharper disable RedundantBaseQualifier
            base.List.IndexOf(checkButton);