Example #1
0
        /// <summary>
        /// Method is used to Fill Playback Tool
        /// </summary>
        /// <param name="kcmbPlaybackTool"></param>
        public static void FillPlayBackTool(ref KryptonComboBox kcmbPlaybackTool)
        {
            DataTable dtPlaybackTool = new DataTable();
            dtPlaybackTool.Columns.Add("ToolID");
            dtPlaybackTool.Columns.Add("ToolName");

            DataRow drPlaybackTool = dtPlaybackTool.NewRow();
            drPlaybackTool["ToolID"] = 0;
            drPlaybackTool["ToolName"] = "Please select Playback Tool";
            dtPlaybackTool.Rows.InsertAt(drPlaybackTool, 0);

            drPlaybackTool = dtPlaybackTool.NewRow();
            drPlaybackTool["ToolID"] = 1;
            drPlaybackTool["ToolName"] = "Sax & Dotty - Show Presenter";
            dtPlaybackTool.Rows.Add(drPlaybackTool);

            drPlaybackTool = dtPlaybackTool.NewRow();
            drPlaybackTool["ToolID"] = 2;
            drPlaybackTool["ToolName"] = " PCDJ Karaoki";
            dtPlaybackTool.Rows.Add(drPlaybackTool);

            kcmbPlaybackTool.DataSource = dtPlaybackTool;
            kcmbPlaybackTool.DisplayMember = "ToolName";
            kcmbPlaybackTool.ValueMember = "ToolID";
        }
        /// <summary>
        /// Initialize a new instance of the KryptonComboBoxActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonComboBoxActionList(KryptonComboBoxDesigner owner)
            : base(owner.Component)
        {
            // Remember the combo box instance
            _comboBox = owner.Component as KryptonComboBox;

            // Cache service used to notify when a property has changed
            _service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }
Example #3
0
        //public Log(String tabName, Delegate del)
        public Log(String tabName, int targetsNumber, Boolean preProcess, Boolean process, Boolean control)
        {
            _PreProcess = preProcess;
            _Process = process;
            _Control = control;

            _NavigatorTab = new KryptonPage();
            _CloseButton = new ButtonSpecAny();

            _NavigatorTab.Name = tabName + "Tab";
            _NavigatorTab.Text = tabName;

            _CloseButton.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.PendantClose;
            _NavigatorTab.ButtonSpecs.AddRange(new ComponentFactory.Krypton.Toolkit.ButtonSpecAny[] {
            _CloseButton});

            _NavigatorTab.ButtonSpecs[0].Tag = _NavigatorTab;

            _AddLogsGridViewDel = new processOnLog(AddLogsGridView);

            _SplitContainer = new KryptonSplitContainer();
            _SplitContainer.Cursor = System.Windows.Forms.Cursors.Default;
            _SplitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
            _SplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            _SplitContainer.Location = new System.Drawing.Point(0, 0);
            _SplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
            _SplitContainer.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
            _SplitContainer.SplitterWidth = 0;
            _SplitContainer.SplitterDistance = 49;
            _SplitContainer.Panel1.Padding = new System.Windows.Forms.Padding(200, 15, 200, 15);
            _SplitContainer.Panel1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
            _SplitContainer.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
            _SplitContainer.Panel2.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
            _SplitContainer.Panel2.Padding = new System.Windows.Forms.Padding(20, 10, 20, 20);

            _NavigatorTab.Controls.Add(_SplitContainer);

            _ComboBox = new KryptonComboBox();
            _ComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
            _SplitContainer.Panel1.Controls.Add(_ComboBox);
            _ComboBox.SelectedIndexChanged += new EventHandler(DisplayLogsGridView);

            _LogsGridViewList = new List<LogsGrid>();
        }
        /// <summary>
        /// Initialise a new instance of the KryptonRibbonGroupComboBox class.
        /// </summary>
        public KryptonRibbonGroupComboBox()
        {
            // Default fields
            _visible = true;
            _enabled = true;
            _itemSizeCurrent = GroupItemSize.Medium;
            _shortcutKeys = Keys.None;
            _keyTip = "X";

            // Create the actual combo box control and set initial settings
            _comboBox = new KryptonComboBox();
            _comboBox.InputControlStyle = InputControlStyle.Ribbon;
            _comboBox.AlwaysActive = false;
            _comboBox.MinimumSize = new Size(121, 0);
            _comboBox.MaximumSize = new Size(121, 0);
            _comboBox.TabStop = false;

            // Hook into the events that are then exposed via ourself
            _comboBox.DropDown += new EventHandler(OnComboBoxDropDown);
            _comboBox.DropDownClosed += new EventHandler(OnComboBoxDropDownClosed);
            _comboBox.DropDownStyleChanged += new EventHandler(OnComboBoxDropDownStyleChanged);
            _comboBox.SelectedIndexChanged += new EventHandler(OnComboBoxSelectedIndexChanged);
            _comboBox.SelectionChangeCommitted += new EventHandler(OnComboBoxSelectionChangeCommitted);
            _comboBox.TextUpdate += new EventHandler(OnComboBoxTextUpdate);
            _comboBox.GotFocus += new EventHandler(OnComboBoxGotFocus);
            _comboBox.LostFocus += new EventHandler(OnComboBoxLostFocus);
            _comboBox.KeyDown += new KeyEventHandler(OnComboBoxKeyDown);
            _comboBox.KeyUp += new KeyEventHandler(OnComboBoxKeyUp);
            _comboBox.KeyPress += new KeyPressEventHandler(OnComboBoxKeyPress);
            _comboBox.PreviewKeyDown += new PreviewKeyDownEventHandler(OnComboBoxPreviewKeyDown);
            _comboBox.DataSourceChanged += new EventHandler(OnComboBoxDataSourceChanged);
            _comboBox.DisplayMemberChanged += new EventHandler(OnComboBoxDisplayMemberChanged);
            _comboBox.Format += new ListControlConvertEventHandler(OnComboBoxFormat);
            _comboBox.FormatInfoChanged += new EventHandler(OnComboBoxFormatInfoChanged);
            _comboBox.FormatStringChanged += new EventHandler(OnComboBoxFormatStringChanged);
            _comboBox.FormattingEnabledChanged += new EventHandler(OnComboBoxFormattingEnabledChanged);
            _comboBox.SelectedValueChanged += new EventHandler(OnComboBoxSelectedValueChanged);
            _comboBox.ValueMemberChanged += new EventHandler(OnComboBoxValueMemberChanged);

            // Ensure we can track mouse events on the text box
            MonitorControl(_comboBox);
        }
    public void fillcombo_withall(KryptonComboBox cmb, DataSet ds)
    {
        if (ds.Tables.Count > 0)
        {
            cmb.DataSource    = ds.Tables[0];
            cmb.DisplayMember = ds.Tables[0].Columns[1].ColumnName.ToString();
            cmb.ValueMember   = ds.Tables[0].Columns[0].ColumnName.ToString();
            DataRow dr = ds.Tables[0].NewRow();
            dr[ds.Tables[0].Columns[1].ColumnName.ToString()] = "--Select--";
            ds.Tables[0].Rows.InsertAt(dr, 0);
            DataRow dr1 = ds.Tables[0].NewRow();
            dr1[ds.Tables[0].Columns[0].ColumnName.ToString()] = "0";
            dr1[ds.Tables[0].Columns[1].ColumnName.ToString()] = "ALL";
            ds.Tables[0].Rows.InsertAt(dr1, 1);
            cmb.SelectedIndex = 0;
        }
        else
        {
            //cmb.DataBindings.Clear();
            //cmb.DataSource = null;
            //cmb.Items.Add("--Select--");
            //cmb.SelectedIndex = 0;
            //cmb.Items.Add("ALL");

            DataTable dt1 = ds.Tables[0];
            cmb.DataSource    = dt1;
            cmb.DisplayMember = dt1.Columns[1].ColumnName.ToString();
            cmb.ValueMember   = dt1.Columns[0].ColumnName.ToString();
            DataRow dr = dt1.NewRow();
            dr[dt1.Columns[1].ColumnName.ToString()] = "--Select--";
            ds.Tables[0].Rows.InsertAt(dr, 0);
            DataRow dr1 = ds.Tables[0].NewRow();
            dr1[dt1.Columns[0].ColumnName.ToString()] = "0";
            dr1[dt1.Columns[1].ColumnName.ToString()] = "ALL";
            dt1.Rows.InsertAt(dr1, 1);
            cmb.SelectedIndex = 0;
        }
    }
Example #6
0
        /// <summary>
        /// Propagates the colour selector.
        /// </summary>
        /// <param name="selector">The selector.</param>
        /// <param name="sorted">if set to <c>true</c> [sorted].</param>
        public static void PropagateColourSelector(KryptonComboBox selector, bool sorted = true)
        {
            ColourCollectionStringSettingsManager manager = new ColourCollectionStringSettingsManager();

            if (sorted)
            {
                foreach (string item in SortStringCollection(manager.GetColourStringCollectionValues()))
                {
                    selector.AutoCompleteCustomSource.Add(item);

                    selector.Items.Add(item);
                }
            }
            else
            {
                foreach (string item in ReverseStringCollection(manager.GetColourStringCollectionValues()))
                {
                    selector.AutoCompleteCustomSource.Add(item);

                    selector.Items.Add(item);
                }
            }
        }
Example #7
0
        private void PopulateComboBox(KryptonComboBox comboBox)
        {
            //JTN: MediaFileAttributes
            comboBox.Items.Clear();
            comboBox.Items.Add("FileName");
            comboBox.Items.Add("FileDate");
            comboBox.Items.Add("FileSmartDate");
            comboBox.Items.Add("FileDateCreated");
            comboBox.Items.Add("FileDateModified");
            comboBox.Items.Add("FileStatus");

            comboBox.Items.Add("MediaDateTaken");
            comboBox.Items.Add("LocationDateTime");
            comboBox.Items.Add("LocationTimeZone");

            comboBox.Items.Add("FileType");
            comboBox.Items.Add("FileFullPath");
            comboBox.Items.Add("FileDirectory");
            comboBox.Items.Add("FileSize");

            comboBox.Items.Add("MediaAlbum");
            comboBox.Items.Add("MediaTitle");
            comboBox.Items.Add("MediaDescription");
            comboBox.Items.Add("MediaComment");
            comboBox.Items.Add("MediaAuthor");
            comboBox.Items.Add("MediaRating");

            comboBox.Items.Add("LocationName");
            comboBox.Items.Add("LocationRegionState");
            comboBox.Items.Add("LocationCity");
            comboBox.Items.Add("LocationCountry");

            comboBox.Items.Add("CameraMake");
            comboBox.Items.Add("CameraModel");

            comboBox.Items.Add("MediaDimensions");
        }
        void ClearAllControls(IEnumerable controls)
        {
            foreach (Control c in controls)
            {
                KryptonComboBox combo = c as KryptonComboBox;
                if (combo != null)
                {
                    combo.SelectedIndex = -1;
                    continue;
                }

                KryptonTextBox text = c as KryptonTextBox;
                if (text != null)
                {
                    text.Text = string.Empty;
                    continue;
                }

                KryptonCheckBox check = c as KryptonCheckBox;
                if (check != null)
                {
                    check.Checked = false;
                }

                KryptonListBox list = c as KryptonListBox;
                if (list != null)
                {
                    list.Items.Clear();
                }

                TableLayoutPanel table = c as TableLayoutPanel;
                if (table != null)
                {
                    ClearAllControls(table.Controls);
                }
            }
        }
Example #9
0
        /// <summary>
        /// Method is used to Fill Venues
        /// </summary>
        /// <param name="kcmbVenue"></param>
        /// <param name="dtVenue"></param>
        public static void FillVenues(ref KryptonComboBox kcmbVenue, DataTable dtVenue)
        {
            if (!dtVenue.Columns.Contains("club_id"))
            {
                dtVenue.Columns.Add("club_id", typeof(int));
            }

            if (!dtVenue.Columns.Contains("business_name"))
            {
                dtVenue.Columns.Add("business_name");
            }

            if (dtVenue.Rows.Count == 0)
            {
                DataRow drVenue = dtVenue.NewRow();
                drVenue["club_id"] = 0;
                drVenue["business_name"] = "Please select Venue";
                dtVenue.Rows.InsertAt(drVenue, 0);
            }

            kcmbVenue.DataSource = dtVenue;
            kcmbVenue.DisplayMember = "business_name";
            kcmbVenue.ValueMember = "club_id";
        }
        private Control CreateSelectControl(ObjectData obj, Field field)
        {
            KryptonComboBox combo = new KryptonComboBox();

            combo.DropDownStyle = ComboBoxStyle.DropDownList;
            ButtonSpecAny item = new ButtonSpecAny();

            item.Image = Resources.crest;
            item.Edge  = PaletteRelativeEdgeAlign.Near;
            item.Style = PaletteButtonStyle.Standalone;
            //item.Style = PaletteButtonStyle.NavigatorStack;
            item.Click += new EventHandler(this.ComboBoxClearClick);
            combo.ButtonSpecs.Add(item);
            foreach (string s in (List <string>)field.Data)
            {
                combo.Items.Add(s);
            }

            combo.SelectedIndex = Convert.ToInt32(obj[field]);

            /*combo.StateCommon.ComboBox.Border.Rounding = 4;
             * combo.StateCommon.ComboBox.Border.Width = 2;*/
            return(combo);
        }
 private void InitializeComponent()
 {
     this.kpnlBackground     = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.explorerBrowser1   = new Microsoft.WindowsAPICodePack.Controls.WindowsForms.ExplorerBrowser();
     this.kryptonLabel1      = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonTextBox1    = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.kryptonComboBox1   = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonBreadCrumb1 = new ComponentFactory.Krypton.Toolkit.KryptonBreadCrumb();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlBackground)).BeginInit();
     this.kpnlBackground.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonBreadCrumb1)).BeginInit();
     this.SuspendLayout();
     //
     // kpnlBackground
     //
     this.kpnlBackground.Controls.Add(this.kryptonBreadCrumb1);
     this.kpnlBackground.Controls.Add(this.kryptonComboBox1);
     this.kpnlBackground.Controls.Add(this.kryptonTextBox1);
     this.kpnlBackground.Controls.Add(this.kryptonLabel1);
     this.kpnlBackground.Controls.Add(this.explorerBrowser1);
     this.kpnlBackground.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kpnlBackground.Location = new System.Drawing.Point(0, 0);
     this.kpnlBackground.Name     = "kpnlBackground";
     this.kpnlBackground.Size     = new System.Drawing.Size(813, 477);
     this.kpnlBackground.TabIndex = 0;
     //
     // explorerBrowser1
     //
     this.explorerBrowser1.Location        = new System.Drawing.Point(12, 37);
     this.explorerBrowser1.Name            = "explorerBrowser1";
     this.explorerBrowser1.PropertyBagName = "Microsoft.WindowsAPICodePack.Controls.WindowsForms.ExplorerBrowser";
     this.explorerBrowser1.Size            = new System.Drawing.Size(789, 378);
     this.explorerBrowser1.TabIndex        = 0;
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(12, 422);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(88, 26);
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 1;
     this.kryptonLabel1.Values.Text = "File Name:";
     //
     // kryptonTextBox1
     //
     this.kryptonTextBox1.Location = new System.Drawing.Point(107, 422);
     this.kryptonTextBox1.Name     = "kryptonTextBox1";
     this.kryptonTextBox1.Size     = new System.Drawing.Size(388, 29);
     this.kryptonTextBox1.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonTextBox1.TabIndex = 2;
     this.kryptonTextBox1.Text     = "kryptonTextBox1";
     //
     // kryptonComboBox1
     //
     this.kryptonComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kryptonComboBox1.DropDownWidth = 300;
     this.kryptonComboBox1.Location      = new System.Drawing.Point(501, 424);
     this.kryptonComboBox1.Name          = "kryptonComboBox1";
     this.kryptonComboBox1.Size          = new System.Drawing.Size(300, 27);
     this.kryptonComboBox1.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonComboBox1.TabIndex = 3;
     //
     // kryptonBreadCrumb1
     //
     this.kryptonBreadCrumb1.AutoSize = false;
     this.kryptonBreadCrumb1.Location = new System.Drawing.Point(12, 3);
     this.kryptonBreadCrumb1.Name     = "kryptonBreadCrumb1";
     //
     //
     //
     this.kryptonBreadCrumb1.RootItem.ShortText = "Root";
     this.kryptonBreadCrumb1.Size     = new System.Drawing.Size(789, 28);
     this.kryptonBreadCrumb1.TabIndex = 4;
     //
     // KryptonSaveFileDialog
     //
     this.ClientSize = new System.Drawing.Size(813, 477);
     this.Controls.Add(this.kpnlBackground);
     this.Name = "KryptonSaveFileDialog";
     ((System.ComponentModel.ISupportInitialize)(this.kpnlBackground)).EndInit();
     this.kpnlBackground.ResumeLayout(false);
     this.kpnlBackground.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonBreadCrumb1)).EndInit();
     this.ResumeLayout(false);
 }
Example #12
0
        public static void ChangeTheme(KryptonComboBox themeChoice, KryptonPalette palette)
        {
            if (themeChoice.Text == "Global")
            {
                palette.BasePaletteMode = PaletteMode.Global;

                SwitchPaletteMode(PaletteMode.Global);
            }
            else if (themeChoice.Text == "Professional System")
            {
                palette.BasePaletteMode = PaletteMode.ProfessionalSystem;

                SwitchPaletteMode(PaletteMode.ProfessionalSystem);
            }
            else if (themeChoice.Text == "Professional Office 2003")
            {
                palette.BasePaletteMode = PaletteMode.ProfessionalOffice2003;

                SwitchPaletteMode(PaletteMode.ProfessionalOffice2003);
            }
            else if (themeChoice.Text == "Office 2007 Blue")
            {
                palette.BasePaletteMode = PaletteMode.Office2007Blue;

                SwitchPaletteMode(PaletteMode.Office2007Blue);
            }
            else if (themeChoice.Text == "Office 2007 Black")
            {
                palette.BasePaletteMode = PaletteMode.Office2007Black;

                SwitchPaletteMode(PaletteMode.Office2007Black);
            }
            else if (themeChoice.Text == "Office 2007 Silver")
            {
                palette.BasePaletteMode = PaletteMode.Office2007Silver;

                SwitchPaletteMode(PaletteMode.Office2007Silver);
            }
            else if (themeChoice.Text == "Office 2010 Blue")
            {
                palette.BasePaletteMode = PaletteMode.Office2010Blue;

                SwitchPaletteMode(PaletteMode.Office2010Blue);
            }
            else if (themeChoice.Text == "Office 2010 Black")
            {
                palette.BasePaletteMode = PaletteMode.Office2010Black;

                SwitchPaletteMode(PaletteMode.Office2010Black);
            }
            else if (themeChoice.Text == "Office 2010 Silver")
            {
                palette.BasePaletteMode = PaletteMode.Office2010Silver;

                SwitchPaletteMode(PaletteMode.Office2010Silver);
            }
            else if (themeChoice.Text == "Office 2013")
            {
                palette.BasePaletteMode = PaletteMode.Office2013;

                SwitchPaletteMode(PaletteMode.Office2013);
            }
            else if (themeChoice.Text == "Office 2013 White")
            {
                palette.BasePaletteMode = PaletteMode.Office2013White;

                SwitchPaletteMode(PaletteMode.Office2013White);
            }
            else if (themeChoice.Text == "Sparkle Blue")
            {
                palette.BasePaletteMode = PaletteMode.SparkleBlue;

                SwitchPaletteMode(PaletteMode.SparkleBlue);
            }
            else if (themeChoice.Text == "Sparkle Orange")
            {
                palette.BasePaletteMode = PaletteMode.SparkleOrange;

                SwitchPaletteMode(PaletteMode.SparkleOrange);
            }
            else if (themeChoice.Text == "Sparkle Purple")
            {
                palette.BasePaletteMode = PaletteMode.SparklePurple;

                SwitchPaletteMode(PaletteMode.SparklePurple);
            }
            else if (themeChoice.Text == "Custom")
            {
                palette.BasePaletteMode = PaletteMode.Custom;

                SwitchPaletteMode(PaletteMode.Custom);
            }
        }
 private void InitializeComponent()
 {
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues3  = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues2  = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues1  = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues15 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues14 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues13 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues10 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues11 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues12 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues9  = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues8  = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues6  = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues7  = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues5  = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues4  = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     this.kryptonPanel1              = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnCancel                 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnSave                   = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnResizeImage            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.panel1                     = new System.Windows.Forms.Panel();
     this.kryptonPanel2              = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.klblPaletteStyle           = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.ktxtTargetImageLocation    = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.kbtnTargetBrowse           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnBrowseNewImageLocation = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ktxtNewImageLocation       = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.kryptonLabel1              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel2              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.knudWidth                  = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.knudHeight                 = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel3              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel4              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kcmbFileType               = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbFileType)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnResizeImage);
     this.kryptonPanel1.Controls.Add(this.kbtnSave);
     this.kryptonPanel1.Controls.Add(this.kbtnCancel);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 158);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(830, 55);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnCancel
     //
     this.kbtnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(701, 14);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(117, 29);
     this.kbtnCancel.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex                      = 14;
     popupPositionValues3.PlacementMode            = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.kbtnCancel.ToolTipValues.ToolTipPosition = popupPositionValues3;
     this.kbtnCancel.Values.Text                   = "&Cancel";
     //
     // kbtnSave
     //
     this.kbtnSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnSave.Enabled  = false;
     this.kbtnSave.Location = new System.Drawing.Point(578, 14);
     this.kbtnSave.Name     = "kbtnSave";
     this.kbtnSave.Size     = new System.Drawing.Size(117, 29);
     this.kbtnSave.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSave.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSave.TabIndex                      = 15;
     popupPositionValues2.PlacementMode          = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.kbtnSave.ToolTipValues.ToolTipPosition = popupPositionValues2;
     this.kbtnSave.Values.Text                   = "&Save";
     this.kbtnSave.Click += new System.EventHandler(this.KbtnSave_Click);
     //
     // kbtnResizeImage
     //
     this.kbtnResizeImage.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnResizeImage.Location = new System.Drawing.Point(371, 14);
     this.kbtnResizeImage.Name     = "kbtnResizeImage";
     this.kbtnResizeImage.Size     = new System.Drawing.Size(201, 29);
     this.kbtnResizeImage.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnResizeImage.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnResizeImage.TabIndex      = 16;
     popupPositionValues1.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.kbtnResizeImage.ToolTipValues.ToolTipPosition = popupPositionValues1;
     this.kbtnResizeImage.Values.Text = "Resize &Image";
     this.kbtnResizeImage.Click      += new System.EventHandler(this.KbtnResizeImage_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 153);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(830, 5);
     this.panel1.TabIndex  = 1;
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kcmbFileType);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel4);
     this.kryptonPanel2.Controls.Add(this.knudHeight);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel3);
     this.kryptonPanel2.Controls.Add(this.knudWidth);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel2);
     this.kryptonPanel2.Controls.Add(this.kbtnBrowseNewImageLocation);
     this.kryptonPanel2.Controls.Add(this.ktxtNewImageLocation);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel2.Controls.Add(this.kbtnTargetBrowse);
     this.kryptonPanel2.Controls.Add(this.ktxtTargetImageLocation);
     this.kryptonPanel2.Controls.Add(this.klblPaletteStyle);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(830, 153);
     this.kryptonPanel2.TabIndex = 2;
     //
     // klblPaletteStyle
     //
     this.klblPaletteStyle.Location = new System.Drawing.Point(12, 12);
     this.klblPaletteStyle.Name     = "klblPaletteStyle";
     this.klblPaletteStyle.Size     = new System.Drawing.Size(113, 24);
     this.klblPaletteStyle.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblPaletteStyle.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblPaletteStyle.TabIndex      = 6;
     popupPositionValues15.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.klblPaletteStyle.ToolTipValues.ToolTipPosition = popupPositionValues15;
     this.klblPaletteStyle.Values.Text = "Target Image:";
     //
     // ktxtTargetImageLocation
     //
     this.ktxtTargetImageLocation.Hint     = "Taget image location...";
     this.ktxtTargetImageLocation.Location = new System.Drawing.Point(131, 10);
     this.ktxtTargetImageLocation.Name     = "ktxtTargetImageLocation";
     this.ktxtTargetImageLocation.Size     = new System.Drawing.Size(642, 29);
     this.ktxtTargetImageLocation.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktxtTargetImageLocation.TabIndex = 7;
     popupPositionValues14.PlacementMode   = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.ktxtTargetImageLocation.ToolTipValues.ToolTipPosition = popupPositionValues14;
     //
     // kbtnTargetBrowse
     //
     this.kbtnTargetBrowse.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnTargetBrowse.Location = new System.Drawing.Point(779, 12);
     this.kbtnTargetBrowse.Name     = "kbtnTargetBrowse";
     this.kbtnTargetBrowse.Size     = new System.Drawing.Size(39, 27);
     this.kbtnTargetBrowse.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnTargetBrowse.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnTargetBrowse.TabIndex      = 17;
     popupPositionValues13.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.kbtnTargetBrowse.ToolTipValues.ToolTipPosition = popupPositionValues13;
     this.kbtnTargetBrowse.Values.Text = "...";
     this.kbtnTargetBrowse.Click      += new System.EventHandler(this.KbtnTargetBrowse_Click);
     //
     // kbtnBrowseNewImageLocation
     //
     this.kbtnBrowseNewImageLocation.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnBrowseNewImageLocation.Location = new System.Drawing.Point(779, 56);
     this.kbtnBrowseNewImageLocation.Name     = "kbtnBrowseNewImageLocation";
     this.kbtnBrowseNewImageLocation.Size     = new System.Drawing.Size(39, 27);
     this.kbtnBrowseNewImageLocation.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowseNewImageLocation.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowseNewImageLocation.TabIndex = 20;
     popupPositionValues10.PlacementMode      = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.kbtnBrowseNewImageLocation.ToolTipValues.ToolTipPosition = popupPositionValues10;
     this.kbtnBrowseNewImageLocation.Values.Text = "...";
     this.kbtnBrowseNewImageLocation.Click      += new System.EventHandler(this.KbtnBrowseNewImageLocation_Click);
     //
     // ktxtNewImageLocation
     //
     this.ktxtNewImageLocation.Hint     = "New image location...";
     this.ktxtNewImageLocation.Location = new System.Drawing.Point(131, 54);
     this.ktxtNewImageLocation.Name     = "ktxtNewImageLocation";
     this.ktxtNewImageLocation.Size     = new System.Drawing.Size(642, 29);
     this.ktxtNewImageLocation.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktxtNewImageLocation.TabIndex  = 19;
     popupPositionValues11.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.ktxtNewImageLocation.ToolTipValues.ToolTipPosition = popupPositionValues11;
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(12, 56);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(99, 24);
     this.kryptonLabel1.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex         = 18;
     popupPositionValues12.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.kryptonLabel1.ToolTipValues.ToolTipPosition = popupPositionValues12;
     this.kryptonLabel1.Values.Text = "Save Image:";
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(106, 110);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(60, 24);
     this.kryptonLabel2.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex        = 21;
     popupPositionValues9.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.kryptonLabel2.ToolTipValues.ToolTipPosition = popupPositionValues9;
     this.kryptonLabel2.Values.Text = "Width:";
     //
     // knudWidth
     //
     this.knudWidth.DecimalPlaces = 99;
     this.knudWidth.Location      = new System.Drawing.Point(172, 108);
     this.knudWidth.Maximum       = new decimal(new int[] {
         999999,
         0,
         0,
         0
     });
     this.knudWidth.Name = "knudWidth";
     this.knudWidth.Size = new System.Drawing.Size(120, 28);
     this.knudWidth.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knudWidth.TabIndex                      = 22;
     this.knudWidth.TextAlign                     = System.Windows.Forms.HorizontalAlignment.Center;
     popupPositionValues8.PlacementMode           = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.knudWidth.ToolTipValues.ToolTipPosition = popupPositionValues8;
     //
     // knudHeight
     //
     this.knudHeight.DecimalPlaces = 99;
     this.knudHeight.Location      = new System.Drawing.Point(393, 108);
     this.knudHeight.Maximum       = new decimal(new int[] {
         999999,
         0,
         0,
         0
     });
     this.knudHeight.Name = "knudHeight";
     this.knudHeight.Size = new System.Drawing.Size(120, 28);
     this.knudHeight.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knudHeight.TabIndex                      = 24;
     this.knudHeight.TextAlign                     = System.Windows.Forms.HorizontalAlignment.Center;
     popupPositionValues6.PlacementMode            = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.knudHeight.ToolTipValues.ToolTipPosition = popupPositionValues6;
     //
     // kryptonLabel3
     //
     this.kryptonLabel3.Location = new System.Drawing.Point(322, 110);
     this.kryptonLabel3.Name     = "kryptonLabel3";
     this.kryptonLabel3.Size     = new System.Drawing.Size(65, 24);
     this.kryptonLabel3.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.TabIndex        = 23;
     popupPositionValues7.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.kryptonLabel3.ToolTipValues.ToolTipPosition = popupPositionValues7;
     this.kryptonLabel3.Values.Text = "Height:";
     //
     // kryptonLabel4
     //
     this.kryptonLabel4.Location = new System.Drawing.Point(556, 110);
     this.kryptonLabel4.Name     = "kryptonLabel4";
     this.kryptonLabel4.Size     = new System.Drawing.Size(51, 24);
     this.kryptonLabel4.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel4.TabIndex        = 25;
     popupPositionValues5.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.kryptonLabel4.ToolTipValues.ToolTipPosition = popupPositionValues5;
     this.kryptonLabel4.Values.Text = "Type:";
     //
     // kcmbFileType
     //
     this.kcmbFileType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcmbFileType.DropDownWidth = 121;
     this.kcmbFileType.Location      = new System.Drawing.Point(613, 110);
     this.kcmbFileType.Name          = "kcmbFileType";
     this.kcmbFileType.Size          = new System.Drawing.Size(121, 27);
     this.kcmbFileType.StateCommon.ComboBox.Content.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbFileType.StateCommon.Item.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbFileType.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbFileType.TabIndex         = 26;
     popupPositionValues4.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom;
     this.kcmbFileType.ToolTipValues.ToolTipPosition = popupPositionValues4;
     //
     // KryptonImageResizingToolWindow
     //
     this.ClientSize = new System.Drawing.Size(830, 213);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonImageResizingToolWindow";
     this.ShowInTaskbar   = false;
     this.Text            = "Krypton Image Resizer";
     this.Load           += new System.EventHandler(this.KryptonImageResizingToolWindow_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbFileType)).EndInit();
     this.ResumeLayout(false);
 }
 //��ʼ����¼������û����ؼ�
 private void initComboBoxUserName(KryptonComboBox comboBoxName)
 {
 }
Example #15
0
 private void InitializeComponent()
 {
     this.kpnlButtons           = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnCancel            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnOk                = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnApply             = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kpnlContent           = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnLoadTheme         = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnBrowse            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ktxtCustomPath        = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.klblCustomTheme       = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kcmbPaletteTheme      = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel1         = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.pnlSeperator          = new System.Windows.Forms.Panel();
     this.kbtnRestoreToDefaults = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlButtons)).BeginInit();
     this.kpnlButtons.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlContent)).BeginInit();
     this.kpnlContent.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbPaletteTheme)).BeginInit();
     this.SuspendLayout();
     //
     // kpnlButtons
     //
     this.kpnlButtons.Controls.Add(this.kbtnRestoreToDefaults);
     this.kpnlButtons.Controls.Add(this.kbtnCancel);
     this.kpnlButtons.Controls.Add(this.kbtnOk);
     this.kpnlButtons.Controls.Add(this.kbtnApply);
     this.kpnlButtons.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kpnlButtons.Location = new System.Drawing.Point(0, 142);
     this.kpnlButtons.Name     = "kpnlButtons";
     this.kpnlButtons.Size     = new System.Drawing.Size(781, 54);
     this.kpnlButtons.TabIndex = 0;
     //
     // kbtnCancel
     //
     this.kbtnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(583, 12);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(90, 30);
     this.kbtnCancel.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StateCommon.Content.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnCancel.StateCommon.Content.ShortText.Trim       = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnCancel.TabIndex    = 2;
     this.kbtnCancel.Values.Text = "&Cancel";
     this.kbtnCancel.Click      += new System.EventHandler(this.kbtnCancel_Click);
     //
     // kbtnOk
     //
     this.kbtnOk.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnOk.Location = new System.Drawing.Point(487, 12);
     this.kbtnOk.Name     = "kbtnOk";
     this.kbtnOk.Size     = new System.Drawing.Size(90, 30);
     this.kbtnOk.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.StateCommon.Content.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnOk.StateCommon.Content.ShortText.Trim       = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnOk.TabIndex    = 1;
     this.kbtnOk.Values.Text = "&Ok";
     this.kbtnOk.Click      += new System.EventHandler(this.kbtnOk_Click);
     //
     // kbtnApply
     //
     this.kbtnApply.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnApply.Enabled  = false;
     this.kbtnApply.Location = new System.Drawing.Point(679, 12);
     this.kbtnApply.Name     = "kbtnApply";
     this.kbtnApply.Size     = new System.Drawing.Size(90, 30);
     this.kbtnApply.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnApply.StateCommon.Content.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnApply.StateCommon.Content.ShortText.Trim       = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnApply.TabIndex    = 0;
     this.kbtnApply.Values.Text = "A&pply";
     this.kbtnApply.Click      += new System.EventHandler(this.kbtnApply_Click);
     //
     // kpnlContent
     //
     this.kpnlContent.Controls.Add(this.kbtnLoadTheme);
     this.kpnlContent.Controls.Add(this.kbtnBrowse);
     this.kpnlContent.Controls.Add(this.ktxtCustomPath);
     this.kpnlContent.Controls.Add(this.klblCustomTheme);
     this.kpnlContent.Controls.Add(this.kcmbPaletteTheme);
     this.kpnlContent.Controls.Add(this.kryptonLabel1);
     this.kpnlContent.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kpnlContent.Location = new System.Drawing.Point(0, 0);
     this.kpnlContent.Name     = "kpnlContent";
     this.kpnlContent.Size     = new System.Drawing.Size(781, 142);
     this.kpnlContent.TabIndex = 1;
     //
     // kbtnLoadTheme
     //
     this.kbtnLoadTheme.AutoSize     = true;
     this.kbtnLoadTheme.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnLoadTheme.Enabled      = false;
     this.kbtnLoadTheme.Location     = new System.Drawing.Point(720, 87);
     this.kbtnLoadTheme.Name         = "kbtnLoadTheme";
     this.kbtnLoadTheme.Size         = new System.Drawing.Size(47, 30);
     this.kbtnLoadTheme.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnLoadTheme.StateCommon.Content.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnLoadTheme.StateCommon.Content.ShortText.Trim       = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnLoadTheme.TabIndex    = 5;
     this.kbtnLoadTheme.Values.Text = "&Load";
     this.kbtnLoadTheme.Click      += new System.EventHandler(this.kbtnLoadTheme_Click);
     //
     // kbtnBrowse
     //
     this.kbtnBrowse.AutoSize     = true;
     this.kbtnBrowse.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnBrowse.Enabled      = false;
     this.kbtnBrowse.Location     = new System.Drawing.Point(744, 51);
     this.kbtnBrowse.Name         = "kbtnBrowse";
     this.kbtnBrowse.Size         = new System.Drawing.Size(23, 30);
     this.kbtnBrowse.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowse.StateCommon.Content.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnBrowse.StateCommon.Content.ShortText.Trim       = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnBrowse.TabIndex    = 4;
     this.kbtnBrowse.Values.Text = ".&..";
     this.kbtnBrowse.Click      += new System.EventHandler(this.kbtnBrowse_Click);
     //
     // ktxtCustomPath
     //
     this.ktxtCustomPath.Enabled  = false;
     this.ktxtCustomPath.Location = new System.Drawing.Point(248, 52);
     this.ktxtCustomPath.Name     = "ktxtCustomPath";
     this.ktxtCustomPath.Size     = new System.Drawing.Size(490, 29);
     this.ktxtCustomPath.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktxtCustomPath.TabIndex     = 3;
     this.ktxtCustomPath.TextChanged += new System.EventHandler(this.ktxtCustomPath_TextChanged);
     //
     // klblCustomTheme
     //
     this.klblCustomTheme.Enabled  = false;
     this.klblCustomTheme.Location = new System.Drawing.Point(38, 55);
     this.klblCustomTheme.Name     = "klblCustomTheme";
     this.klblCustomTheme.Size     = new System.Drawing.Size(204, 26);
     this.klblCustomTheme.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblCustomTheme.StateCommon.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.klblCustomTheme.StateCommon.ShortText.Trim       = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.klblCustomTheme.TabIndex    = 2;
     this.klblCustomTheme.Values.Text = "Custom Theme File Path:";
     //
     // kcmbPaletteTheme
     //
     this.kcmbPaletteTheme.DropDownWidth = 216;
     this.kcmbPaletteTheme.Location      = new System.Drawing.Point(147, 12);
     this.kcmbPaletteTheme.Name          = "kcmbPaletteTheme";
     this.kcmbPaletteTheme.Size          = new System.Drawing.Size(216, 27);
     this.kcmbPaletteTheme.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbPaletteTheme.TabIndex              = 1;
     this.kcmbPaletteTheme.SelectedIndexChanged += new System.EventHandler(this.kcmbPaletteTheme_SelectedIndexChanged);
     this.kcmbPaletteTheme.TextChanged          += new System.EventHandler(this.kcmbPaletteTheme_TextChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(12, 12);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(128, 26);
     this.kryptonLabel1.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.StateCommon.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel1.StateCommon.ShortText.Trim       = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel1.TabIndex    = 0;
     this.kryptonLabel1.Values.Text = "Palette Theme:";
     //
     // pnlSeperator
     //
     this.pnlSeperator.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.pnlSeperator.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.pnlSeperator.Location  = new System.Drawing.Point(0, 139);
     this.pnlSeperator.Name      = "pnlSeperator";
     this.pnlSeperator.Size      = new System.Drawing.Size(781, 3);
     this.pnlSeperator.TabIndex  = 2;
     //
     // kbtnRestoreToDefaults
     //
     this.kbtnRestoreToDefaults.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnRestoreToDefaults.Enabled  = false;
     this.kbtnRestoreToDefaults.Location = new System.Drawing.Point(12, 12);
     this.kbtnRestoreToDefaults.Name     = "kbtnRestoreToDefaults";
     this.kbtnRestoreToDefaults.Size     = new System.Drawing.Size(163, 30);
     this.kbtnRestoreToDefaults.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnRestoreToDefaults.StateCommon.Content.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnRestoreToDefaults.StateCommon.Content.ShortText.Trim       = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnRestoreToDefaults.TabIndex    = 3;
     this.kbtnRestoreToDefaults.Values.Text = "&Restore to Defaults";
     this.kbtnRestoreToDefaults.Click      += new System.EventHandler(this.kbtnRestoreToDefaults_Click);
     //
     // ThemeOptions
     //
     this.AcceptButton = this.kbtnOk;
     this.CancelButton = this.kbtnCancel;
     this.ClientSize   = new System.Drawing.Size(781, 196);
     this.Controls.Add(this.pnlSeperator);
     this.Controls.Add(this.kpnlContent);
     this.Controls.Add(this.kpnlButtons);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ThemeOptions";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Palette Theme Options";
     this.Load           += new System.EventHandler(this.ThemeOptions_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kpnlButtons)).EndInit();
     this.kpnlButtons.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kpnlContent)).EndInit();
     this.kpnlContent.ResumeLayout(false);
     this.kpnlContent.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbPaletteTheme)).EndInit();
     this.ResumeLayout(false);
 }
Example #16
0
 private void InitializeComponent()
 {
     this.kryptonPanel1    = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.ebFolder         = new Microsoft.WindowsAPICodePack.Controls.WindowsForms.ExplorerBrowser();
     this.kbcPath          = new ComponentFactory.Krypton.Toolkit.KryptonBreadCrumb();
     this.kryptonLabel1    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonComboBox1 = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonButton1   = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kryptonButton2   = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kbcPath)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonComboBox1)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kryptonButton2);
     this.kryptonPanel1.Controls.Add(this.kryptonButton1);
     this.kryptonPanel1.Controls.Add(this.kryptonComboBox1);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel1.Controls.Add(this.ebFolder);
     this.kryptonPanel1.Controls.Add(this.kbcPath);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(907, 508);
     this.kryptonPanel1.TabIndex = 0;
     //
     // ebFolder
     //
     this.ebFolder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.ebFolder.Location        = new System.Drawing.Point(12, 46);
     this.ebFolder.Name            = "ebFolder";
     this.ebFolder.PropertyBagName = "Microsoft.WindowsAPICodePack.Controls.WindowsForms.ExplorerBrowser";
     this.ebFolder.Size            = new System.Drawing.Size(883, 412);
     this.ebFolder.TabIndex        = 1;
     //
     // kbcPath
     //
     this.kbcPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.kbcPath.AutoSize = false;
     this.kbcPath.Location = new System.Drawing.Point(93, 12);
     this.kbcPath.Name     = "kbcPath";
     //
     //
     //
     this.kbcPath.RootItem.ShortText = "Root";
     this.kbcPath.SelectedItem       = this.kbcPath.RootItem;
     this.kbcPath.Size     = new System.Drawing.Size(802, 28);
     this.kbcPath.TabIndex = 0;
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.kryptonLabel1.Location = new System.Drawing.Point(12, 470);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(116, 26);
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 2;
     this.kryptonLabel1.Values.Text = "Folder Name:";
     //
     // kryptonComboBox1
     //
     this.kryptonComboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonComboBox1.DropDownWidth = 568;
     this.kryptonComboBox1.Location      = new System.Drawing.Point(134, 470);
     this.kryptonComboBox1.Name          = "kryptonComboBox1";
     this.kryptonComboBox1.Size          = new System.Drawing.Size(568, 27);
     this.kryptonComboBox1.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonComboBox1.TabIndex = 3;
     //
     // kryptonButton1
     //
     this.kryptonButton1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonButton1.Location = new System.Drawing.Point(804, 470);
     this.kryptonButton1.Name     = "kryptonButton1";
     this.kryptonButton1.Size     = new System.Drawing.Size(90, 26);
     this.kryptonButton1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonButton1.TabIndex    = 4;
     this.kryptonButton1.Values.Text = "C&ancel";
     //
     // kryptonButton2
     //
     this.kryptonButton2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonButton2.Location = new System.Drawing.Point(708, 470);
     this.kryptonButton2.Name     = "kryptonButton2";
     this.kryptonButton2.Size     = new System.Drawing.Size(90, 26);
     this.kryptonButton2.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonButton2.TabIndex    = 5;
     this.kryptonButton2.Values.Text = "&Open";
     //
     // KryptonFolderPickerDialog
     //
     this.ClientSize = new System.Drawing.Size(907, 508);
     this.Controls.Add(this.kryptonPanel1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "KryptonFolderPickerDialog";
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kbcPath)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonComboBox1)).EndInit();
     this.ResumeLayout(false);
 }
Example #17
0
 private void InitializeComponent()
 {
     this.kcbDriveList = new Krypton.Toolkit.KryptonComboBox();
     this.ktvFolders   = new Krypton.Toolkit.KryptonTreeView();
     this.panel1       = new System.Windows.Forms.Panel();
     this.panel2       = new System.Windows.Forms.Panel();
     this.panel3       = new System.Windows.Forms.Panel();
     this.klbFiles     = new Krypton.Toolkit.KryptonListBox();
     ((System.ComponentModel.ISupportInitialize)(this.kcbDriveList)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // kcbDriveList
     //
     this.kcbDriveList.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.kcbDriveList.DrawMode       = System.Windows.Forms.DrawMode.OwnerDrawVariable;
     this.kcbDriveList.DropDownStyle  = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcbDriveList.DropDownWidth  = 200;
     this.kcbDriveList.IntegralHeight = false;
     this.kcbDriveList.Location       = new System.Drawing.Point(0, 0);
     this.kcbDriveList.Name           = "kcbDriveList";
     this.kcbDriveList.Size           = new System.Drawing.Size(200, 21);
     this.kcbDriveList.StateCommon.ComboBox.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcbDriveList.TabIndex              = 0;
     this.kcbDriveList.SelectedIndexChanged += new System.EventHandler(this.kcbDriveList_SelectedIndexChanged);
     //
     // ktvFolders
     //
     this.ktvFolders.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.ktvFolders.Location     = new System.Drawing.Point(0, 0);
     this.ktvFolders.Name         = "ktvFolders";
     this.ktvFolders.Size         = new System.Drawing.Size(200, 382);
     this.ktvFolders.TabIndex     = 1;
     this.ktvFolders.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.ktvFolders_AfterSelect);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(200, 403);
     this.panel1.TabIndex = 2;
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.Transparent;
     this.panel2.Controls.Add(this.kcbDriveList);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(200, 21);
     this.panel2.TabIndex = 3;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.ktvFolders);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 21);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(200, 382);
     this.panel3.TabIndex = 3;
     //
     // klbFiles
     //
     this.klbFiles.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.klbFiles.Location = new System.Drawing.Point(200, 0);
     this.klbFiles.Name     = "klbFiles";
     this.klbFiles.Size     = new System.Drawing.Size(525, 403);
     this.klbFiles.TabIndex = 3;
     //
     // KryptonFileFolderBrowser
     //
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.klbFiles);
     this.Controls.Add(this.panel1);
     this.Name = "KryptonFileFolderBrowser";
     this.Size = new System.Drawing.Size(725, 403);
     ((System.ComponentModel.ISupportInitialize)(this.kcbDriveList)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #18
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColourMixerBasic));
     this.kryptonPanel1    = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnGenerate     = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnOk           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.panel1           = new System.Windows.Forms.Panel();
     this.kryptonPanel2    = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnSetColour    = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kcbThemeSelector = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel2    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblRedValue     = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblGreenValue   = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblBlueValue    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel10   = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel9    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel8    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.knumAlpaValue    = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel1    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.cbxColourPreview = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.cwSelectedColour = new ExtendedControls.ExtendedToolkit.Controls.Colours.Controls.ColourWheel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcbThemeSelector)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxColourPreview)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnGenerate);
     this.kryptonPanel1.Controls.Add(this.kbtnOk);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 452);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(855, 65);
     this.kryptonPanel1.TabIndex = 1;
     //
     // kbtnGenerate
     //
     this.kbtnGenerate.AutoSize     = true;
     this.kbtnGenerate.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerate.Location     = new System.Drawing.Point(12, 15);
     this.kbtnGenerate.Name         = "kbtnGenerate";
     this.kbtnGenerate.Size         = new System.Drawing.Size(197, 30);
     this.kbtnGenerate.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerate.TabIndex    = 61;
     this.kbtnGenerate.Values.Text = "Gener&ate Random Colour";
     this.kbtnGenerate.Click      += new System.EventHandler(this.KbtnGenerate_Click);
     //
     // kbtnOk
     //
     this.kbtnOk.AutoSize     = true;
     this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnOk.Location     = new System.Drawing.Point(807, 15);
     this.kbtnOk.Name         = "kbtnOk";
     this.kbtnOk.Size         = new System.Drawing.Size(32, 30);
     this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.TabIndex    = 60;
     this.kbtnOk.Values.Text = "O&k";
     this.kbtnOk.Click      += new System.EventHandler(this.KbtnOk_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 449);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(855, 2);
     this.panel1.TabIndex  = 2;
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kbtnSetColour);
     this.kryptonPanel2.Controls.Add(this.cbxColourPreview);
     this.kryptonPanel2.Controls.Add(this.kcbThemeSelector);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel2);
     this.kryptonPanel2.Controls.Add(this.klblRedValue);
     this.kryptonPanel2.Controls.Add(this.klblGreenValue);
     this.kryptonPanel2.Controls.Add(this.klblBlueValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel10);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel9);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel8);
     this.kryptonPanel2.Controls.Add(this.knumAlpaValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel2.Controls.Add(this.cwSelectedColour);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(855, 449);
     this.kryptonPanel2.TabIndex = 3;
     //
     // kbtnSetColour
     //
     this.kbtnSetColour.AutoSize     = true;
     this.kbtnSetColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnSetColour.Enabled      = false;
     this.kbtnSetColour.Location     = new System.Drawing.Point(562, 344);
     this.kbtnSetColour.Name         = "kbtnSetColour";
     this.kbtnSetColour.Size         = new System.Drawing.Size(88, 30);
     this.kbtnSetColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSetColour.TabIndex    = 61;
     this.kbtnSetColour.Values.Text = "&Set Colour";
     this.kbtnSetColour.Click      += new System.EventHandler(this.KbtnSetColour_Click);
     //
     // kcbThemeSelector
     //
     this.kcbThemeSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcbThemeSelector.DropDownWidth = 435;
     this.kcbThemeSelector.Location      = new System.Drawing.Point(404, 52);
     this.kcbThemeSelector.Name          = "kcbThemeSelector";
     this.kcbThemeSelector.Size          = new System.Drawing.Size(435, 27);
     this.kcbThemeSelector.StateCommon.ComboBox.Content.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbThemeSelector.StateCommon.Item.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbThemeSelector.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbThemeSelector.TabIndex              = 34;
     this.kcbThemeSelector.SelectedIndexChanged += new System.EventHandler(this.KcbThemeSelector_SelectedIndexChanged);
     this.kcbThemeSelector.TextChanged          += new System.EventHandler(this.KcbThemeSelector_TextChanged);
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(370, 12);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(218, 33);
     this.kryptonLabel2.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex    = 33;
     this.kryptonLabel2.Values.Text = "Generate colour for:";
     //
     // klblRedValue
     //
     this.klblRedValue.Location = new System.Drawing.Point(288, 390);
     this.klblRedValue.Name     = "klblRedValue";
     this.klblRedValue.Size     = new System.Drawing.Size(6, 2);
     this.klblRedValue.StateCommon.LongText.Color1  = System.Drawing.Color.Red;
     this.klblRedValue.StateCommon.LongText.Color2  = System.Drawing.Color.Red;
     this.klblRedValue.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblRedValue.StateCommon.ShortText.Color1 = System.Drawing.Color.Red;
     this.klblRedValue.StateCommon.ShortText.Color2 = System.Drawing.Color.Red;
     this.klblRedValue.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblRedValue.TabIndex    = 32;
     this.klblRedValue.Values.Text = "";
     //
     // klblGreenValue
     //
     this.klblGreenValue.Location = new System.Drawing.Point(476, 390);
     this.klblGreenValue.Name     = "klblGreenValue";
     this.klblGreenValue.Size     = new System.Drawing.Size(6, 2);
     this.klblGreenValue.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblGreenValue.StateCommon.ShortText.Color1 = System.Drawing.Color.Green;
     this.klblGreenValue.StateCommon.ShortText.Color2 = System.Drawing.Color.Green;
     this.klblGreenValue.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblGreenValue.TabIndex    = 31;
     this.klblGreenValue.Values.Text = "";
     //
     // klblBlueValue
     //
     this.klblBlueValue.Location = new System.Drawing.Point(666, 390);
     this.klblBlueValue.Name     = "klblBlueValue";
     this.klblBlueValue.Size     = new System.Drawing.Size(6, 2);
     this.klblBlueValue.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblBlueValue.StateCommon.ShortText.Color1 = System.Drawing.Color.Blue;
     this.klblBlueValue.StateCommon.ShortText.Color2 = System.Drawing.Color.Blue;
     this.klblBlueValue.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblBlueValue.TabIndex    = 30;
     this.klblBlueValue.Values.Text = "";
     //
     // kryptonLabel10
     //
     this.kryptonLabel10.Location = new System.Drawing.Point(223, 390);
     this.kryptonLabel10.Name     = "kryptonLabel10";
     this.kryptonLabel10.Size     = new System.Drawing.Size(59, 33);
     this.kryptonLabel10.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel10.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel10.TabIndex    = 29;
     this.kryptonLabel10.Values.Text = "Red:";
     //
     // kryptonLabel9
     //
     this.kryptonLabel9.Location = new System.Drawing.Point(390, 390);
     this.kryptonLabel9.Name     = "kryptonLabel9";
     this.kryptonLabel9.Size     = new System.Drawing.Size(80, 33);
     this.kryptonLabel9.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel9.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel9.TabIndex    = 28;
     this.kryptonLabel9.Values.Text = "Green:";
     //
     // kryptonLabel8
     //
     this.kryptonLabel8.Location = new System.Drawing.Point(596, 387);
     this.kryptonLabel8.Name     = "kryptonLabel8";
     this.kryptonLabel8.Size     = new System.Drawing.Size(64, 33);
     this.kryptonLabel8.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel8.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel8.TabIndex    = 27;
     this.kryptonLabel8.Values.Text = "Blue:";
     //
     // knumAlpaValue
     //
     this.knumAlpaValue.DecimalPlaces = 99;
     this.knumAlpaValue.Location      = new System.Drawing.Point(97, 390);
     this.knumAlpaValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumAlpaValue.Name = "knumAlpaValue";
     this.knumAlpaValue.Size = new System.Drawing.Size(120, 32);
     this.knumAlpaValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumAlpaValue.TabIndex      = 26;
     this.knumAlpaValue.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.knumAlpaValue.ValueChanged += new System.EventHandler(this.KnumAlpaValue_ValueChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(12, 387);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(79, 33);
     this.kryptonLabel1.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 25;
     this.kryptonLabel1.Values.Text = "Alpha:";
     //
     // cbxColourPreview
     //
     this.cbxColourPreview.BackColor = System.Drawing.Color.White;
     this.cbxColourPreview.Location  = new System.Drawing.Point(486, 86);
     this.cbxColourPreview.Name      = "cbxColourPreview";
     this.cbxColourPreview.Size      = new System.Drawing.Size(232, 230);
     this.cbxColourPreview.TabIndex  = 35;
     this.cbxColourPreview.TabStop   = false;
     //
     // cwSelectedColour
     //
     this.cwSelectedColour.BackColor      = System.Drawing.Color.Transparent;
     this.cwSelectedColour.Location       = new System.Drawing.Point(12, 12);
     this.cwSelectedColour.Name           = "cwSelectedColour";
     this.cwSelectedColour.Size           = new System.Drawing.Size(352, 362);
     this.cwSelectedColour.TabIndex       = 24;
     this.cwSelectedColour.ColourChanged += new System.EventHandler(this.CwSelectedColour_ColourChanged);
     //
     // ColourMixerBasic
     //
     this.ClientSize = new System.Drawing.Size(855, 516);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "ColourMixerBasic";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Basic Palette Colour Mixer";
     this.Load           += new System.EventHandler(this.ColourMixerBasic_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcbThemeSelector)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxColourPreview)).EndInit();
     this.ResumeLayout(false);
 }
 private void UnmonitorControl(KryptonComboBox c)
 {
     c.MouseEnter -= new EventHandler(OnControlEnter);
     c.MouseLeave -= new EventHandler(OnControlLeave);
     c.TrackMouseEnter -= new EventHandler(OnControlEnter);
     c.TrackMouseLeave -= new EventHandler(OnControlLeave);
 }
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_comboBox != null)
                {
                    UnmonitorControl(_comboBox);
                    _comboBox.Dispose();
                    _comboBox = null;
                }
            }

            base.Dispose(disposing);
        }
        /// <summary>
        /// Initializes the designer with the specified component.
        /// </summary>
        /// <param name="component">The IComponent to associate the designer with.</param>
        public override void Initialize(IComponent component)
        {
            // Let base class do standard stuff
            base.Initialize(component);

            // The resizing handles around the control need to change depending on the
            // value of the AutoSize and AutoSizeMode properties. When in AutoSize you
            // do not get the resizing handles, otherwise you do.
            AutoResizeHandles = true;

            // Cast to correct type
            _comboBox = component as KryptonComboBox;

            if (_comboBox != null)
            {
                // Hook into combobox events
                _comboBox.GetViewManager().MouseUpProcessed += new MouseEventHandler(OnComboBoxMouseUp);
                _comboBox.GetViewManager().DoubleClickProcessed += new PointHandler(OnComboBoxDoubleClick);
            }

            // Get access to the design services
            _designerHost = (IDesignerHost)GetService(typeof(IDesignerHost));
            _changeService = (IComponentChangeService)GetService(typeof(IComponentChangeService));
            _selectionService = (ISelectionService)GetService(typeof(ISelectionService));

            // We need to know when we are being removed
            _changeService.ComponentRemoving += new ComponentEventHandler(OnComponentRemoving);
        }
Example #22
0
 protected override Control InitialControl()
 {
     KryptonComboBox ctl = new KryptonComboBox();
     ctl.DataSource = DataSource;
     ctl.DisplayMember = DisplayMember;
     ctl.ValueMember = ValueMember;
     return ctl;
 }
 /// <summary>
 ///     Populates the volume drop down.
 /// </summary>
 /// <param name="comboBox">The combo box.</param>
 private static void PopulateVolumeDropDown(KryptonComboBox comboBox)
 {
     comboBox.Items.Clear();
     comboBox.Items.Add("100");
     comboBox.Items.Add("95");
     comboBox.Items.Add("90");
     comboBox.Items.Add("80");
     comboBox.Items.Add("75");
     comboBox.Items.Add("70");
     comboBox.Items.Add("60");
     comboBox.Items.Add("50");
     comboBox.Items.Add("40");
     comboBox.Items.Add("30");
     comboBox.Items.Add("25");
     comboBox.Items.Add("20");
     comboBox.Items.Add("10");
     comboBox.Items.Add("5");
     comboBox.Items.Add("0");
 }
Example #24
0
 public KryptonComboBoxProxy(KryptonComboBox comboBox)
 {
     _comboBox = comboBox;
 }
Example #25
0
 private void InitializeComponent()
 {
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues1 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues2 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues3 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues4 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues5 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues6 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues7 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues8 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ThemeChooser));
     this.kryptonPanel1        = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kcbSilent            = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox();
     this.kbtnImport           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnBrowse           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kptxtCustomThemePath = new ExtendedControls.ExtendedToolkit.Controls.KryptonPromptTextBox();
     this.kcmbSelection        = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.klblPaletteStyle     = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonPanel2        = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnCreate           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnApply            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCancel           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.panel1 = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbSelection)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kcbSilent);
     this.kryptonPanel1.Controls.Add(this.kbtnImport);
     this.kryptonPanel1.Controls.Add(this.kbtnBrowse);
     this.kryptonPanel1.Controls.Add(this.kptxtCustomThemePath);
     this.kryptonPanel1.Controls.Add(this.kcmbSelection);
     this.kryptonPanel1.Controls.Add(this.klblPaletteStyle);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(702, 150);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kcbSilent
     //
     this.kcbSilent.Enabled  = false;
     this.kcbSilent.Location = new System.Drawing.Point(505, 107);
     this.kcbSilent.Name     = "kcbSilent";
     this.kcbSilent.Size     = new System.Drawing.Size(62, 24);
     this.kcbSilent.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbSilent.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbSilent.TabIndex = 14;
     popupPositionValues1.PlacementRectangle      = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues1.PlacementTarget         = null;
     this.kcbSilent.ToolTipValues.ToolTipPosition = popupPositionValues1;
     this.kcbSilent.Values.Text = "&Silent";
     //
     // kbtnImport
     //
     this.kbtnImport.Enabled  = false;
     this.kbtnImport.Location = new System.Drawing.Point(573, 104);
     this.kbtnImport.Name     = "kbtnImport";
     this.kbtnImport.Size     = new System.Drawing.Size(117, 29);
     this.kbtnImport.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnImport.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnImport.TabIndex = 13;
     popupPositionValues2.PlacementRectangle       = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues2.PlacementTarget          = null;
     this.kbtnImport.ToolTipValues.ToolTipPosition = popupPositionValues2;
     this.kbtnImport.Values.Text = "Im&port...";
     this.kbtnImport.Click      += new System.EventHandler(this.kbtnImport_Click);
     //
     // kbtnBrowse
     //
     this.kbtnBrowse.Enabled  = false;
     this.kbtnBrowse.Location = new System.Drawing.Point(659, 60);
     this.kbtnBrowse.Name     = "kbtnBrowse";
     this.kbtnBrowse.Size     = new System.Drawing.Size(31, 27);
     this.kbtnBrowse.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowse.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowse.TabIndex = 12;
     popupPositionValues3.PlacementRectangle       = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues3.PlacementTarget          = null;
     this.kbtnBrowse.ToolTipValues.ToolTipPosition = popupPositionValues3;
     this.kbtnBrowse.Values.Text = ".&..";
     this.kbtnBrowse.Click      += new System.EventHandler(this.kbtnBrowse_Click);
     //
     // kptxtCustomThemePath
     //
     this.kptxtCustomThemePath.DrawPrompt       = true;
     this.kptxtCustomThemePath.Enabled          = false;
     this.kptxtCustomThemePath.FocusSelect      = true;
     this.kptxtCustomThemePath.Font             = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kptxtCustomThemePath.Location         = new System.Drawing.Point(26, 60);
     this.kptxtCustomThemePath.Name             = "kptxtCustomThemePath";
     this.kptxtCustomThemePath.PromptForeColour = System.Drawing.SystemColors.GrayText;
     this.kptxtCustomThemePath.PromptText       = "Enter custom theme path here...";
     this.kptxtCustomThemePath.PromptTypeface   = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kptxtCustomThemePath.Size             = new System.Drawing.Size(627, 27);
     this.kptxtCustomThemePath.TabIndex         = 6;
     this.kptxtCustomThemePath.TextChanged     += new System.EventHandler(this.kptxtCustomThemePath_TextChanged);
     //
     // kcmbSelection
     //
     this.kcmbSelection.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.kcmbSelection.DropDownWidth = 255;
     this.kcmbSelection.Location      = new System.Drawing.Point(172, 12);
     this.kcmbSelection.Name          = "kcmbSelection";
     this.kcmbSelection.Size          = new System.Drawing.Size(518, 25);
     this.kcmbSelection.StateCommon.ComboBox.Content.Font       = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbSelection.StateCommon.Item.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbSelection.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbSelection.TabIndex                      = 5;
     popupPositionValues4.PlacementRectangle          = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues4.PlacementTarget             = null;
     this.kcmbSelection.ToolTipValues.ToolTipPosition = popupPositionValues4;
     this.kcmbSelection.SelectedIndexChanged         += new System.EventHandler(this.kcmbSelection_SelectedIndexChanged);
     //
     // klblPaletteStyle
     //
     this.klblPaletteStyle.Location = new System.Drawing.Point(12, 12);
     this.klblPaletteStyle.Name     = "klblPaletteStyle";
     this.klblPaletteStyle.Size     = new System.Drawing.Size(154, 24);
     this.klblPaletteStyle.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblPaletteStyle.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblPaletteStyle.TabIndex                      = 4;
     popupPositionValues5.PlacementRectangle             = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues5.PlacementTarget                = null;
     this.klblPaletteStyle.ToolTipValues.ToolTipPosition = popupPositionValues5;
     this.klblPaletteStyle.Values.Text                   = "Select Palette Style:";
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kbtnCreate);
     this.kryptonPanel2.Controls.Add(this.kbtnApply);
     this.kryptonPanel2.Controls.Add(this.kbtnCancel);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 152);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(702, 52);
     this.kryptonPanel2.TabIndex = 0;
     //
     // kbtnCreate
     //
     this.kbtnCreate.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.kbtnCreate.Enabled  = false;
     this.kbtnCreate.Location = new System.Drawing.Point(12, 11);
     this.kbtnCreate.Name     = "kbtnCreate";
     this.kbtnCreate.Size     = new System.Drawing.Size(180, 29);
     this.kbtnCreate.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCreate.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCreate.TabIndex = 13;
     popupPositionValues6.PlacementRectangle       = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues6.PlacementTarget          = null;
     this.kbtnCreate.ToolTipValues.ToolTipPosition = popupPositionValues6;
     this.kbtnCreate.Values.Text = "Create &Custom Theme";
     this.kbtnCreate.Click      += new System.EventHandler(this.kbtnCreate_Click);
     //
     // kbtnApply
     //
     this.kbtnApply.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnApply.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kbtnApply.Enabled      = false;
     this.kbtnApply.Location     = new System.Drawing.Point(451, 11);
     this.kbtnApply.Name         = "kbtnApply";
     this.kbtnApply.Size         = new System.Drawing.Size(117, 29);
     this.kbtnApply.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnApply.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnApply.TabIndex = 12;
     popupPositionValues7.PlacementRectangle      = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues7.PlacementTarget         = null;
     this.kbtnApply.ToolTipValues.ToolTipPosition = popupPositionValues7;
     this.kbtnApply.Values.Text = "A&pply";
     this.kbtnApply.Click      += new System.EventHandler(this.kbtnApply_Click);
     //
     // kbtnCancel
     //
     this.kbtnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(573, 11);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(117, 29);
     this.kbtnCancel.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex = 11;
     popupPositionValues8.PlacementRectangle       = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues8.PlacementTarget          = null;
     this.kbtnCancel.ToolTipValues.ToolTipPosition = popupPositionValues8;
     this.kbtnCancel.Values.Text = "&Cancel";
     this.kbtnCancel.Click      += new System.EventHandler(this.kbtnCancel_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location  = new System.Drawing.Point(0, 150);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(702, 54);
     this.panel1.TabIndex  = 0;
     //
     // ThemeChooser
     //
     this.ClientSize = new System.Drawing.Size(702, 204);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ThemeChooser";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Text            = "Choose a Theme";
     this.Load           += new System.EventHandler(this.ThemeChooser_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbSelection)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
    public void setauthority(KryptonComboBox cmbdept, bool dept_enable, int dept_index, KryptonComboBox cmbtable, bool table_enable, int table_index)
    {
        cmbdept.Enabled       = dept_enable;
        cmbdept.SelectedIndex = dept_index;

        cmbtable.Enabled       = table_enable;
        cmbtable.SelectedIndex = table_index;
        //for (int i=0;i<=ctl.Count-1;i++)
        //{
        //    ctl[i].Enabled= enable[i];
        //    if (index[i].Trim().ToString() != "")
        //        ctl[i].SelectedIndex = int.Parse(index[i].ToString());

        //}
    }
Example #27
0
 private void InitializeComponent()
 {
     this.kryptonPanel1    = new Krypton.Toolkit.KryptonPanel();
     this.panel4           = new System.Windows.Forms.Panel();
     this.kbcPath          = new Krypton.Toolkit.KryptonBreadCrumb();
     this.panel1           = new System.Windows.Forms.Panel();
     this.panel3           = new System.Windows.Forms.Panel();
     this.kbtnForward      = new Krypton.Toolkit.KryptonButton();
     this.panel2           = new System.Windows.Forms.Panel();
     this.kbtnBack         = new Krypton.Toolkit.KryptonButton();
     this.kryptonPanel2    = new Krypton.Toolkit.KryptonPanel();
     this.kbtnAction       = new Krypton.Toolkit.KryptonButton();
     this.kbtnCancel       = new Krypton.Toolkit.KryptonButton();
     this.kryptonPanel3    = new Krypton.Toolkit.KryptonPanel();
     this.ebcExplorer      = new Microsoft.WindowsAPICodePack.Controls.WindowsForms.ExplorerBrowser();
     this.kryptonComboBox1 = new Krypton.Toolkit.KryptonComboBox();
     this.kryptonTextBox1  = new Krypton.Toolkit.KryptonTextBox();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.panel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kbcPath)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
     this.kryptonPanel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonComboBox1)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.panel4);
     this.kryptonPanel1.Controls.Add(this.panel1);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(717, 28);
     this.kryptonPanel1.TabIndex = 0;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.Transparent;
     this.panel4.Controls.Add(this.kbcPath);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(124, 0);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(593, 28);
     this.panel4.TabIndex = 1;
     //
     // kbcPath
     //
     this.kbcPath.AutoSize = false;
     this.kbcPath.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kbcPath.Location = new System.Drawing.Point(0, 0);
     this.kbcPath.Name     = "kbcPath";
     //
     //
     //
     this.kbcPath.RootItem.ShortText = "Root";
     this.kbcPath.SelectedItem       = this.kbcPath.RootItem;
     this.kbcPath.Size     = new System.Drawing.Size(593, 28);
     this.kbcPath.TabIndex = 0;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(124, 28);
     this.panel1.TabIndex = 0;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.kbtnForward);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(60, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(64, 28);
     this.panel3.TabIndex = 1;
     //
     // kbtnForward
     //
     this.kbtnForward.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.kbtnForward.Location    = new System.Drawing.Point(0, 0);
     this.kbtnForward.Name        = "kbtnForward";
     this.kbtnForward.Size        = new System.Drawing.Size(64, 28);
     this.kbtnForward.TabIndex    = 0;
     this.kbtnForward.Values.Text = "-->";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.kbtnBack);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(60, 28);
     this.panel2.TabIndex = 0;
     //
     // kbtnBack
     //
     this.kbtnBack.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.kbtnBack.Location    = new System.Drawing.Point(0, 0);
     this.kbtnBack.Name        = "kbtnBack";
     this.kbtnBack.Size        = new System.Drawing.Size(60, 28);
     this.kbtnBack.TabIndex    = 0;
     this.kbtnBack.Values.Text = "<--";
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kryptonTextBox1);
     this.kryptonPanel2.Controls.Add(this.kryptonComboBox1);
     this.kryptonPanel2.Controls.Add(this.kbtnAction);
     this.kryptonPanel2.Controls.Add(this.kbtnCancel);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 358);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(717, 69);
     this.kryptonPanel2.TabIndex = 1;
     //
     // kbtnAction
     //
     this.kbtnAction.Location    = new System.Drawing.Point(519, 17);
     this.kbtnAction.Name        = "kbtnAction";
     this.kbtnAction.Size        = new System.Drawing.Size(90, 31);
     this.kbtnAction.TabIndex    = 1;
     this.kbtnAction.Values.Text = "{0}";
     //
     // kbtnCancel
     //
     this.kbtnCancel.Location    = new System.Drawing.Point(615, 17);
     this.kbtnCancel.Name        = "kbtnCancel";
     this.kbtnCancel.Size        = new System.Drawing.Size(90, 31);
     this.kbtnCancel.TabIndex    = 0;
     this.kbtnCancel.Values.Text = "C&ancel";
     //
     // kryptonPanel3
     //
     this.kryptonPanel3.Controls.Add(this.ebcExplorer);
     this.kryptonPanel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel3.Location = new System.Drawing.Point(0, 28);
     this.kryptonPanel3.Name     = "kryptonPanel3";
     this.kryptonPanel3.Size     = new System.Drawing.Size(717, 330);
     this.kryptonPanel3.TabIndex = 2;
     //
     // ebcExplorer
     //
     this.ebcExplorer.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.ebcExplorer.Location        = new System.Drawing.Point(0, 0);
     this.ebcExplorer.Name            = "ebcExplorer";
     this.ebcExplorer.PropertyBagName = "Microsoft.WindowsAPICodePack.Controls.WindowsForms.ExplorerBrowser";
     this.ebcExplorer.Size            = new System.Drawing.Size(717, 330);
     this.ebcExplorer.TabIndex        = 0;
     //
     // kryptonComboBox1
     //
     this.kryptonComboBox1.DrawMode       = System.Windows.Forms.DrawMode.OwnerDrawVariable;
     this.kryptonComboBox1.DropDownWidth  = 374;
     this.kryptonComboBox1.IntegralHeight = false;
     this.kryptonComboBox1.Location       = new System.Drawing.Point(139, 35);
     this.kryptonComboBox1.Name           = "kryptonComboBox1";
     this.kryptonComboBox1.Size           = new System.Drawing.Size(374, 21);
     this.kryptonComboBox1.StateCommon.ComboBox.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kryptonComboBox1.TabIndex = 2;
     this.kryptonComboBox1.Text     = "kryptonComboBox1";
     //
     // kryptonTextBox1
     //
     this.kryptonTextBox1.Location = new System.Drawing.Point(139, 6);
     this.kryptonTextBox1.Name     = "kryptonTextBox1";
     this.kryptonTextBox1.Size     = new System.Drawing.Size(374, 23);
     this.kryptonTextBox1.TabIndex = 3;
     this.kryptonTextBox1.Text     = "kryptonTextBox1";
     //
     // KryptonFileBrowserDialog
     //
     this.ClientSize = new System.Drawing.Size(717, 427);
     this.Controls.Add(this.kryptonPanel3);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.Name = "KryptonFileBrowserDialog";
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kbcPath)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).EndInit();
     this.kryptonPanel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonComboBox1)).EndInit();
     this.ResumeLayout(false);
 }
Example #28
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HashFile));
     this.kryptonPanel1              = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kcbShowLength              = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox();
     this.kbtnGenerateFileHash       = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.klblResult                 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.ctxResult                  = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.copyToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     this.kryptonLabel2              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kcbxHashAlgorithimType     = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel1              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnBrowse                 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kptxtApplicationExecutable = new ExtendedControls.ExtendedToolkit.Controls.KryptonPromptTextBox();
     this.kryptonLabel3              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnCancel                 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kryptonPanel2              = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnVarify                 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnSaveHash               = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ss = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
     this.tspbHashProgess       = new System.Windows.Forms.ToolStripProgressBar();
     this.tslHashProgressValue  = new System.Windows.Forms.ToolStripStatusLabel();
     this.panel1       = new System.Windows.Forms.Panel();
     this.bgwMD5       = new System.ComponentModel.BackgroundWorker();
     this.bgwSHA1      = new System.ComponentModel.BackgroundWorker();
     this.bgwSHA256    = new System.ComponentModel.BackgroundWorker();
     this.bgwSHA384    = new System.ComponentModel.BackgroundWorker();
     this.bgwSHA512    = new System.ComponentModel.BackgroundWorker();
     this.bgwRIPEMD160 = new System.ComponentModel.BackgroundWorker();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.ctxResult.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcbxHashAlgorithimType)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     this.ss.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kcbShowLength);
     this.kryptonPanel1.Controls.Add(this.kbtnGenerateFileHash);
     this.kryptonPanel1.Controls.Add(this.klblResult);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel2);
     this.kryptonPanel1.Controls.Add(this.kcbxHashAlgorithimType);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel1.Controls.Add(this.kbtnBrowse);
     this.kryptonPanel1.Controls.Add(this.kptxtApplicationExecutable);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel3);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(853, 427);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kcbShowLength
     //
     this.kcbShowLength.Location = new System.Drawing.Point(572, 109);
     this.kcbShowLength.Name     = "kcbShowLength";
     this.kcbShowLength.Size     = new System.Drawing.Size(119, 26);
     this.kcbShowLength.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbShowLength.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbShowLength.TabIndex    = 9;
     this.kcbShowLength.Values.Text = "Show &Length";
     //
     // kbtnGenerateFileHash
     //
     this.kbtnGenerateFileHash.Enabled  = false;
     this.kbtnGenerateFileHash.Location = new System.Drawing.Point(410, 109);
     this.kbtnGenerateFileHash.Name     = "kbtnGenerateFileHash";
     this.kbtnGenerateFileHash.Size     = new System.Drawing.Size(156, 27);
     this.kbtnGenerateFileHash.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateFileHash.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateFileHash.TabIndex    = 8;
     this.kbtnGenerateFileHash.Values.Text = "&Generate";
     this.kbtnGenerateFileHash.Click      += new System.EventHandler(this.KbtnGenerateFileHash_Click);
     //
     // klblResult
     //
     this.klblResult.AutoSize                    = false;
     this.klblResult.ContextMenuStrip            = this.ctxResult;
     this.klblResult.Location                    = new System.Drawing.Point(24, 217);
     this.klblResult.Name                        = "klblResult";
     this.klblResult.Size                        = new System.Drawing.Size(811, 73);
     this.klblResult.StateCommon.LongText.Font   = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblResult.StateCommon.LongText.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblResult.StateCommon.LongText.TextV  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblResult.StateCommon.ShortText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblResult.StateCommon.ShortText.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblResult.StateCommon.ShortText.TextV = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblResult.TabIndex                    = 7;
     this.klblResult.Values.Text                 = "";
     //
     // ctxResult
     //
     this.ctxResult.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.ctxResult.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.copyToolStripMenuItem
     });
     this.ctxResult.Name = "ctxResult";
     this.ctxResult.Size = new System.Drawing.Size(103, 26);
     //
     // copyToolStripMenuItem
     //
     this.copyToolStripMenuItem.Name   = "copyToolStripMenuItem";
     this.copyToolStripMenuItem.Size   = new System.Drawing.Size(102, 22);
     this.copyToolStripMenuItem.Text   = "C&opy";
     this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(24, 170);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(62, 26);
     this.kryptonLabel2.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex    = 6;
     this.kryptonLabel2.Values.Text = "Result:";
     //
     // kcbxHashAlgorithimType
     //
     this.kcbxHashAlgorithimType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcbxHashAlgorithimType.DropDownWidth = 223;
     this.kcbxHashAlgorithimType.Items.AddRange(new object[] {
         "MD5",
         "SHA-1",
         "SHA-256",
         "SHA-384",
         "SHA-512",
         "RIPEMD-160"
     });
     this.kcbxHashAlgorithimType.Location = new System.Drawing.Point(181, 109);
     this.kcbxHashAlgorithimType.Name     = "kcbxHashAlgorithimType";
     this.kcbxHashAlgorithimType.Size     = new System.Drawing.Size(223, 27);
     this.kcbxHashAlgorithimType.StateCommon.ComboBox.Content.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbxHashAlgorithimType.StateCommon.ComboBox.Content.TextH      = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcbxHashAlgorithimType.StateCommon.Item.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbxHashAlgorithimType.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbxHashAlgorithimType.TabIndex              = 5;
     this.kcbxHashAlgorithimType.SelectedIndexChanged += new System.EventHandler(this.KcbxHashAlgorithimType_SelectedIndexChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(24, 110);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(138, 26);
     this.kryptonLabel1.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 4;
     this.kryptonLabel1.Values.Text = "Hash Algorithim:";
     //
     // kbtnBrowse
     //
     this.kbtnBrowse.Location = new System.Drawing.Point(800, 44);
     this.kbtnBrowse.Name     = "kbtnBrowse";
     this.kbtnBrowse.Size     = new System.Drawing.Size(35, 29);
     this.kbtnBrowse.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowse.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowse.TabIndex    = 3;
     this.kbtnBrowse.Values.Text = "...";
     this.kbtnBrowse.Click      += new System.EventHandler(this.KbtnBrowse_Click);
     //
     // kptxtApplicationExecutable
     //
     this.kptxtApplicationExecutable.DrawPrompt       = true;
     this.kptxtApplicationExecutable.FocusSelect      = true;
     this.kptxtApplicationExecutable.Font             = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kptxtApplicationExecutable.Location         = new System.Drawing.Point(181, 44);
     this.kptxtApplicationExecutable.Name             = "kptxtApplicationExecutable";
     this.kptxtApplicationExecutable.PromptForeColour = System.Drawing.SystemColors.GrayText;
     this.kptxtApplicationExecutable.PromptText       = "Executable Path";
     this.kptxtApplicationExecutable.PromptTypeface   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kptxtApplicationExecutable.Size             = new System.Drawing.Size(613, 29);
     this.kptxtApplicationExecutable.TabIndex         = 2;
     //
     // kryptonLabel3
     //
     this.kryptonLabel3.Location = new System.Drawing.Point(24, 45);
     this.kryptonLabel3.Name     = "kryptonLabel3";
     this.kryptonLabel3.Size     = new System.Drawing.Size(153, 26);
     this.kryptonLabel3.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.TabIndex    = 1;
     this.kryptonLabel3.Values.Text = "Application Binary:";
     //
     // kbtnCancel
     //
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(718, 17);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(117, 29);
     this.kbtnCancel.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex    = 9;
     this.kbtnCancel.Values.Text = "&Cancel";
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kbtnVarify);
     this.kryptonPanel2.Controls.Add(this.kbtnSaveHash);
     this.kryptonPanel2.Controls.Add(this.kbtnCancel);
     this.kryptonPanel2.Controls.Add(this.ss);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 343);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(853, 84);
     this.kryptonPanel2.TabIndex = 2;
     //
     // kbtnVarify
     //
     this.kbtnVarify.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnVarify.Location     = new System.Drawing.Point(12, 17);
     this.kbtnVarify.Name         = "kbtnVarify";
     this.kbtnVarify.Size         = new System.Drawing.Size(139, 29);
     this.kbtnVarify.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnVarify.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnVarify.TabIndex    = 11;
     this.kbtnVarify.Values.Text = "V&arify Hash";
     this.kbtnVarify.Click      += new System.EventHandler(this.KbtnVarify_Click);
     //
     // kbtnSaveHash
     //
     this.kbtnSaveHash.Enabled  = false;
     this.kbtnSaveHash.Location = new System.Drawing.Point(595, 17);
     this.kbtnSaveHash.Name     = "kbtnSaveHash";
     this.kbtnSaveHash.Size     = new System.Drawing.Size(117, 29);
     this.kbtnSaveHash.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSaveHash.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSaveHash.TabIndex    = 10;
     this.kbtnSaveHash.Values.Text = "S&ave";
     //
     // ss
     //
     this.ss.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.ss.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripStatusLabel1,
         this.tspbHashProgess,
         this.tslHashProgressValue
     });
     this.ss.Location   = new System.Drawing.Point(0, 62);
     this.ss.Name       = "ss";
     this.ss.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
     this.ss.Size       = new System.Drawing.Size(853, 22);
     this.ss.TabIndex   = 0;
     this.ss.Text       = "statusStrip1";
     //
     // toolStripStatusLabel1
     //
     this.toolStripStatusLabel1.Name      = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size      = new System.Drawing.Size(838, 17);
     this.toolStripStatusLabel1.Spring    = true;
     this.toolStripStatusLabel1.Text      = "Ready";
     this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tspbHashProgess
     //
     this.tspbHashProgess.Name    = "tspbHashProgess";
     this.tspbHashProgess.Size    = new System.Drawing.Size(100, 16);
     this.tspbHashProgess.Visible = false;
     //
     // tslHashProgressValue
     //
     this.tslHashProgressValue.Name    = "tslHashProgressValue";
     this.tslHashProgressValue.Size    = new System.Drawing.Size(31, 17);
     this.tslHashProgressValue.Text    = "{0}%";
     this.tslHashProgressValue.Visible = false;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 340);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(853, 3);
     this.panel1.TabIndex  = 3;
     //
     // bgwMD5
     //
     this.bgwMD5.WorkerReportsProgress      = true;
     this.bgwMD5.WorkerSupportsCancellation = true;
     this.bgwMD5.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwMD5_DoWork);
     this.bgwMD5.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwMD5_ProgressChanged);
     this.bgwMD5.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwMD5_RunWorkerCompleted);
     //
     // bgwSHA1
     //
     this.bgwSHA1.WorkerReportsProgress      = true;
     this.bgwSHA1.WorkerSupportsCancellation = true;
     this.bgwSHA1.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwSHA1_DoWork);
     this.bgwSHA1.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwSHA1_ProgressChanged);
     this.bgwSHA1.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwSHA1_RunWorkerCompleted);
     //
     // bgwSHA256
     //
     this.bgwSHA256.WorkerReportsProgress      = true;
     this.bgwSHA256.WorkerSupportsCancellation = true;
     this.bgwSHA256.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwSHA256_DoWork);
     this.bgwSHA256.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwSHA256_ProgressChanged);
     this.bgwSHA256.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwSHA256_RunWorkerCompleted);
     //
     // bgwSHA384
     //
     this.bgwSHA384.WorkerReportsProgress      = true;
     this.bgwSHA384.WorkerSupportsCancellation = true;
     this.bgwSHA384.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwSHA384_DoWork);
     this.bgwSHA384.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwSHA384_ProgressChanged);
     this.bgwSHA384.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwSHA384_RunWorkerCompleted);
     //
     // bgwSHA512
     //
     this.bgwSHA512.WorkerReportsProgress      = true;
     this.bgwSHA512.WorkerSupportsCancellation = true;
     this.bgwSHA512.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwSHA512_DoWork);
     this.bgwSHA512.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwSHA512_ProgressChanged);
     this.bgwSHA512.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwSHA512_RunWorkerCompleted);
     //
     // bgwRIPEMD160
     //
     this.bgwRIPEMD160.WorkerReportsProgress      = true;
     this.bgwRIPEMD160.WorkerSupportsCancellation = true;
     this.bgwRIPEMD160.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwRIPEMD160_DoWork);
     this.bgwRIPEMD160.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwRIPEMD160_ProgressChanged);
     this.bgwRIPEMD160.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwRIPEMD160_RunWorkerCompleted);
     //
     // HashFile
     //
     this.CancelButton = this.kbtnCancel;
     this.ClientSize   = new System.Drawing.Size(853, 427);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "HashFile";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Hash File";
     this.Load           += new System.EventHandler(this.HashFile_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     this.ctxResult.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kcbxHashAlgorithimType)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     this.ss.ResumeLayout(false);
     this.ss.PerformLayout();
     this.ResumeLayout(false);
 }
Example #29
0
        public Info(KryptonPanel updatePanel)
        {
            updatePanel.Dock = DockStyle.Fill;
            updatePanel.Controls.Clear();

            FlowLayoutPanel flp1 = new FlowLayoutPanel();

            flp1.Dock          = DockStyle.Fill;
            flp1.FlowDirection = FlowDirection.LeftToRight;
            flp1.Padding       = new Padding(20);

            KryptonLabel lblNetworks = new KryptonLabel();

            lblNetworks.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;
            lblNetworks.Text = "Networks";

            KryptonComboBox         cboNetworks = new KryptonComboBox();
            List <NetworkInterface> interfaces  = new List <NetworkInterface>();

            foreach (NetworkInterface nic in NetworkInterface.GetAllNetworkInterfaces())
            {
                if (nic.OperationalStatus == OperationalStatus.Up)
                {
                    cboNetworks.Items.Add(nic.Name);
                    interfaces.Add(nic);
                }
            }

            cboNetworks.SelectedIndex = 0;
            NetworkInterface selectedNic = interfaces[0];

            KryptonLabel lblMACAddress = new KryptonLabel();

            lblMACAddress.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;
            lblMACAddress.Text = "Network Address";

            KryptonLabel lblMACAddressValue = new KryptonLabel();

            lblMACAddressValue.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;
            lblMACAddressValue.Text = selectedNic.GetPhysicalAddress().ToString();

            KryptonLabel lblIP = new KryptonLabel();

            lblIP.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;
            lblIP.Text = "IP Address";

            KryptonLabel lblIPValue = new KryptonLabel();

            lblIPValue.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;

            foreach (UnicastIPAddressInformation ip in selectedNic.GetIPProperties().UnicastAddresses)
            {
                if (ip.Address.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork)
                {
                    lblIPValue.Text = ip.Address.ToString();
                    break;
                }
            }

            KryptonLabel lblSpeed = new KryptonLabel();

            lblSpeed.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;
            lblSpeed.Text = "Speed";

            KryptonLabel lblSpeedValue = new KryptonLabel();

            lblSpeedValue.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;
            lblSpeedValue.Text = selectedNic.Speed.ToString() + " bits";

            KryptonLabel lblMachineName = new KryptonLabel();

            lblMachineName.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;
            lblMachineName.Text = "Machine Name";

            KryptonLabel lblMachineNameValue = new KryptonLabel();

            lblMachineNameValue.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;
            lblMachineNameValue.Text = System.Windows.Forms.SystemInformation.ComputerName;

            KryptonLabel lblUserName = new KryptonLabel();

            lblUserName.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;
            lblUserName.Text = "Username";

            KryptonLabel lblUserNameValue = new KryptonLabel();

            lblUserNameValue.StateCommon.ShortText.TextV = PaletteRelativeAlign.Near;
            lblUserNameValue.Text = System.Windows.Forms.SystemInformation.UserName;

            flp1.Controls.Add(lblNetworks);
            flp1.Controls.Add(cboNetworks);
            flp1.SetFlowBreak(cboNetworks, true);
            flp1.Controls.Add(lblMACAddress);
            flp1.Controls.Add(lblMACAddressValue);
            flp1.SetFlowBreak(lblMACAddressValue, true);
            flp1.Controls.Add(lblIP);
            flp1.Controls.Add(lblIPValue);
            flp1.SetFlowBreak(lblIPValue, true);
            flp1.Controls.Add(lblSpeed);
            flp1.Controls.Add(lblSpeedValue);
            flp1.SetFlowBreak(lblSpeedValue, true);
            flp1.Controls.Add(lblMachineName);
            flp1.Controls.Add(lblMachineNameValue);
            flp1.SetFlowBreak(lblMachineNameValue, true);
            flp1.Controls.Add(lblUserName);
            flp1.Controls.Add(lblUserNameValue);

            updatePanel.Controls.Add(flp1);
        }
Example #30
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ThemeSelector));
     this.kpnlButtons           = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnRestoreToDefaults = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCancel            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnOk           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnApply        = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.pnlSeperator     = new System.Windows.Forms.Panel();
     this.kpnlContent      = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnTry          = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnBrowse       = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ktxtCustomPath   = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.klblCustomTheme  = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kcmbPaletteTheme = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel1    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.palette          = new ComponentFactory.Krypton.Toolkit.KryptonPalette(this.components);
     this.kman             = new ComponentFactory.Krypton.Toolkit.KryptonManager(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.kpnlButtons)).BeginInit();
     this.kpnlButtons.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlContent)).BeginInit();
     this.kpnlContent.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbPaletteTheme)).BeginInit();
     this.SuspendLayout();
     //
     // kpnlButtons
     //
     this.kpnlButtons.Controls.Add(this.kbtnRestoreToDefaults);
     this.kpnlButtons.Controls.Add(this.kbtnCancel);
     this.kpnlButtons.Controls.Add(this.kbtnOk);
     this.kpnlButtons.Controls.Add(this.kbtnApply);
     this.kpnlButtons.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kpnlButtons.Location = new System.Drawing.Point(0, 146);
     this.kpnlButtons.Name     = "kpnlButtons";
     this.kpnlButtons.Size     = new System.Drawing.Size(785, 54);
     this.kpnlButtons.TabIndex = 1;
     //
     // kbtnRestoreToDefaults
     //
     this.kbtnRestoreToDefaults.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnRestoreToDefaults.Enabled  = false;
     this.kbtnRestoreToDefaults.Location = new System.Drawing.Point(16, 12);
     this.kbtnRestoreToDefaults.Name     = "kbtnRestoreToDefaults";
     this.kbtnRestoreToDefaults.Size     = new System.Drawing.Size(163, 30);
     this.kbtnRestoreToDefaults.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnRestoreToDefaults.TabIndex    = 3;
     this.kbtnRestoreToDefaults.Values.Text = "&Restore to Defaults";
     this.kbtnRestoreToDefaults.Click      += new System.EventHandler(this.kbtnRestoreToDefaults_Click);
     //
     // kbtnCancel
     //
     this.kbtnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(587, 12);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(90, 30);
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex    = 2;
     this.kbtnCancel.Values.Text = "&Cancel";
     this.kbtnCancel.Click      += new System.EventHandler(this.kbtnCancel_Click);
     //
     // kbtnOk
     //
     this.kbtnOk.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnOk.Location = new System.Drawing.Point(491, 12);
     this.kbtnOk.Name     = "kbtnOk";
     this.kbtnOk.Size     = new System.Drawing.Size(90, 30);
     this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.TabIndex    = 1;
     this.kbtnOk.Values.Text = "&Ok";
     this.kbtnOk.Click      += new System.EventHandler(this.kbtnOk_Click);
     //
     // kbtnApply
     //
     this.kbtnApply.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnApply.Enabled  = false;
     this.kbtnApply.Location = new System.Drawing.Point(683, 12);
     this.kbtnApply.Name     = "kbtnApply";
     this.kbtnApply.Size     = new System.Drawing.Size(90, 30);
     this.kbtnApply.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnApply.TabIndex    = 0;
     this.kbtnApply.Values.Text = "A&pply";
     this.kbtnApply.Click      += new System.EventHandler(this.kbtnApply_Click);
     //
     // pnlSeperator
     //
     this.pnlSeperator.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.pnlSeperator.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.pnlSeperator.Location  = new System.Drawing.Point(0, 143);
     this.pnlSeperator.Name      = "pnlSeperator";
     this.pnlSeperator.Size      = new System.Drawing.Size(785, 3);
     this.pnlSeperator.TabIndex  = 3;
     //
     // kpnlContent
     //
     this.kpnlContent.Controls.Add(this.kbtnTry);
     this.kpnlContent.Controls.Add(this.kbtnBrowse);
     this.kpnlContent.Controls.Add(this.ktxtCustomPath);
     this.kpnlContent.Controls.Add(this.klblCustomTheme);
     this.kpnlContent.Controls.Add(this.kcmbPaletteTheme);
     this.kpnlContent.Controls.Add(this.kryptonLabel1);
     this.kpnlContent.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kpnlContent.Location = new System.Drawing.Point(0, 0);
     this.kpnlContent.Name     = "kpnlContent";
     this.kpnlContent.Size     = new System.Drawing.Size(785, 143);
     this.kpnlContent.TabIndex = 4;
     //
     // kbtnTry
     //
     this.kbtnTry.AutoSize     = true;
     this.kbtnTry.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnTry.Enabled      = false;
     this.kbtnTry.Location     = new System.Drawing.Point(733, 87);
     this.kbtnTry.Name         = "kbtnTry";
     this.kbtnTry.Size         = new System.Drawing.Size(34, 30);
     this.kbtnTry.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnTry.TabIndex    = 5;
     this.kbtnTry.Values.Text = "T&ry";
     this.kbtnTry.Click      += new System.EventHandler(this.kbtnTry_Click);
     //
     // kbtnBrowse
     //
     this.kbtnBrowse.AutoSize     = true;
     this.kbtnBrowse.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnBrowse.Enabled      = false;
     this.kbtnBrowse.Location     = new System.Drawing.Point(744, 51);
     this.kbtnBrowse.Name         = "kbtnBrowse";
     this.kbtnBrowse.Size         = new System.Drawing.Size(23, 30);
     this.kbtnBrowse.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowse.TabIndex    = 4;
     this.kbtnBrowse.Values.Text = ".&..";
     this.kbtnBrowse.Click      += new System.EventHandler(this.kbtnBrowse_Click);
     //
     // ktxtCustomPath
     //
     this.ktxtCustomPath.Enabled  = false;
     this.ktxtCustomPath.Location = new System.Drawing.Point(248, 52);
     this.ktxtCustomPath.Name     = "ktxtCustomPath";
     this.ktxtCustomPath.Size     = new System.Drawing.Size(490, 29);
     this.ktxtCustomPath.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktxtCustomPath.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktxtCustomPath.TabIndex     = 3;
     this.ktxtCustomPath.TextChanged += new System.EventHandler(this.ktxtCustomPath_TextChanged);
     //
     // klblCustomTheme
     //
     this.klblCustomTheme.Enabled  = false;
     this.klblCustomTheme.Location = new System.Drawing.Point(38, 55);
     this.klblCustomTheme.Name     = "klblCustomTheme";
     this.klblCustomTheme.Size     = new System.Drawing.Size(204, 26);
     this.klblCustomTheme.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblCustomTheme.TabIndex    = 2;
     this.klblCustomTheme.Values.Text = "Custom Theme File Path:";
     //
     // kcmbPaletteTheme
     //
     this.kcmbPaletteTheme.DropDownWidth  = 216;
     this.kcmbPaletteTheme.IntegralHeight = false;
     this.kcmbPaletteTheme.Location       = new System.Drawing.Point(147, 12);
     this.kcmbPaletteTheme.Name           = "kcmbPaletteTheme";
     this.kcmbPaletteTheme.Size           = new System.Drawing.Size(216, 27);
     this.kcmbPaletteTheme.StateCommon.ComboBox.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbPaletteTheme.StateCommon.ComboBox.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcmbPaletteTheme.TabIndex     = 1;
     this.kcmbPaletteTheme.TextChanged += new System.EventHandler(this.kcmbPaletteTheme_TextChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(12, 12);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(128, 26);
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 0;
     this.kryptonLabel1.Values.Text = "Palette Theme:";
     //
     // palette
     //
     this.palette.CustomisedKryptonPaletteFilePath = null;
     //
     // ThemeSelector
     //
     this.ClientSize = new System.Drawing.Size(785, 200);
     this.Controls.Add(this.kpnlContent);
     this.Controls.Add(this.pnlSeperator);
     this.Controls.Add(this.kpnlButtons);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ThemeSelector";
     this.Text            = "Palette Theme Selector";
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.ThemeSelector_FormClosing);
     this.Load           += new System.EventHandler(this.ThemeSelector_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kpnlButtons)).EndInit();
     this.kpnlButtons.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kpnlContent)).EndInit();
     this.kpnlContent.ResumeLayout(false);
     this.kpnlContent.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbPaletteTheme)).EndInit();
     this.ResumeLayout(false);
 }
    public string fill_combo_withauthority(string dept_or_table, KryptonComboBox cmb, DataTable dt)
    {
        string str = "";

        if (MODULE.glb["GROUPID"] == "1")
        {
            str = "HOD";
            if (dept_or_table.ToUpper() == "DEPT")
            {
                fillcombo(cmb, dt);
                cmb.SelectedIndex = cmb.FindString(MODULE.glb["DEPTNAME"].ToString());
                cmb.Enabled       = false;
            }
            else if (dept_or_table.ToUpper() == "TABLE")
            {
                fillcombo_withall(cmb, dt);
            }
        }
        if (MODULE.glb["GROUPID"] == "2")
        {
            str = "TABLE";
            if (dept_or_table.ToUpper() == "DEPT")
            {
                fillcombo(cmb, dt);
                cmb.SelectedIndex = cmb.FindString(MODULE.glb["DEPTNAME"].ToString());
                cmb.Enabled       = false;
            }
            else if (dept_or_table.ToUpper() == "TABLE")
            {
                fillcombo(cmb, dt);
                cmb.SelectedIndex = cmb.FindString(MODULE.glb["TABLENAME"].ToString());
                cmb.Enabled       = false;
            }
        }

        if (MODULE.glb["GROUPID"] == "3")
        {
            str = "HIGHERLEVELADMIN";
            fillcombo_withall(cmb, dt);
        }

        if (MODULE.glb["GROUPID"] == "4")
        {
            str = "HIGHERLEVEL";
            fillcombo_withall(cmb, dt);
        }
        if (MODULE.glb["GROUPID"] == "5")
        {
            str = "INWARDOPERATOR";
            fillcombo_withall(cmb, dt);
        }
        if (MODULE.glb["GROUPID"] == "6")
        {
            str = "SOFTWAREADMIN";
            fillcombo_withall(cmb, dt);
        }
        if (MODULE.glb["GROUPID"] == "7")
        {
            str = "DEVELOPER";
        }
        return(str);
    }
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomPaletteColours));
     this.kryptonPanel1                    = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnOk                           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ktbHexadecimal                   = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.kryptonLabel1                    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnUtiliseAsBaseColour          = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnSaveColour                   = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.panel1                           = new System.Windows.Forms.Panel();
     this.kryptonPanel2                    = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.klstCustomColourSelector         = new ComponentFactory.Krypton.Toolkit.KryptonListBox();
     this.pbxColourPreview                 = new System.Windows.Forms.PictureBox();
     this.kcmbNormalTextSystemColours      = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel22                   = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kcmbNormalTextColour             = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel21                   = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnGenerateNormalTextBlueValue  = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.knumBlueChannelValue             = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel4                    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnGenerateNormalTextGreenValue = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.knumGreenChannelValue            = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel3                    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnGenerateNormalTextRedValue   = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.knumRedChannelValue              = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel2                    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pbxColourPreview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextSystemColours)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextColour)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnUtiliseAsBaseColour);
     this.kryptonPanel1.Controls.Add(this.kbtnSaveColour);
     this.kryptonPanel1.Controls.Add(this.kbtnOk);
     this.kryptonPanel1.Controls.Add(this.ktbHexadecimal);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 341);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(1027, 50);
     this.kryptonPanel1.TabIndex = 1;
     //
     // kbtnOk
     //
     this.kbtnOk.AutoSize     = true;
     this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnOk.Location     = new System.Drawing.Point(983, 8);
     this.kbtnOk.Name         = "kbtnOk";
     this.kbtnOk.Size         = new System.Drawing.Size(32, 30);
     this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.TabIndex    = 101;
     this.kbtnOk.Values.Text = "&Ok";
     //
     // ktbHexadecimal
     //
     this.ktbHexadecimal.Hint      = "#000000";
     this.ktbHexadecimal.Location  = new System.Drawing.Point(534, 9);
     this.ktbHexadecimal.MaxLength = 7;
     this.ktbHexadecimal.Name      = "ktbHexadecimal";
     this.ktbHexadecimal.Size      = new System.Drawing.Size(176, 29);
     this.ktbHexadecimal.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktbHexadecimal.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktbHexadecimal.TabIndex  = 85;
     this.ktbHexadecimal.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(356, 11);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(172, 26);
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 84;
     this.kryptonLabel1.Values.Text = "Hexadecimal Colour:";
     //
     // kbtnUtiliseAsBaseColour
     //
     this.kbtnUtiliseAsBaseColour.AutoSize     = true;
     this.kbtnUtiliseAsBaseColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnUtiliseAsBaseColour.Location     = new System.Drawing.Point(183, 8);
     this.kbtnUtiliseAsBaseColour.Name         = "kbtnUtiliseAsBaseColour";
     this.kbtnUtiliseAsBaseColour.Size         = new System.Drawing.Size(167, 30);
     this.kbtnUtiliseAsBaseColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnUtiliseAsBaseColour.TabIndex    = 103;
     this.kbtnUtiliseAsBaseColour.Values.Text = "Utilise as Base &Colour";
     //
     // kbtnSaveColour
     //
     this.kbtnSaveColour.AutoSize     = true;
     this.kbtnSaveColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnSaveColour.Enabled      = false;
     this.kbtnSaveColour.Location     = new System.Drawing.Point(12, 8);
     this.kbtnSaveColour.Name         = "kbtnSaveColour";
     this.kbtnSaveColour.Size         = new System.Drawing.Size(165, 30);
     this.kbtnSaveColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSaveColour.TabIndex    = 102;
     this.kbtnSaveColour.Values.Text = "Save &Selected Colour";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 338);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(1027, 3);
     this.panel1.TabIndex  = 3;
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.klstCustomColourSelector);
     this.kryptonPanel2.Controls.Add(this.pbxColourPreview);
     this.kryptonPanel2.Controls.Add(this.kcmbNormalTextSystemColours);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel22);
     this.kryptonPanel2.Controls.Add(this.kcmbNormalTextColour);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel21);
     this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextBlueValue);
     this.kryptonPanel2.Controls.Add(this.knumBlueChannelValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel4);
     this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextGreenValue);
     this.kryptonPanel2.Controls.Add(this.knumGreenChannelValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel3);
     this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextRedValue);
     this.kryptonPanel2.Controls.Add(this.knumRedChannelValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel2);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(1027, 338);
     this.kryptonPanel2.TabIndex = 4;
     //
     // klstCustomColourSelector
     //
     this.klstCustomColourSelector.HorizontalScrollbar = true;
     this.klstCustomColourSelector.Location            = new System.Drawing.Point(12, 12);
     this.klstCustomColourSelector.Name   = "klstCustomColourSelector";
     this.klstCustomColourSelector.Size   = new System.Drawing.Size(335, 257);
     this.klstCustomColourSelector.Sorted = true;
     this.klstCustomColourSelector.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klstCustomColourSelector.TabIndex = 156;
     //
     // pbxColourPreview
     //
     this.pbxColourPreview.BackColor   = System.Drawing.Color.Transparent;
     this.pbxColourPreview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pbxColourPreview.Location    = new System.Drawing.Point(353, 12);
     this.pbxColourPreview.Name        = "pbxColourPreview";
     this.pbxColourPreview.Size        = new System.Drawing.Size(650, 180);
     this.pbxColourPreview.TabIndex    = 155;
     this.pbxColourPreview.TabStop     = false;
     //
     // kcmbNormalTextSystemColours
     //
     this.kcmbNormalTextSystemColours.DropDownStyle  = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcmbNormalTextSystemColours.DropDownWidth  = 173;
     this.kcmbNormalTextSystemColours.IntegralHeight = false;
     this.kcmbNormalTextSystemColours.Location       = new System.Drawing.Point(830, 215);
     this.kcmbNormalTextSystemColours.Name           = "kcmbNormalTextSystemColours";
     this.kcmbNormalTextSystemColours.Size           = new System.Drawing.Size(173, 27);
     this.kcmbNormalTextSystemColours.StateCommon.ComboBox.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbNormalTextSystemColours.StateCommon.ComboBox.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcmbNormalTextSystemColours.TabIndex = 154;
     //
     // kryptonLabel22
     //
     this.kryptonLabel22.Location = new System.Drawing.Point(688, 216);
     this.kryptonLabel22.Name     = "kryptonLabel22";
     this.kryptonLabel22.Size     = new System.Drawing.Size(136, 26);
     this.kryptonLabel22.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel22.TabIndex    = 153;
     this.kryptonLabel22.Values.Text = "System Colours:";
     //
     // kcmbNormalTextColour
     //
     this.kcmbNormalTextColour.DropDownStyle  = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcmbNormalTextColour.DropDownWidth  = 173;
     this.kcmbNormalTextColour.IntegralHeight = false;
     this.kcmbNormalTextColour.Location       = new System.Drawing.Point(509, 215);
     this.kcmbNormalTextColour.Name           = "kcmbNormalTextColour";
     this.kcmbNormalTextColour.Size           = new System.Drawing.Size(173, 27);
     this.kcmbNormalTextColour.StateCommon.ComboBox.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbNormalTextColour.StateCommon.ComboBox.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcmbNormalTextColour.TabIndex = 152;
     //
     // kryptonLabel21
     //
     this.kryptonLabel21.Location = new System.Drawing.Point(353, 216);
     this.kryptonLabel21.Name     = "kryptonLabel21";
     this.kryptonLabel21.Size     = new System.Drawing.Size(150, 26);
     this.kryptonLabel21.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel21.TabIndex    = 151;
     this.kryptonLabel21.Values.Text = "Standard Colours:";
     //
     // kbtnGenerateNormalTextBlueValue
     //
     this.kbtnGenerateNormalTextBlueValue.AutoSize     = true;
     this.kbtnGenerateNormalTextBlueValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateNormalTextBlueValue.Location     = new System.Drawing.Point(843, 282);
     this.kbtnGenerateNormalTextBlueValue.Name         = "kbtnGenerateNormalTextBlueValue";
     this.kbtnGenerateNormalTextBlueValue.Size         = new System.Drawing.Size(114, 30);
     this.kbtnGenerateNormalTextBlueValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateNormalTextBlueValue.TabIndex    = 150;
     this.kbtnGenerateNormalTextBlueValue.Values.Text = "Generate &Blue";
     //
     // knumBlueChannelValue
     //
     this.knumBlueChannelValue.Location = new System.Drawing.Point(717, 282);
     this.knumBlueChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumBlueChannelValue.Name = "knumBlueChannelValue";
     this.knumBlueChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumBlueChannelValue.StateCommon.Back.Color1    = System.Drawing.Color.Blue;
     this.knumBlueChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumBlueChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumBlueChannelValue.StateCommon.Content.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumBlueChannelValue.TabIndex = 149;
     //
     // kryptonLabel4
     //
     this.kryptonLabel4.Location = new System.Drawing.Point(649, 284);
     this.kryptonLabel4.Name     = "kryptonLabel4";
     this.kryptonLabel4.Size     = new System.Drawing.Size(50, 26);
     this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel4.TabIndex    = 148;
     this.kryptonLabel4.Values.Text = "Blue:";
     //
     // kbtnGenerateNormalTextGreenValue
     //
     this.kbtnGenerateNormalTextGreenValue.AutoSize     = true;
     this.kbtnGenerateNormalTextGreenValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateNormalTextGreenValue.Location     = new System.Drawing.Point(517, 284);
     this.kbtnGenerateNormalTextGreenValue.Name         = "kbtnGenerateNormalTextGreenValue";
     this.kbtnGenerateNormalTextGreenValue.Size         = new System.Drawing.Size(126, 30);
     this.kbtnGenerateNormalTextGreenValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateNormalTextGreenValue.TabIndex    = 147;
     this.kbtnGenerateNormalTextGreenValue.Values.Text = "Generate &Green";
     //
     // knumGreenChannelValue
     //
     this.knumGreenChannelValue.Location = new System.Drawing.Point(391, 284);
     this.knumGreenChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumGreenChannelValue.Name = "knumGreenChannelValue";
     this.knumGreenChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumGreenChannelValue.StateCommon.Back.Color1   = System.Drawing.Color.Lime;
     this.knumGreenChannelValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumGreenChannelValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumGreenChannelValue.TabIndex = 146;
     //
     // kryptonLabel3
     //
     this.kryptonLabel3.Location = new System.Drawing.Point(323, 284);
     this.kryptonLabel3.Name     = "kryptonLabel3";
     this.kryptonLabel3.Size     = new System.Drawing.Size(62, 26);
     this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.TabIndex    = 145;
     this.kryptonLabel3.Values.Text = "Green:";
     //
     // kbtnGenerateNormalTextRedValue
     //
     this.kbtnGenerateNormalTextRedValue.AutoSize     = true;
     this.kbtnGenerateNormalTextRedValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateNormalTextRedValue.Location     = new System.Drawing.Point(206, 284);
     this.kbtnGenerateNormalTextRedValue.Name         = "kbtnGenerateNormalTextRedValue";
     this.kbtnGenerateNormalTextRedValue.Size         = new System.Drawing.Size(111, 30);
     this.kbtnGenerateNormalTextRedValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateNormalTextRedValue.TabIndex    = 144;
     this.kbtnGenerateNormalTextRedValue.Values.Text = "Generate &Red";
     //
     // knumRedChannelValue
     //
     this.knumRedChannelValue.Location = new System.Drawing.Point(80, 283);
     this.knumRedChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumRedChannelValue.Name = "knumRedChannelValue";
     this.knumRedChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumRedChannelValue.StateCommon.Back.Color1    = System.Drawing.Color.Red;
     this.knumRedChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumRedChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumRedChannelValue.StateCommon.Content.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumRedChannelValue.TabIndex = 143;
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(12, 284);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(46, 26);
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex    = 142;
     this.kryptonLabel2.Values.Text = "Red:";
     //
     // CustomPaletteColours
     //
     this.ClientSize = new System.Drawing.Size(1027, 391);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "CustomPaletteColours";
     this.ShowInTaskbar   = false;
     this.Text            = "Define Custom Palette Colours";
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pbxColourPreview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextSystemColours)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextColour)).EndInit();
     this.ResumeLayout(false);
 }
 public void setauthority(KryptonComboBox cmb, bool enable, int index)
 {
     cmb.Enabled       = enable;
     cmb.SelectedIndex = index;
 }
Example #34
0
 private void InitializeComponent()
 {
     this.kryptonPanel1    = new Krypton.Toolkit.KryptonPanel();
     this.kbtnCancel       = new Krypton.Toolkit.KryptonButton();
     this.kbtnOk           = new Krypton.Toolkit.KryptonButton();
     this.kryptonComboBox2 = new Krypton.Toolkit.KryptonComboBox();
     this.kcmbFileType     = new Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel5    = new Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel4    = new Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel3    = new Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel2    = new Krypton.Toolkit.KryptonLabel();
     this.ktxtFileName     = new Krypton.Toolkit.KryptonTextBox();
     this.kryptonListBox2  = new Krypton.Toolkit.KryptonListBox();
     this.kryptonListBox1  = new Krypton.Toolkit.KryptonListBox();
     this.kryptonLabel1    = new Krypton.Toolkit.KryptonLabel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonComboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbFileType)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnCancel);
     this.kryptonPanel1.Controls.Add(this.kbtnOk);
     this.kryptonPanel1.Controls.Add(this.kryptonComboBox2);
     this.kryptonPanel1.Controls.Add(this.kcmbFileType);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel5);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel4);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel3);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel2);
     this.kryptonPanel1.Controls.Add(this.ktxtFileName);
     this.kryptonPanel1.Controls.Add(this.kryptonListBox2);
     this.kryptonPanel1.Controls.Add(this.kryptonListBox1);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(449, 292);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnCancel
     //
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(347, 43);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(90, 25);
     this.kbtnCancel.TabIndex     = 10;
     this.kbtnCancel.Values.Text  = "&Cancel";
     this.kbtnCancel.Click       += new System.EventHandler(this.kbtnCancel_Click);
     //
     // kbtnOk
     //
     this.kbtnOk.Location    = new System.Drawing.Point(347, 12);
     this.kbtnOk.Name        = "kbtnOk";
     this.kbtnOk.Size        = new System.Drawing.Size(90, 25);
     this.kbtnOk.TabIndex    = 1;
     this.kbtnOk.Values.Text = "&OK";
     this.kbtnOk.Click      += new System.EventHandler(this.kbtnOk_Click);
     //
     // kryptonComboBox2
     //
     this.kryptonComboBox2.DrawMode       = System.Windows.Forms.DrawMode.OwnerDrawVariable;
     this.kryptonComboBox2.DropDownWidth  = 162;
     this.kryptonComboBox2.IntegralHeight = false;
     this.kryptonComboBox2.Location       = new System.Drawing.Point(180, 254);
     this.kryptonComboBox2.Name           = "kryptonComboBox2";
     this.kryptonComboBox2.Size           = new System.Drawing.Size(162, 21);
     this.kryptonComboBox2.StateCommon.ComboBox.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kryptonComboBox2.TabIndex = 9;
     this.kryptonComboBox2.Text     = "kryptonComboBox2";
     //
     // kcmbFileType
     //
     this.kcmbFileType.DrawMode       = System.Windows.Forms.DrawMode.OwnerDrawVariable;
     this.kcmbFileType.DropDownStyle  = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcmbFileType.DropDownWidth  = 162;
     this.kcmbFileType.IntegralHeight = false;
     this.kcmbFileType.Location       = new System.Drawing.Point(12, 255);
     this.kcmbFileType.Name           = "kcmbFileType";
     this.kcmbFileType.Size           = new System.Drawing.Size(162, 21);
     this.kcmbFileType.StateCommon.ComboBox.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcmbFileType.TabIndex = 8;
     //
     // kryptonLabel5
     //
     this.kryptonLabel5.Location    = new System.Drawing.Point(12, 228);
     this.kryptonLabel5.Name        = "kryptonLabel5";
     this.kryptonLabel5.Size        = new System.Drawing.Size(103, 20);
     this.kryptonLabel5.TabIndex    = 7;
     this.kryptonLabel5.Values.Text = "List Files of &Type:";
     //
     // kryptonLabel4
     //
     this.kryptonLabel4.Location    = new System.Drawing.Point(180, 228);
     this.kryptonLabel4.Name        = "kryptonLabel4";
     this.kryptonLabel4.Size        = new System.Drawing.Size(47, 20);
     this.kryptonLabel4.TabIndex    = 6;
     this.kryptonLabel4.Values.Text = "Dri&ves:";
     //
     // kryptonLabel3
     //
     this.kryptonLabel3.Location    = new System.Drawing.Point(180, 41);
     this.kryptonLabel3.Name        = "kryptonLabel3";
     this.kryptonLabel3.Size        = new System.Drawing.Size(25, 20);
     this.kryptonLabel3.TabIndex    = 5;
     this.kryptonLabel3.Values.Text = "{0}";
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location    = new System.Drawing.Point(180, 12);
     this.kryptonLabel2.Name        = "kryptonLabel2";
     this.kryptonLabel2.Size        = new System.Drawing.Size(72, 20);
     this.kryptonLabel2.TabIndex    = 4;
     this.kryptonLabel2.Values.Text = "&Directories:";
     //
     // ktxtFileName
     //
     this.ktxtFileName.Hint     = "File name...";
     this.ktxtFileName.Location = new System.Drawing.Point(12, 38);
     this.ktxtFileName.Name     = "ktxtFileName";
     this.ktxtFileName.Size     = new System.Drawing.Size(162, 23);
     this.ktxtFileName.TabIndex = 3;
     //
     // kryptonListBox2
     //
     this.kryptonListBox2.Location = new System.Drawing.Point(180, 67);
     this.kryptonListBox2.Name     = "kryptonListBox2";
     this.kryptonListBox2.Size     = new System.Drawing.Size(162, 155);
     this.kryptonListBox2.TabIndex = 2;
     //
     // kryptonListBox1
     //
     this.kryptonListBox1.Location = new System.Drawing.Point(12, 67);
     this.kryptonListBox1.Name     = "kryptonListBox1";
     this.kryptonListBox1.Size     = new System.Drawing.Size(162, 155);
     this.kryptonListBox1.TabIndex = 1;
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location    = new System.Drawing.Point(12, 12);
     this.kryptonLabel1.Name        = "kryptonLabel1";
     this.kryptonLabel1.Size        = new System.Drawing.Size(68, 20);
     this.kryptonLabel1.TabIndex    = 0;
     this.kryptonLabel1.Values.Text = "File &Name:";
     //
     // KryptonWindowsThreeOpenFileDialog
     //
     this.AcceptButton = this.kbtnOk;
     this.CancelButton = this.kbtnCancel;
     this.ClientSize   = new System.Drawing.Size(449, 292);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonWindowsThreeOpenFileDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonComboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbFileType)).EndInit();
     this.ResumeLayout(false);
 }
Example #35
0
 private void InitializeComponent()
 {
     this.kryptonPanel1      = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.txtKey             = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.label5             = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.txtColour          = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.tentativeCheckBox  = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox();
     this.descriptionTextBox = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.addItem            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.endMinute          = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.endHour            = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.startMinute        = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.startHour          = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.label1             = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.label2             = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.lblDescription     = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.datePicker         = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
     this.lblDate            = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel1      = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.endMinute)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.startMinute)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.txtKey);
     this.kryptonPanel1.Controls.Add(this.label5);
     this.kryptonPanel1.Controls.Add(this.txtColour);
     this.kryptonPanel1.Controls.Add(this.tentativeCheckBox);
     this.kryptonPanel1.Controls.Add(this.descriptionTextBox);
     this.kryptonPanel1.Controls.Add(this.addItem);
     this.kryptonPanel1.Controls.Add(this.endMinute);
     this.kryptonPanel1.Controls.Add(this.endHour);
     this.kryptonPanel1.Controls.Add(this.startMinute);
     this.kryptonPanel1.Controls.Add(this.startHour);
     this.kryptonPanel1.Controls.Add(this.label1);
     this.kryptonPanel1.Controls.Add(this.label2);
     this.kryptonPanel1.Controls.Add(this.lblDescription);
     this.kryptonPanel1.Controls.Add(this.datePicker);
     this.kryptonPanel1.Controls.Add(this.lblDate);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(776, 150);
     this.kryptonPanel1.TabIndex = 0;
     //
     // txtKey
     //
     this.txtKey.Location = new System.Drawing.Point(456, 109);
     this.txtKey.Name     = "txtKey";
     this.txtKey.Size     = new System.Drawing.Size(189, 29);
     this.txtKey.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtKey.TabIndex = 51;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(405, 112);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(45, 26);
     this.label5.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.TabIndex    = 50;
     this.label5.Values.Text = "Key:";
     //
     // txtColour
     //
     this.txtColour.Location = new System.Drawing.Point(197, 109);
     this.txtColour.Name     = "txtColour";
     this.txtColour.Size     = new System.Drawing.Size(202, 29);
     this.txtColour.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtColour.TabIndex = 49;
     //
     // tentativeCheckBox
     //
     this.tentativeCheckBox.Location = new System.Drawing.Point(12, 112);
     this.tentativeCheckBox.Name     = "tentativeCheckBox";
     this.tentativeCheckBox.Size     = new System.Drawing.Size(99, 26);
     this.tentativeCheckBox.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tentativeCheckBox.TabIndex    = 35;
     this.tentativeCheckBox.Values.Text = "Tentative?";
     //
     // descriptionTextBox
     //
     this.descriptionTextBox.Location = new System.Drawing.Point(123, 65);
     this.descriptionTextBox.Name     = "descriptionTextBox";
     this.descriptionTextBox.Size     = new System.Drawing.Size(522, 29);
     this.descriptionTextBox.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.descriptionTextBox.TabIndex = 48;
     //
     // addItem
     //
     this.addItem.Location = new System.Drawing.Point(651, 12);
     this.addItem.Name     = "addItem";
     this.addItem.Size     = new System.Drawing.Size(113, 126);
     this.addItem.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.addItem.TabIndex    = 30;
     this.addItem.Values.Text = "Add Item";
     this.addItem.Click      += new System.EventHandler(this.addItem_Click);
     //
     // endMinute
     //
     this.endMinute.DropDownWidth     = 40;
     this.endMinute.FormattingEnabled = true;
     this.endMinute.Items.AddRange(new object[] {
         "00",
         "30"
     });
     this.endMinute.Location = new System.Drawing.Point(586, 12);
     this.endMinute.Name     = "endMinute";
     this.endMinute.Size     = new System.Drawing.Size(59, 27);
     this.endMinute.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.endMinute.TabIndex = 47;
     this.endMinute.Text     = "00";
     //
     // endHour
     //
     this.endHour.Location = new System.Drawing.Point(534, 12);
     this.endHour.Maximum  = new decimal(new int[] {
         23,
         0,
         0,
         0
     });
     this.endHour.Name = "endHour";
     this.endHour.Size = new System.Drawing.Size(46, 28);
     this.endHour.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.endHour.TabIndex = 46;
     //
     // startMinute
     //
     this.startMinute.DropDownWidth     = 40;
     this.startMinute.FormattingEnabled = true;
     this.startMinute.Items.AddRange(new object[] {
         "00",
         "30"
     });
     this.startMinute.Location = new System.Drawing.Point(375, 12);
     this.startMinute.Name     = "startMinute";
     this.startMinute.Size     = new System.Drawing.Size(59, 27);
     this.startMinute.StateCommon.ComboBox.Content.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.startMinute.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.startMinute.TabIndex     = 45;
     this.startMinute.Text         = "00";
     this.startMinute.TextChanged += new System.EventHandler(this.startMinute_TextChanged);
     //
     // startHour
     //
     this.startHour.Location = new System.Drawing.Point(323, 12);
     this.startHour.Maximum  = new decimal(new int[] {
         23,
         0,
         0,
         0
     });
     this.startHour.Name = "startHour";
     this.startHour.Size = new System.Drawing.Size(46, 28);
     this.startHour.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.startHour.TabIndex      = 31;
     this.startHour.ValueChanged += new System.EventHandler(this.startHour_ValueChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(220, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(97, 26);
     this.label1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.TabIndex    = 44;
     this.label1.Values.Text = "Start Time:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(440, 12);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(88, 26);
     this.label2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.TabIndex    = 43;
     this.label2.Values.Text = "End Time:";
     //
     // lblDescription
     //
     this.lblDescription.Location = new System.Drawing.Point(12, 65);
     this.lblDescription.Name     = "lblDescription";
     this.lblDescription.Size     = new System.Drawing.Size(105, 26);
     this.lblDescription.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDescription.TabIndex    = 42;
     this.lblDescription.Values.Text = "Description:";
     //
     // datePicker
     //
     this.datePicker.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.datePicker.Location = new System.Drawing.Point(71, 12);
     this.datePicker.Name     = "datePicker";
     this.datePicker.Size     = new System.Drawing.Size(143, 27);
     this.datePicker.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.datePicker.TabIndex = 41;
     //
     // lblDate
     //
     this.lblDate.Location = new System.Drawing.Point(12, 12);
     this.lblDate.Name     = "lblDate";
     this.lblDate.Size     = new System.Drawing.Size(53, 26);
     this.lblDate.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDate.TabIndex    = 40;
     this.lblDate.Values.Text = "Date:";
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(123, 112);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(68, 26);
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 38;
     this.kryptonLabel1.Values.Text = "Colour:";
     //
     // AddAppointment
     //
     this.ClientSize = new System.Drawing.Size(776, 150);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "AddAppointment";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Add New Appointment";
     this.Load           += new System.EventHandler(this.AddAppointment_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.endMinute)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.startMinute)).EndInit();
     this.ResumeLayout(false);
 }
Example #36
0
 private static void ChargeCompte(KryptonComboBox cb)
 {
     cb.DataSource = Compte.ChargeTout();
 }
 private void InitializeComponent()
 {
     this.kryptonPanel1      = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.pnlSplitter        = new System.Windows.Forms.Panel();
     this.kryptonPanel2      = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnCancel         = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnRun            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnBrowse         = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.klblMessage        = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.pbxInfoboxIcon     = new System.Windows.Forms.PictureBox();
     this.kryptonLabel1      = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.ktxtUserInput      = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.kcmbPath           = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.pbxApplicationIcon = new System.Windows.Forms.PictureBox();
     this.kbtnLocate         = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pbxInfoboxIcon)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbPath)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbxApplicationIcon)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnLocate);
     this.kryptonPanel1.Controls.Add(this.kbtnRun);
     this.kryptonPanel1.Controls.Add(this.kbtnBrowse);
     this.kryptonPanel1.Controls.Add(this.kbtnCancel);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 212);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(696, 49);
     this.kryptonPanel1.TabIndex = 0;
     //
     // pnlSplitter
     //
     this.pnlSplitter.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.pnlSplitter.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.pnlSplitter.Location  = new System.Drawing.Point(0, 209);
     this.pnlSplitter.Name      = "pnlSplitter";
     this.pnlSplitter.Size      = new System.Drawing.Size(696, 3);
     this.pnlSplitter.TabIndex  = 2;
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.ktxtUserInput);
     this.kryptonPanel2.Controls.Add(this.pbxApplicationIcon);
     this.kryptonPanel2.Controls.Add(this.kcmbPath);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel2.Controls.Add(this.pbxInfoboxIcon);
     this.kryptonPanel2.Controls.Add(this.klblMessage);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(696, 209);
     this.kryptonPanel2.TabIndex = 3;
     //
     // kbtnCancel
     //
     this.kbtnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnCancel.AutoSize     = true;
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(500, 9);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(89, 28);
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex    = 5;
     this.kbtnCancel.Values.Text = "C&ancel";
     this.kbtnCancel.Click      += new System.EventHandler(this.kbtnCancel_Click);
     //
     // kbtnRun
     //
     this.kbtnRun.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnRun.AutoSize     = true;
     this.kbtnRun.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnRun.Enabled      = false;
     this.kbtnRun.Location     = new System.Drawing.Point(405, 9);
     this.kbtnRun.Name         = "kbtnRun";
     this.kbtnRun.Size         = new System.Drawing.Size(89, 28);
     this.kbtnRun.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnRun.TabIndex    = 6;
     this.kbtnRun.Values.Text = "&Run";
     this.kbtnRun.Click      += new System.EventHandler(this.kbtnRun_Click);
     //
     // kbtnBrowse
     //
     this.kbtnBrowse.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnBrowse.AutoSize     = true;
     this.kbtnBrowse.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnBrowse.Location     = new System.Drawing.Point(595, 9);
     this.kbtnBrowse.Name         = "kbtnBrowse";
     this.kbtnBrowse.Size         = new System.Drawing.Size(89, 28);
     this.kbtnBrowse.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowse.TabIndex    = 7;
     this.kbtnBrowse.Values.Text = "&Browse...";
     this.kbtnBrowse.Click      += new System.EventHandler(this.kbtnBrowse_Click);
     //
     // klblMessage
     //
     this.klblMessage.AutoSize = false;
     this.klblMessage.Location = new System.Drawing.Point(82, 12);
     this.klblMessage.Name     = "klblMessage";
     this.klblMessage.Size     = new System.Drawing.Size(602, 126);
     this.klblMessage.StateCommon.ShortText.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblMessage.StateCommon.ShortText.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.klblMessage.StateCommon.ShortText.TextV = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblMessage.TabIndex    = 2;
     this.klblMessage.Values.Text = "Type the name of a application, file, directory or internet\r\nresource, and Window" +
                                    "s will open it for you.";
     //
     // pbxInfoboxIcon
     //
     this.pbxInfoboxIcon.BackColor = System.Drawing.Color.Transparent;
     this.pbxInfoboxIcon.Image     = global::ExtendedDialogs.Properties.Resources.Run_481;
     this.pbxInfoboxIcon.Location  = new System.Drawing.Point(12, 49);
     this.pbxInfoboxIcon.Name      = "pbxInfoboxIcon";
     this.pbxInfoboxIcon.Size      = new System.Drawing.Size(48, 48);
     this.pbxInfoboxIcon.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pbxInfoboxIcon.TabIndex  = 3;
     this.pbxInfoboxIcon.TabStop   = false;
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(12, 165);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(52, 26);
     this.kryptonLabel1.StateCommon.ShortText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.StateCommon.ShortText.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kryptonLabel1.StateCommon.ShortText.TextV = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.kryptonLabel1.TabIndex    = 4;
     this.kryptonLabel1.Values.Text = "Path:";
     //
     // ktxtUserInput
     //
     this.ktxtUserInput.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.ktxtUserInput.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.FileSystem;
     this.ktxtUserInput.Location           = new System.Drawing.Point(70, 163);
     this.ktxtUserInput.Name = "ktxtUserInput";
     this.ktxtUserInput.Size = new System.Drawing.Size(576, 27);
     this.ktxtUserInput.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktxtUserInput.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktxtUserInput.TabIndex     = 5;
     this.ktxtUserInput.TextChanged += new System.EventHandler(this.ktxtUserInput_TextChanged);
     //
     // kcmbPath
     //
     this.kcmbPath.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.kcmbPath.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.FileSystem;
     this.kcmbPath.DropDownWidth      = 241;
     this.kcmbPath.IntegralHeight     = false;
     this.kcmbPath.Location           = new System.Drawing.Point(70, 165);
     this.kcmbPath.Name = "kcmbPath";
     this.kcmbPath.Size = new System.Drawing.Size(576, 25);
     this.kcmbPath.StateCommon.ComboBox.Content.Font       = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbPath.StateCommon.ComboBox.Content.TextH      = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcmbPath.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbPath.TabIndex     = 6;
     this.kcmbPath.TextUpdate  += new System.EventHandler(this.kmbPath_TextUpdate);
     this.kcmbPath.TextChanged += new System.EventHandler(this.kmbPath_TextChanged);
     //
     // pbxApplicationIcon
     //
     this.pbxApplicationIcon.BackColor = System.Drawing.Color.Transparent;
     this.pbxApplicationIcon.Location  = new System.Drawing.Point(652, 165);
     this.pbxApplicationIcon.Name      = "pbxApplicationIcon";
     this.pbxApplicationIcon.Size      = new System.Drawing.Size(32, 32);
     this.pbxApplicationIcon.TabIndex  = 7;
     this.pbxApplicationIcon.TabStop   = false;
     //
     // kbtnLocate
     //
     this.kbtnLocate.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnLocate.AutoSize     = true;
     this.kbtnLocate.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnLocate.Enabled      = false;
     this.kbtnLocate.Location     = new System.Drawing.Point(12, 9);
     this.kbtnLocate.Name         = "kbtnLocate";
     this.kbtnLocate.Size         = new System.Drawing.Size(89, 28);
     this.kbtnLocate.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnLocate.TabIndex    = 8;
     this.kbtnLocate.Values.Text = "L&ocate";
     this.kbtnLocate.Click      += new System.EventHandler(this.kbtnLocate_Click);
     //
     // KryptonProcessRunner
     //
     this.ClientSize = new System.Drawing.Size(696, 261);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.pnlSplitter);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonProcessRunner";
     this.Load           += new System.EventHandler(this.KryptonProcessRunner_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pbxInfoboxIcon)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbPath)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbxApplicationIcon)).EndInit();
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomColours));
     this.kryptonPanel1           = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnUtiliseAsBaseColour = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnOk                           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnSaveColour                   = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.panel1                           = new System.Windows.Forms.Panel();
     this.kryptonPanel2                    = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.klstCustomColourSelector         = new ComponentFactory.Krypton.Toolkit.KryptonListBox();
     this.pbxColourPreview                 = new System.Windows.Forms.PictureBox();
     this.kcmbNormalTextSystemColours      = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel22                   = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kcmbNormalTextColour             = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel21                   = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnGenerateNormalTextBlueValue  = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.knumBlueChannelValue             = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel4                    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnGenerateNormalTextGreenValue = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.knumGreenChannelValue            = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel3                    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnGenerateNormalTextRedValue   = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.knumRedChannelValue              = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel2                    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pbxColourPreview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextSystemColours)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextColour)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnUtiliseAsBaseColour);
     this.kryptonPanel1.Controls.Add(this.kbtnOk);
     this.kryptonPanel1.Controls.Add(this.kbtnSaveColour);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 338);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(1023, 49);
     this.kryptonPanel1.TabIndex = 1;
     //
     // kbtnUtiliseAsBaseColour
     //
     this.kbtnUtiliseAsBaseColour.AutoSize     = true;
     this.kbtnUtiliseAsBaseColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnUtiliseAsBaseColour.Location     = new System.Drawing.Point(183, 7);
     this.kbtnUtiliseAsBaseColour.Name         = "kbtnUtiliseAsBaseColour";
     this.kbtnUtiliseAsBaseColour.Size         = new System.Drawing.Size(167, 30);
     this.kbtnUtiliseAsBaseColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnUtiliseAsBaseColour.TabIndex    = 79;
     this.kbtnUtiliseAsBaseColour.Values.Text = "Utilise as Base &Colour";
     this.kbtnUtiliseAsBaseColour.Click      += new System.EventHandler(this.kbtnUtiliseAsBaseColour_Click);
     //
     // kbtnOk
     //
     this.kbtnOk.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnOk.AutoSize     = true;
     this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnOk.Location     = new System.Drawing.Point(979, 7);
     this.kbtnOk.Name         = "kbtnOk";
     this.kbtnOk.Size         = new System.Drawing.Size(32, 30);
     this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.TabIndex    = 77;
     this.kbtnOk.Values.Text = "O&k";
     this.kbtnOk.Click      += new System.EventHandler(this.kbtnOk_Click);
     //
     // kbtnSaveColour
     //
     this.kbtnSaveColour.AutoSize     = true;
     this.kbtnSaveColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnSaveColour.Enabled      = false;
     this.kbtnSaveColour.Location     = new System.Drawing.Point(12, 7);
     this.kbtnSaveColour.Name         = "kbtnSaveColour";
     this.kbtnSaveColour.Size         = new System.Drawing.Size(165, 30);
     this.kbtnSaveColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSaveColour.TabIndex    = 78;
     this.kbtnSaveColour.Values.Text = "Save &Selected Colour";
     this.kbtnSaveColour.Click      += new System.EventHandler(this.kbtnSaveColour_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 336);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(1023, 2);
     this.panel1.TabIndex  = 2;
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.klstCustomColourSelector);
     this.kryptonPanel2.Controls.Add(this.pbxColourPreview);
     this.kryptonPanel2.Controls.Add(this.kcmbNormalTextSystemColours);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel22);
     this.kryptonPanel2.Controls.Add(this.kcmbNormalTextColour);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel21);
     this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextBlueValue);
     this.kryptonPanel2.Controls.Add(this.knumBlueChannelValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel4);
     this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextGreenValue);
     this.kryptonPanel2.Controls.Add(this.knumGreenChannelValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel3);
     this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextRedValue);
     this.kryptonPanel2.Controls.Add(this.knumRedChannelValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel2);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(1023, 336);
     this.kryptonPanel2.TabIndex = 3;
     //
     // klstCustomColourSelector
     //
     this.klstCustomColourSelector.Items.AddRange(new object[] {
         "Alternative Normal Text Colour",
         "Border Colour",
         "Custom Colour Five",
         "Custom Colour Four",
         "Custom Colour One",
         "Custom Colour Three",
         "Custom Colour Two",
         "Custom Text Colour Five",
         "Custom Text Colour Four",
         "Custom Text Colour One",
         "Custom Text Colour Two",
         "Custom TextColour Three",
         "Disabled Control Colour",
         "Disabled Text Colour",
         "Focused Text Colour",
         "Link Hover Text Colour",
         "Link Normal Text Colour",
         "Link Visited Text Colour",
         "Menu Text Colour",
         "Normal Text Colour",
         "Pressed Text Colour",
         "Ribbon Tab Text Colour",
         "Status Text Colour"
     });
     this.klstCustomColourSelector.Location = new System.Drawing.Point(12, 12);
     this.klstCustomColourSelector.Name     = "klstCustomColourSelector";
     this.klstCustomColourSelector.Size     = new System.Drawing.Size(335, 257);
     this.klstCustomColourSelector.Sorted   = true;
     this.klstCustomColourSelector.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klstCustomColourSelector.TabIndex = 156;
     //
     // pbxColourPreview
     //
     this.pbxColourPreview.BackColor         = System.Drawing.Color.Transparent;
     this.pbxColourPreview.BorderStyle       = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pbxColourPreview.Location          = new System.Drawing.Point(353, 12);
     this.pbxColourPreview.Name              = "pbxColourPreview";
     this.pbxColourPreview.Size              = new System.Drawing.Size(650, 180);
     this.pbxColourPreview.TabIndex          = 155;
     this.pbxColourPreview.TabStop           = false;
     this.pbxColourPreview.BackColorChanged += new System.EventHandler(this.pbxColourPreview_BackColorChanged);
     this.pbxColourPreview.Click            += new System.EventHandler(this.pbxColourPreview_Click);
     this.pbxColourPreview.MouseEnter       += new System.EventHandler(this.pbxColourPreview_MouseEnter);
     //
     // kcmbNormalTextSystemColours
     //
     this.kcmbNormalTextSystemColours.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcmbNormalTextSystemColours.DropDownWidth = 173;
     this.kcmbNormalTextSystemColours.Location      = new System.Drawing.Point(830, 215);
     this.kcmbNormalTextSystemColours.Name          = "kcmbNormalTextSystemColours";
     this.kcmbNormalTextSystemColours.Size          = new System.Drawing.Size(173, 27);
     this.kcmbNormalTextSystemColours.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbNormalTextSystemColours.TabIndex              = 154;
     this.kcmbNormalTextSystemColours.SelectedIndexChanged += new System.EventHandler(this.kcmbNormalTextSystemColours_SelectedIndexChanged);
     //
     // kryptonLabel22
     //
     this.kryptonLabel22.Location = new System.Drawing.Point(688, 216);
     this.kryptonLabel22.Name     = "kryptonLabel22";
     this.kryptonLabel22.Size     = new System.Drawing.Size(136, 26);
     this.kryptonLabel22.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel22.TabIndex    = 153;
     this.kryptonLabel22.Values.Text = "System Colours:";
     //
     // kcmbNormalTextColour
     //
     this.kcmbNormalTextColour.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcmbNormalTextColour.DropDownWidth = 173;
     this.kcmbNormalTextColour.Location      = new System.Drawing.Point(509, 215);
     this.kcmbNormalTextColour.Name          = "kcmbNormalTextColour";
     this.kcmbNormalTextColour.Size          = new System.Drawing.Size(173, 27);
     this.kcmbNormalTextColour.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbNormalTextColour.TabIndex              = 152;
     this.kcmbNormalTextColour.SelectedIndexChanged += new System.EventHandler(this.kcmbNormalTextColour_SelectedIndexChanged);
     //
     // kryptonLabel21
     //
     this.kryptonLabel21.Location = new System.Drawing.Point(353, 216);
     this.kryptonLabel21.Name     = "kryptonLabel21";
     this.kryptonLabel21.Size     = new System.Drawing.Size(150, 26);
     this.kryptonLabel21.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel21.TabIndex    = 151;
     this.kryptonLabel21.Values.Text = "Standard Colours:";
     //
     // kbtnGenerateNormalTextBlueValue
     //
     this.kbtnGenerateNormalTextBlueValue.AutoSize     = true;
     this.kbtnGenerateNormalTextBlueValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateNormalTextBlueValue.Location     = new System.Drawing.Point(843, 282);
     this.kbtnGenerateNormalTextBlueValue.Name         = "kbtnGenerateNormalTextBlueValue";
     this.kbtnGenerateNormalTextBlueValue.Size         = new System.Drawing.Size(114, 30);
     this.kbtnGenerateNormalTextBlueValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateNormalTextBlueValue.TabIndex    = 150;
     this.kbtnGenerateNormalTextBlueValue.Values.Text = "Generate &Blue";
     this.kbtnGenerateNormalTextBlueValue.Click      += new System.EventHandler(this.kbtnGenerateNormalTextBlueValue_Click);
     //
     // knumBlueChannelValue
     //
     this.knumBlueChannelValue.Location = new System.Drawing.Point(717, 282);
     this.knumBlueChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumBlueChannelValue.Name = "knumBlueChannelValue";
     this.knumBlueChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumBlueChannelValue.StateCommon.Back.Color1    = System.Drawing.Color.Blue;
     this.knumBlueChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumBlueChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumBlueChannelValue.TabIndex      = 149;
     this.knumBlueChannelValue.ValueChanged += new System.EventHandler(this.knumBlueChannelValue_ValueChanged);
     //
     // kryptonLabel4
     //
     this.kryptonLabel4.Location = new System.Drawing.Point(649, 284);
     this.kryptonLabel4.Name     = "kryptonLabel4";
     this.kryptonLabel4.Size     = new System.Drawing.Size(50, 26);
     this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel4.TabIndex    = 148;
     this.kryptonLabel4.Values.Text = "Blue:";
     //
     // kbtnGenerateNormalTextGreenValue
     //
     this.kbtnGenerateNormalTextGreenValue.AutoSize     = true;
     this.kbtnGenerateNormalTextGreenValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateNormalTextGreenValue.Location     = new System.Drawing.Point(517, 284);
     this.kbtnGenerateNormalTextGreenValue.Name         = "kbtnGenerateNormalTextGreenValue";
     this.kbtnGenerateNormalTextGreenValue.Size         = new System.Drawing.Size(126, 30);
     this.kbtnGenerateNormalTextGreenValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateNormalTextGreenValue.TabIndex    = 147;
     this.kbtnGenerateNormalTextGreenValue.Values.Text = "Generate &Green";
     this.kbtnGenerateNormalTextGreenValue.Click      += new System.EventHandler(this.kbtnGenerateNormalTextGreenValue_Click);
     //
     // knumGreenChannelValue
     //
     this.knumGreenChannelValue.Location = new System.Drawing.Point(391, 284);
     this.knumGreenChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumGreenChannelValue.Name = "knumGreenChannelValue";
     this.knumGreenChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumGreenChannelValue.StateCommon.Back.Color1  = System.Drawing.Color.Lime;
     this.knumGreenChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumGreenChannelValue.TabIndex      = 146;
     this.knumGreenChannelValue.ValueChanged += new System.EventHandler(this.knumGreenChannelValue_ValueChanged);
     //
     // kryptonLabel3
     //
     this.kryptonLabel3.Location = new System.Drawing.Point(323, 284);
     this.kryptonLabel3.Name     = "kryptonLabel3";
     this.kryptonLabel3.Size     = new System.Drawing.Size(62, 26);
     this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.TabIndex    = 145;
     this.kryptonLabel3.Values.Text = "Green:";
     //
     // kbtnGenerateNormalTextRedValue
     //
     this.kbtnGenerateNormalTextRedValue.AutoSize     = true;
     this.kbtnGenerateNormalTextRedValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateNormalTextRedValue.Location     = new System.Drawing.Point(206, 284);
     this.kbtnGenerateNormalTextRedValue.Name         = "kbtnGenerateNormalTextRedValue";
     this.kbtnGenerateNormalTextRedValue.Size         = new System.Drawing.Size(111, 30);
     this.kbtnGenerateNormalTextRedValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateNormalTextRedValue.TabIndex    = 144;
     this.kbtnGenerateNormalTextRedValue.Values.Text = "Generate &Red";
     this.kbtnGenerateNormalTextRedValue.Click      += new System.EventHandler(this.kbtnGenerateNormalTextRedValue_Click);
     //
     // knumRedChannelValue
     //
     this.knumRedChannelValue.Location = new System.Drawing.Point(80, 283);
     this.knumRedChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumRedChannelValue.Name = "knumRedChannelValue";
     this.knumRedChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumRedChannelValue.StateCommon.Back.Color1    = System.Drawing.Color.Red;
     this.knumRedChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumRedChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumRedChannelValue.TabIndex      = 143;
     this.knumRedChannelValue.ValueChanged += new System.EventHandler(this.knumRedChannelValue_ValueChanged);
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(12, 284);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(46, 26);
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex    = 142;
     this.kryptonLabel2.Values.Text = "Red:";
     //
     // CustomColours
     //
     this.AcceptButton = this.kbtnOk;
     this.ClientSize   = new System.Drawing.Size(1023, 387);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "CustomColours";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Define Custom Colours";
     this.Load           += new System.EventHandler(this.CustomColours_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pbxColourPreview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextSystemColours)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextColour)).EndInit();
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColourContrastTool));
     this.kryptonPanel1               = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnExport                  = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnImportValues            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnSaveValues              = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnOk                      = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kchkUpdateValues            = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox();
     this.kryptonPanel2               = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kcbCustomColourTwoSelector  = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kcbCustomColourOneSelector  = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.cbxContrastColourTwoPreview = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.kryptonLabel3               = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.cbxContrastColourOnePreview = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.kryptonLabel2               = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel6               = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.knudBlueChannelValue        = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.ktxtHexValue                = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.cwChosenColour              = new ExtendedControls.ExtendedToolkit.Controls.Colours.Controls.ColourWheelExtended();
     this.klblHexValue                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.knudGreenChannelValue       = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel1               = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.knudRedChannelValue         = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.knumAlpaValue               = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel10              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel8               = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel9               = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.panel1                      = new System.Windows.Forms.Panel();
     this.kbtnGenerate                = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcbCustomColourTwoSelector)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcbCustomColourOneSelector)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxContrastColourTwoPreview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxContrastColourOnePreview)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnGenerate);
     this.kryptonPanel1.Controls.Add(this.kbtnExport);
     this.kryptonPanel1.Controls.Add(this.kbtnImportValues);
     this.kryptonPanel1.Controls.Add(this.kbtnSaveValues);
     this.kryptonPanel1.Controls.Add(this.kbtnOk);
     this.kryptonPanel1.Controls.Add(this.kchkUpdateValues);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 755);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(988, 55);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnExport
     //
     this.kbtnExport.AutoSize     = true;
     this.kbtnExport.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnExport.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kbtnExport.Enabled      = false;
     this.kbtnExport.Location     = new System.Drawing.Point(605, 13);
     this.kbtnExport.Name         = "kbtnExport";
     this.kbtnExport.Size         = new System.Drawing.Size(110, 30);
     this.kbtnExport.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnExport.TabIndex    = 64;
     this.kbtnExport.Values.Text = "E&xport Values";
     //
     // kbtnImportValues
     //
     this.kbtnImportValues.AutoSize     = true;
     this.kbtnImportValues.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnImportValues.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kbtnImportValues.Location     = new System.Drawing.Point(721, 13);
     this.kbtnImportValues.Name         = "kbtnImportValues";
     this.kbtnImportValues.Size         = new System.Drawing.Size(113, 30);
     this.kbtnImportValues.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnImportValues.TabIndex    = 63;
     this.kbtnImportValues.Values.Text = "&Import Values";
     //
     // kbtnSaveValues
     //
     this.kbtnSaveValues.AutoSize     = true;
     this.kbtnSaveValues.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnSaveValues.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kbtnSaveValues.Location     = new System.Drawing.Point(840, 13);
     this.kbtnSaveValues.Name         = "kbtnSaveValues";
     this.kbtnSaveValues.Size         = new System.Drawing.Size(98, 30);
     this.kbtnSaveValues.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSaveValues.TabIndex    = 62;
     this.kbtnSaveValues.Values.Text = "&Save Values";
     //
     // kbtnOk
     //
     this.kbtnOk.AutoSize     = true;
     this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kbtnOk.Location     = new System.Drawing.Point(944, 13);
     this.kbtnOk.Name         = "kbtnOk";
     this.kbtnOk.Size         = new System.Drawing.Size(32, 30);
     this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.TabIndex    = 61;
     this.kbtnOk.Values.Text = "O&k";
     this.kbtnOk.Click      += new System.EventHandler(this.KbtnOk_Click);
     //
     // kchkUpdateValues
     //
     this.kchkUpdateValues.Location = new System.Drawing.Point(12, 17);
     this.kchkUpdateValues.Name     = "kchkUpdateValues";
     this.kchkUpdateValues.Size     = new System.Drawing.Size(185, 26);
     this.kchkUpdateValues.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kchkUpdateValues.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kchkUpdateValues.TabIndex        = 0;
     this.kchkUpdateValues.Values.Text     = "Always &Update Values";
     this.kchkUpdateValues.CheckedChanged += new System.EventHandler(this.KchkUpdateValues_CheckedChanged);
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kcbCustomColourTwoSelector);
     this.kryptonPanel2.Controls.Add(this.kcbCustomColourOneSelector);
     this.kryptonPanel2.Controls.Add(this.cbxContrastColourTwoPreview);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel3);
     this.kryptonPanel2.Controls.Add(this.cbxContrastColourOnePreview);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel2);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel6);
     this.kryptonPanel2.Controls.Add(this.knudBlueChannelValue);
     this.kryptonPanel2.Controls.Add(this.ktxtHexValue);
     this.kryptonPanel2.Controls.Add(this.cwChosenColour);
     this.kryptonPanel2.Controls.Add(this.klblHexValue);
     this.kryptonPanel2.Controls.Add(this.knudGreenChannelValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel2.Controls.Add(this.knudRedChannelValue);
     this.kryptonPanel2.Controls.Add(this.knumAlpaValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel10);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel8);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel9);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(988, 755);
     this.kryptonPanel2.TabIndex = 1;
     //
     // kcbCustomColourTwoSelector
     //
     this.kcbCustomColourTwoSelector.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.kcbCustomColourTwoSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcbCustomColourTwoSelector.DropDownWidth = 435;
     this.kcbCustomColourTwoSelector.Location      = new System.Drawing.Point(638, 711);
     this.kcbCustomColourTwoSelector.Name          = "kcbCustomColourTwoSelector";
     this.kcbCustomColourTwoSelector.Size          = new System.Drawing.Size(338, 27);
     this.kcbCustomColourTwoSelector.StateCommon.ComboBox.Content.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbCustomColourTwoSelector.StateCommon.ComboBox.Content.TextH      = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcbCustomColourTwoSelector.StateCommon.Item.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbCustomColourTwoSelector.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbCustomColourTwoSelector.TabIndex              = 58;
     this.kcbCustomColourTwoSelector.SelectedIndexChanged += new System.EventHandler(this.KcbCustomColourTwoSelector_SelectedIndexChanged);
     //
     // kcbCustomColourOneSelector
     //
     this.kcbCustomColourOneSelector.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.kcbCustomColourOneSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcbCustomColourOneSelector.DropDownWidth = 435;
     this.kcbCustomColourOneSelector.Location      = new System.Drawing.Point(638, 333);
     this.kcbCustomColourOneSelector.Name          = "kcbCustomColourOneSelector";
     this.kcbCustomColourOneSelector.Size          = new System.Drawing.Size(338, 27);
     this.kcbCustomColourOneSelector.StateCommon.ComboBox.Content.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbCustomColourOneSelector.StateCommon.ComboBox.Content.TextH      = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcbCustomColourOneSelector.StateCommon.Item.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbCustomColourOneSelector.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbCustomColourOneSelector.TabIndex              = 57;
     this.kcbCustomColourOneSelector.SelectedIndexChanged += new System.EventHandler(this.KcbCustomColourOneSelector_SelectedIndexChanged);
     //
     // cbxContrastColourTwoPreview
     //
     this.cbxContrastColourTwoPreview.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxContrastColourTwoPreview.BackColor   = System.Drawing.Color.Black;
     this.cbxContrastColourTwoPreview.Location    = new System.Drawing.Point(673, 391);
     this.cbxContrastColourTwoPreview.Name        = "cbxContrastColourTwoPreview";
     this.cbxContrastColourTwoPreview.Size        = new System.Drawing.Size(303, 291);
     this.cbxContrastColourTwoPreview.TabIndex    = 56;
     this.cbxContrastColourTwoPreview.TabStop     = false;
     this.cbxContrastColourTwoPreview.MouseEnter += new System.EventHandler(this.CbxContrastColourTwoPreview_MouseEnter);
     //
     // kryptonLabel3
     //
     this.kryptonLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonLabel3.Location = new System.Drawing.Point(424, 522);
     this.kryptonLabel3.Name     = "kryptonLabel3";
     this.kryptonLabel3.Size     = new System.Drawing.Size(211, 33);
     this.kryptonLabel3.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.TabIndex    = 55;
     this.kryptonLabel3.Values.Text = "Contrast Colour #2:";
     //
     // cbxContrastColourOnePreview
     //
     this.cbxContrastColourOnePreview.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxContrastColourOnePreview.BackColor   = System.Drawing.Color.Black;
     this.cbxContrastColourOnePreview.Location    = new System.Drawing.Point(673, 12);
     this.cbxContrastColourOnePreview.Name        = "cbxContrastColourOnePreview";
     this.cbxContrastColourOnePreview.Size        = new System.Drawing.Size(303, 291);
     this.cbxContrastColourOnePreview.TabIndex    = 54;
     this.cbxContrastColourOnePreview.TabStop     = false;
     this.cbxContrastColourOnePreview.MouseEnter += new System.EventHandler(this.CbxContrastColourOnePreview_MouseEnter);
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonLabel2.Location = new System.Drawing.Point(424, 143);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(211, 33);
     this.kryptonLabel2.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex    = 53;
     this.kryptonLabel2.Values.Text = "Contrast Colour #1:";
     //
     // kryptonLabel6
     //
     this.kryptonLabel6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)));
     this.kryptonLabel6.Location = new System.Drawing.Point(78, 713);
     this.kryptonLabel6.Name     = "kryptonLabel6";
     this.kryptonLabel6.Size     = new System.Drawing.Size(26, 33);
     this.kryptonLabel6.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel6.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel6.TabIndex    = 52;
     this.kryptonLabel6.Values.Text = "#";
     //
     // knudBlueChannelValue
     //
     this.knudBlueChannelValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                              | System.Windows.Forms.AnchorStyles.Left)));
     this.knudBlueChannelValue.DecimalPlaces = 99;
     this.knudBlueChannelValue.Location      = new System.Drawing.Point(98, 631);
     this.knudBlueChannelValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knudBlueChannelValue.Name = "knudBlueChannelValue";
     this.knudBlueChannelValue.Size = new System.Drawing.Size(120, 32);
     this.knudBlueChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.Blue;
     this.knudBlueChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knudBlueChannelValue.StateCommon.Content.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knudBlueChannelValue.TabIndex      = 34;
     this.knudBlueChannelValue.ValueChanged += new System.EventHandler(this.KnudBlueChannelValue_ValueChanged);
     //
     // ktxtHexValue
     //
     this.ktxtHexValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)));
     this.ktxtHexValue.Hint      = "FFFFFF";
     this.ktxtHexValue.Location  = new System.Drawing.Point(110, 717);
     this.ktxtHexValue.MaxLength = 6;
     this.ktxtHexValue.Name      = "ktxtHexValue";
     this.ktxtHexValue.Size      = new System.Drawing.Size(158, 29);
     this.ktxtHexValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktxtHexValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktxtHexValue.TabIndex     = 51;
     this.ktxtHexValue.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.ktxtHexValue.TextChanged += new System.EventHandler(this.KtxtHexValue_TextChanged);
     //
     // cwChosenColour
     //
     this.cwChosenColour.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Left)));
     this.cwChosenColour.BackColor      = System.Drawing.Color.Transparent;
     this.cwChosenColour.Location       = new System.Drawing.Point(12, 12);
     this.cwChosenColour.Name           = "cwChosenColour";
     this.cwChosenColour.Size           = new System.Drawing.Size(368, 373);
     this.cwChosenColour.TabIndex       = 3;
     this.cwChosenColour.ColourChanged += new System.EventHandler(this.CwChosenColour_ColourChanged);
     //
     // klblHexValue
     //
     this.klblHexValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)));
     this.klblHexValue.Location = new System.Drawing.Point(12, 711);
     this.klblHexValue.Name     = "klblHexValue";
     this.klblHexValue.Size     = new System.Drawing.Size(60, 33);
     this.klblHexValue.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblHexValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblHexValue.TabIndex    = 50;
     this.klblHexValue.Values.Text = "Hex:";
     //
     // knudGreenChannelValue
     //
     this.knudGreenChannelValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Left)));
     this.knudGreenChannelValue.DecimalPlaces = 99;
     this.knudGreenChannelValue.Location      = new System.Drawing.Point(98, 551);
     this.knudGreenChannelValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knudGreenChannelValue.Name = "knudGreenChannelValue";
     this.knudGreenChannelValue.Size = new System.Drawing.Size(120, 32);
     this.knudGreenChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.Green;
     this.knudGreenChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knudGreenChannelValue.StateCommon.Content.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knudGreenChannelValue.TabIndex      = 33;
     this.knudGreenChannelValue.ValueChanged += new System.EventHandler(this.KnudGreenChannelValue_ValueChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)));
     this.kryptonLabel1.Location = new System.Drawing.Point(12, 391);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(79, 33);
     this.kryptonLabel1.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 27;
     this.kryptonLabel1.Values.Text = "Alpha:";
     //
     // knudRedChannelValue
     //
     this.knudRedChannelValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                             | System.Windows.Forms.AnchorStyles.Left)));
     this.knudRedChannelValue.DecimalPlaces = 99;
     this.knudRedChannelValue.Location      = new System.Drawing.Point(98, 472);
     this.knudRedChannelValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knudRedChannelValue.Name = "knudRedChannelValue";
     this.knudRedChannelValue.Size = new System.Drawing.Size(120, 32);
     this.knudRedChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.Red;
     this.knudRedChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knudRedChannelValue.StateCommon.Content.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knudRedChannelValue.TabIndex      = 32;
     this.knudRedChannelValue.ValueChanged += new System.EventHandler(this.KnudRedChannelValue_ValueChanged);
     //
     // knumAlpaValue
     //
     this.knumAlpaValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)));
     this.knumAlpaValue.DecimalPlaces = 99;
     this.knumAlpaValue.Location      = new System.Drawing.Point(97, 391);
     this.knumAlpaValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumAlpaValue.Name = "knumAlpaValue";
     this.knumAlpaValue.Size = new System.Drawing.Size(120, 32);
     this.knumAlpaValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumAlpaValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knumAlpaValue.TabIndex      = 28;
     this.knumAlpaValue.ValueChanged += new System.EventHandler(this.KnumAlpaValue_ValueChanged);
     //
     // kryptonLabel10
     //
     this.kryptonLabel10.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Left)));
     this.kryptonLabel10.Location = new System.Drawing.Point(12, 472);
     this.kryptonLabel10.Name     = "kryptonLabel10";
     this.kryptonLabel10.Size     = new System.Drawing.Size(59, 33);
     this.kryptonLabel10.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel10.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel10.TabIndex    = 31;
     this.kryptonLabel10.Values.Text = "Red:";
     //
     // kryptonLabel8
     //
     this.kryptonLabel8.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)));
     this.kryptonLabel8.Location = new System.Drawing.Point(12, 631);
     this.kryptonLabel8.Name     = "kryptonLabel8";
     this.kryptonLabel8.Size     = new System.Drawing.Size(64, 33);
     this.kryptonLabel8.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel8.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel8.TabIndex    = 29;
     this.kryptonLabel8.Values.Text = "Blue:";
     //
     // kryptonLabel9
     //
     this.kryptonLabel9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)));
     this.kryptonLabel9.Location = new System.Drawing.Point(12, 551);
     this.kryptonLabel9.Name     = "kryptonLabel9";
     this.kryptonLabel9.Size     = new System.Drawing.Size(80, 33);
     this.kryptonLabel9.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel9.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel9.TabIndex    = 30;
     this.kryptonLabel9.Values.Text = "Green:";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 752);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(988, 3);
     this.panel1.TabIndex  = 2;
     //
     // kbtnGenerate
     //
     this.kbtnGenerate.AutoSize     = true;
     this.kbtnGenerate.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerate.Location     = new System.Drawing.Point(402, 13);
     this.kbtnGenerate.Name         = "kbtnGenerate";
     this.kbtnGenerate.Size         = new System.Drawing.Size(197, 30);
     this.kbtnGenerate.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerate.TabIndex    = 65;
     this.kbtnGenerate.Values.Text = "Gener&ate Random Colour";
     this.kbtnGenerate.Click      += new System.EventHandler(this.KbtnGenerate_Click);
     //
     // ColourContrastTool
     //
     this.ClientSize = new System.Drawing.Size(988, 810);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "ColourContrastTool";
     this.Text            = "Krypton Colour Contrast Tool";
     this.Load           += new System.EventHandler(this.ColourContrastTool_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcbCustomColourTwoSelector)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kcbCustomColourOneSelector)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxContrastColourTwoPreview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxContrastColourOnePreview)).EndInit();
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptionsWindow));
     this.kMan                         = new ComponentFactory.Krypton.Toolkit.KryptonManager(this.components);
     this.kryptonPalette1              = new ComponentFactory.Krypton.Toolkit.KryptonPalette(this.components);
     this.kryptonPanel1                = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnCancel                   = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ksbApply                     = new KryptonExtendedToolkit.ExtendedToolkit.Controls.KryptonUACElevatedButton();
     this.kryptonPanel2                = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.knOptions                    = new ComponentFactory.Krypton.Navigator.KryptonNavigator();
     this.kpGeneral                    = new ComponentFactory.Krypton.Navigator.KryptonPage();
     this.kpTheme                      = new ComponentFactory.Krypton.Navigator.KryptonPage();
     this.kryptonGroupBox1             = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
     this.kbtnLoadTheme                = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCustomThemeFileBrowse    = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ktxtCustomThemePath          = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.klblCustomThemeFilePath      = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kcbTheme                     = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel1                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonPage1                 = new ComponentFactory.Krypton.Navigator.KryptonPage();
     this.kcbTest                      = new ComponentFactory.Krypton.Toolkit.KryptonColorButton();
     this.klblMediumColourFloatValue   = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblLightColourFloatValue    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblDarkColourFloatValue     = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblLightestColourFloatValue = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.knumDarkValue                = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.knumMediumValue              = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.knumLightValue               = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.knumLightestValue            = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.cbxLightestColour            = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.cbxLightColour               = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.cbxMediumColour              = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.cbxDarkColour                = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.kryptonLabel7                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel5                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel4                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel2                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.panel1                       = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.knOptions)).BeginInit();
     this.knOptions.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kpGeneral)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kpTheme)).BeginInit();
     this.kpTheme.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
     this.kryptonGroupBox1.Panel.SuspendLayout();
     this.kryptonGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcbTheme)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPage1)).BeginInit();
     this.kryptonPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbxLightestColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxLightColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxMediumColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxDarkColour)).BeginInit();
     this.SuspendLayout();
     //
     // kMan
     //
     this.kMan.GlobalPaletteMode = ComponentFactory.Krypton.Toolkit.PaletteModeManager.Office2007Blue;
     //
     // kryptonPalette1
     //
     this.kryptonPalette1.CustomisedKryptonPaletteFilePath = null;
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnCancel);
     this.kryptonPanel1.Controls.Add(this.ksbApply);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 797);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(906, 55);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnCancel
     //
     this.kbtnCancel.AutoSize     = true;
     this.kbtnCancel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnCancel.Location     = new System.Drawing.Point(757, 13);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(60, 30);
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex    = 1;
     this.kbtnCancel.Values.Text = "Can&cel";
     //
     // ksbApply
     //
     this.ksbApply.AutoSize     = true;
     this.ksbApply.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.ksbApply.Enabled      = false;
     this.ksbApply.Location     = new System.Drawing.Point(823, 13);
     this.ksbApply.Name         = "ksbApply";
     this.ksbApply.Size         = new System.Drawing.Size(71, 30);
     this.ksbApply.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ksbApply.TabIndex     = 0;
     this.ksbApply.Values.Image = ((System.Drawing.Image)(resources.GetObject("ksbApply.Values.Image")));
     this.ksbApply.Values.Text  = "&Apply";
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.knOptions);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(906, 797);
     this.kryptonPanel2.TabIndex = 1;
     //
     // knOptions
     //
     this.knOptions.Button.CloseButtonAction  = ComponentFactory.Krypton.Navigator.CloseButtonAction.None;
     this.knOptions.Button.CloseButtonDisplay = ComponentFactory.Krypton.Navigator.ButtonDisplay.Hide;
     this.knOptions.Location = new System.Drawing.Point(12, 12);
     this.knOptions.Name     = "knOptions";
     this.knOptions.Pages.AddRange(new ComponentFactory.Krypton.Navigator.KryptonPage[] {
         this.kpGeneral,
         this.kpTheme,
         this.kryptonPage1
     });
     this.knOptions.SelectedIndex = 0;
     this.knOptions.Size          = new System.Drawing.Size(882, 776);
     this.knOptions.StateCommon.Tab.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knOptions.TabIndex = 0;
     this.knOptions.Text     = "kryptonNavigator1";
     //
     // kpGeneral
     //
     this.kpGeneral.AutoHiddenSlideSize = new System.Drawing.Size(200, 200);
     this.kpGeneral.Flags          = 65534;
     this.kpGeneral.LastVisibleSet = true;
     this.kpGeneral.MinimumSize    = new System.Drawing.Size(50, 50);
     this.kpGeneral.Name           = "kpGeneral";
     this.kpGeneral.Size           = new System.Drawing.Size(880, 745);
     this.kpGeneral.Text           = "General";
     this.kpGeneral.ToolTipTitle   = "Page ToolTip";
     this.kpGeneral.UniqueName     = "8CF4DE8AD8A6433C038CBF6707BB28B6";
     //
     // kpTheme
     //
     this.kpTheme.AutoHiddenSlideSize = new System.Drawing.Size(200, 200);
     this.kpTheme.Controls.Add(this.kryptonGroupBox1);
     this.kpTheme.Flags          = 65534;
     this.kpTheme.LastVisibleSet = true;
     this.kpTheme.MinimumSize    = new System.Drawing.Size(50, 50);
     this.kpTheme.Name           = "kpTheme";
     this.kpTheme.Size           = new System.Drawing.Size(880, 745);
     this.kpTheme.Text           = "Theme";
     this.kpTheme.ToolTipTitle   = "Page ToolTip";
     this.kpTheme.UniqueName     = "A80439CDD42845E10BA62B98A827DD36";
     //
     // kryptonGroupBox1
     //
     this.kryptonGroupBox1.Location = new System.Drawing.Point(20, 16);
     this.kryptonGroupBox1.Name     = "kryptonGroupBox1";
     //
     // kryptonGroupBox1.Panel
     //
     this.kryptonGroupBox1.Panel.Controls.Add(this.kbtnLoadTheme);
     this.kryptonGroupBox1.Panel.Controls.Add(this.kbtnCustomThemeFileBrowse);
     this.kryptonGroupBox1.Panel.Controls.Add(this.ktxtCustomThemePath);
     this.kryptonGroupBox1.Panel.Controls.Add(this.klblCustomThemeFilePath);
     this.kryptonGroupBox1.Panel.Controls.Add(this.kcbTheme);
     this.kryptonGroupBox1.Panel.Controls.Add(this.kryptonLabel1);
     this.kryptonGroupBox1.Size = new System.Drawing.Size(840, 169);
     this.kryptonGroupBox1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonGroupBox1.TabIndex       = 0;
     this.kryptonGroupBox1.Values.Heading = "Theme Selector";
     //
     // kbtnLoadTheme
     //
     this.kbtnLoadTheme.AutoSize     = true;
     this.kbtnLoadTheme.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnLoadTheme.Enabled      = false;
     this.kbtnLoadTheme.Location     = new System.Drawing.Point(668, 97);
     this.kbtnLoadTheme.Name         = "kbtnLoadTheme";
     this.kbtnLoadTheme.Size         = new System.Drawing.Size(152, 28);
     this.kbtnLoadTheme.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F);
     this.kbtnLoadTheme.TabIndex    = 5;
     this.kbtnLoadTheme.Values.Text = "&Load Custom Theme";
     //
     // kbtnCustomThemeFileBrowse
     //
     this.kbtnCustomThemeFileBrowse.AutoSize     = true;
     this.kbtnCustomThemeFileBrowse.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnCustomThemeFileBrowse.Enabled      = false;
     this.kbtnCustomThemeFileBrowse.Location     = new System.Drawing.Point(798, 53);
     this.kbtnCustomThemeFileBrowse.Name         = "kbtnCustomThemeFileBrowse";
     this.kbtnCustomThemeFileBrowse.Size         = new System.Drawing.Size(22, 28);
     this.kbtnCustomThemeFileBrowse.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F);
     this.kbtnCustomThemeFileBrowse.TabIndex    = 4;
     this.kbtnCustomThemeFileBrowse.Values.Text = ".&..";
     //
     // ktxtCustomThemePath
     //
     this.ktxtCustomThemePath.Enabled  = false;
     this.ktxtCustomThemePath.Location = new System.Drawing.Point(231, 54);
     this.ktxtCustomThemePath.Name     = "ktxtCustomThemePath";
     this.ktxtCustomThemePath.Size     = new System.Drawing.Size(561, 27);
     this.ktxtCustomThemePath.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 11.25F);
     this.ktxtCustomThemePath.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktxtCustomThemePath.TabIndex = 3;
     //
     // klblCustomThemeFilePath
     //
     this.klblCustomThemeFilePath.Enabled  = false;
     this.klblCustomThemeFilePath.Location = new System.Drawing.Point(34, 55);
     this.klblCustomThemeFilePath.Name     = "klblCustomThemeFilePath";
     this.klblCustomThemeFilePath.Size     = new System.Drawing.Size(191, 24);
     this.klblCustomThemeFilePath.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblCustomThemeFilePath.TabIndex    = 2;
     this.klblCustomThemeFilePath.Values.Text = "Custom Theme File Path:";
     //
     // kcbTheme
     //
     this.kcbTheme.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcbTheme.DropDownWidth = 182;
     this.kcbTheme.Location      = new System.Drawing.Point(124, 12);
     this.kcbTheme.Name          = "kcbTheme";
     this.kcbTheme.Size          = new System.Drawing.Size(182, 25);
     this.kcbTheme.StateCommon.ComboBox.Content.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbTheme.StateCommon.ComboBox.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcbTheme.TabIndex              = 1;
     this.kcbTheme.SelectedIndexChanged += new System.EventHandler(this.KcbTheme_SelectedIndexChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(14, 13);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(104, 24);
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 0;
     this.kryptonLabel1.Values.Text = "Theme Type:";
     //
     // kryptonPage1
     //
     this.kryptonPage1.AutoHiddenSlideSize = new System.Drawing.Size(200, 200);
     this.kryptonPage1.Controls.Add(this.kcbTest);
     this.kryptonPage1.Controls.Add(this.klblMediumColourFloatValue);
     this.kryptonPage1.Controls.Add(this.klblLightColourFloatValue);
     this.kryptonPage1.Controls.Add(this.klblDarkColourFloatValue);
     this.kryptonPage1.Controls.Add(this.klblLightestColourFloatValue);
     this.kryptonPage1.Controls.Add(this.knumDarkValue);
     this.kryptonPage1.Controls.Add(this.knumMediumValue);
     this.kryptonPage1.Controls.Add(this.knumLightValue);
     this.kryptonPage1.Controls.Add(this.knumLightestValue);
     this.kryptonPage1.Controls.Add(this.cbxLightestColour);
     this.kryptonPage1.Controls.Add(this.cbxLightColour);
     this.kryptonPage1.Controls.Add(this.cbxMediumColour);
     this.kryptonPage1.Controls.Add(this.cbxDarkColour);
     this.kryptonPage1.Controls.Add(this.kryptonLabel7);
     this.kryptonPage1.Controls.Add(this.kryptonLabel5);
     this.kryptonPage1.Controls.Add(this.kryptonLabel4);
     this.kryptonPage1.Controls.Add(this.kryptonLabel2);
     this.kryptonPage1.Flags          = 65534;
     this.kryptonPage1.LastVisibleSet = true;
     this.kryptonPage1.MinimumSize    = new System.Drawing.Size(50, 50);
     this.kryptonPage1.Name           = "kryptonPage1";
     this.kryptonPage1.Size           = new System.Drawing.Size(880, 745);
     this.kryptonPage1.Text           = "Colour Intensity";
     this.kryptonPage1.ToolTipTitle   = "Page ToolTip";
     this.kryptonPage1.UniqueName     = "e0550eb663f7425e99be7d6b7761bd8e";
     //
     // kcbTest
     //
     this.kcbTest.Location = new System.Drawing.Point(36, 462);
     this.kcbTest.Name     = "kcbTest";
     this.kcbTest.Size     = new System.Drawing.Size(178, 25);
     this.kcbTest.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbTest.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbTest.TabIndex              = 34;
     this.kcbTest.Values.Text           = "&Test Colour";
     this.kcbTest.SelectedColorChanged += new System.EventHandler <ComponentFactory.Krypton.Toolkit.ColorEventArgs>(this.KcbTest_SelectedColorChanged);
     //
     // klblMediumColourFloatValue
     //
     this.klblMediumColourFloatValue.Location = new System.Drawing.Point(366, 172);
     this.klblMediumColourFloatValue.Name     = "klblMediumColourFloatValue";
     this.klblMediumColourFloatValue.Size     = new System.Drawing.Size(42, 33);
     this.klblMediumColourFloatValue.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblMediumColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblMediumColourFloatValue.TabIndex    = 33;
     this.klblMediumColourFloatValue.Values.Text = "{0}";
     //
     // klblLightColourFloatValue
     //
     this.klblLightColourFloatValue.Location = new System.Drawing.Point(366, 290);
     this.klblLightColourFloatValue.Name     = "klblLightColourFloatValue";
     this.klblLightColourFloatValue.Size     = new System.Drawing.Size(42, 33);
     this.klblLightColourFloatValue.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightColourFloatValue.TabIndex    = 32;
     this.klblLightColourFloatValue.Values.Text = "{0}";
     //
     // klblDarkColourFloatValue
     //
     this.klblDarkColourFloatValue.Location = new System.Drawing.Point(366, 54);
     this.klblDarkColourFloatValue.Name     = "klblDarkColourFloatValue";
     this.klblDarkColourFloatValue.Size     = new System.Drawing.Size(42, 33);
     this.klblDarkColourFloatValue.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkColourFloatValue.TabIndex    = 31;
     this.klblDarkColourFloatValue.Values.Text = "{0}";
     //
     // klblLightestColourFloatValue
     //
     this.klblLightestColourFloatValue.Location = new System.Drawing.Point(366, 408);
     this.klblLightestColourFloatValue.Name     = "klblLightestColourFloatValue";
     this.klblLightestColourFloatValue.Size     = new System.Drawing.Size(42, 33);
     this.klblLightestColourFloatValue.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightestColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightestColourFloatValue.TabIndex    = 30;
     this.klblLightestColourFloatValue.Values.Text = "{0}";
     //
     // knumDarkValue
     //
     this.knumDarkValue.DecimalPlaces = 99;
     this.knumDarkValue.Location      = new System.Drawing.Point(217, 54);
     this.knumDarkValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumDarkValue.Name = "knumDarkValue";
     this.knumDarkValue.Size = new System.Drawing.Size(120, 32);
     this.knumDarkValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumDarkValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knumDarkValue.TabIndex      = 29;
     this.knumDarkValue.ValueChanged += new System.EventHandler(this.KnumDarkValue_ValueChanged);
     //
     // knumMediumValue
     //
     this.knumMediumValue.DecimalPlaces = 99;
     this.knumMediumValue.Location      = new System.Drawing.Point(217, 172);
     this.knumMediumValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumMediumValue.Name = "knumMediumValue";
     this.knumMediumValue.Size = new System.Drawing.Size(120, 32);
     this.knumMediumValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumMediumValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knumMediumValue.TabIndex      = 28;
     this.knumMediumValue.ValueChanged += new System.EventHandler(this.KnumMediumValue_ValueChanged);
     //
     // knumLightValue
     //
     this.knumLightValue.DecimalPlaces = 99;
     this.knumLightValue.Location      = new System.Drawing.Point(217, 290);
     this.knumLightValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumLightValue.Name = "knumLightValue";
     this.knumLightValue.Size = new System.Drawing.Size(120, 32);
     this.knumLightValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumLightValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knumLightValue.TabIndex      = 27;
     this.knumLightValue.ValueChanged += new System.EventHandler(this.KnumLightValue_ValueChanged);
     //
     // knumLightestValue
     //
     this.knumLightestValue.DecimalPlaces = 99;
     this.knumLightestValue.Location      = new System.Drawing.Point(217, 408);
     this.knumLightestValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumLightestValue.Name = "knumLightestValue";
     this.knumLightestValue.Size = new System.Drawing.Size(120, 32);
     this.knumLightestValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumLightestValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knumLightestValue.TabIndex      = 26;
     this.knumLightestValue.ValueChanged += new System.EventHandler(this.KnumLightestValue_ValueChanged);
     //
     // cbxLightestColour
     //
     this.cbxLightestColour.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxLightestColour.BackColor = System.Drawing.Color.Black;
     this.cbxLightestColour.Location  = new System.Drawing.Point(765, 374);
     this.cbxLightestColour.Name      = "cbxLightestColour";
     this.cbxLightestColour.Size      = new System.Drawing.Size(95, 95);
     this.cbxLightestColour.TabIndex  = 25;
     this.cbxLightestColour.TabStop   = false;
     //
     // cbxLightColour
     //
     this.cbxLightColour.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxLightColour.BackColor = System.Drawing.Color.Black;
     this.cbxLightColour.Location  = new System.Drawing.Point(765, 258);
     this.cbxLightColour.Name      = "cbxLightColour";
     this.cbxLightColour.Size      = new System.Drawing.Size(95, 95);
     this.cbxLightColour.TabIndex  = 24;
     this.cbxLightColour.TabStop   = false;
     //
     // cbxMediumColour
     //
     this.cbxMediumColour.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxMediumColour.BackColor = System.Drawing.Color.Black;
     this.cbxMediumColour.Location  = new System.Drawing.Point(765, 142);
     this.cbxMediumColour.Name      = "cbxMediumColour";
     this.cbxMediumColour.Size      = new System.Drawing.Size(95, 95);
     this.cbxMediumColour.TabIndex  = 23;
     this.cbxMediumColour.TabStop   = false;
     //
     // cbxDarkColour
     //
     this.cbxDarkColour.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxDarkColour.BackColor = System.Drawing.Color.Black;
     this.cbxDarkColour.Location  = new System.Drawing.Point(765, 26);
     this.cbxDarkColour.Name      = "cbxDarkColour";
     this.cbxDarkColour.Size      = new System.Drawing.Size(95, 95);
     this.cbxDarkColour.TabIndex  = 22;
     this.cbxDarkColour.TabStop   = false;
     //
     // kryptonLabel7
     //
     this.kryptonLabel7.Location = new System.Drawing.Point(36, 172);
     this.kryptonLabel7.Name     = "kryptonLabel7";
     this.kryptonLabel7.Size     = new System.Drawing.Size(178, 33);
     this.kryptonLabel7.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel7.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel7.TabIndex    = 21;
     this.kryptonLabel7.Values.Text = "Medium Colour:";
     //
     // kryptonLabel5
     //
     this.kryptonLabel5.Location = new System.Drawing.Point(36, 408);
     this.kryptonLabel5.Name     = "kryptonLabel5";
     this.kryptonLabel5.Size     = new System.Drawing.Size(175, 33);
     this.kryptonLabel5.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel5.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel5.TabIndex    = 20;
     this.kryptonLabel5.Values.Text = "Lightest Colour:";
     //
     // kryptonLabel4
     //
     this.kryptonLabel4.Location = new System.Drawing.Point(36, 290);
     this.kryptonLabel4.Name     = "kryptonLabel4";
     this.kryptonLabel4.Size     = new System.Drawing.Size(145, 33);
     this.kryptonLabel4.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel4.TabIndex    = 19;
     this.kryptonLabel4.Values.Text = "Light Colour:";
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(36, 54);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(141, 33);
     this.kryptonLabel2.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex    = 18;
     this.kryptonLabel2.Values.Text = "Dark Colour:";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 794);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(906, 3);
     this.panel1.TabIndex  = 2;
     //
     // OptionsWindow
     //
     this.ClientSize = new System.Drawing.Size(906, 852);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "OptionsWindow";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Palette Explorer Options";
     this.Load           += new System.EventHandler(this.OptionsWindow_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.knOptions)).EndInit();
     this.knOptions.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kpGeneral)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kpTheme)).EndInit();
     this.kpTheme.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).EndInit();
     this.kryptonGroupBox1.Panel.ResumeLayout(false);
     this.kryptonGroupBox1.Panel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).EndInit();
     this.kryptonGroupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kcbTheme)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPage1)).EndInit();
     this.kryptonPage1.ResumeLayout(false);
     this.kryptonPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbxLightestColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxLightColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxMediumColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxDarkColour)).EndInit();
     this.ResumeLayout(false);
 }
Example #41
0
 public KryptonComboBoxProxy(KryptonComboBox comboBox)
 {
     _comboBox = comboBox;
 }
 /// <summary>
 /// Gets the current style item text.
 /// </summary>
 /// <param name="target">The target.</param>
 /// <returns></returns>
 public static string GetCurrentStyleItemText(KryptonComboBox target)
 {
     return(target.Text);
 }