상속: VisualPanel
예제 #1
0
        public KryptonTab(string name, string fpath)
        {
            this.FPath = fpath;

            TabTag = new ButtonSpecAny()
            {
                Text = name,
                Edge = PaletteRelativeEdgeAlign.Near,
                Checked = ButtonCheckState.Checked,
                ExtraText = " *"
            };
            Container = new KryptonPanel();
            Container.Dock = DockStyle.Fill;

            TabTag.Click += (ss, ee) =>
                {
                    if (TabTag.Checked == ButtonCheckState.Unchecked)
                    {
                        TabTag.Checked = ButtonCheckState.Checked;
                    }
                    else
                    {
                        if (OnSelecting != null)
                        {
                            OnSelecting();
                        }
                    }
                };
        }
        /// <summary>
        /// Initialize a new instance of the KryptonPanelActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonPanelActionList(KryptonPanelDesigner owner)
            : base(owner.Component)
        {
            // Remember the panel instance
            _panel = owner.Component as KryptonPanel;

            // Cache service used to notify when a property has changed
            _service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }
예제 #3
0
 public KryptonPanelProxy(KryptonPanel panel)
 {
     _panel = panel;
 }
예제 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pnlButtons         = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.btnCancel          = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.btnNext            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.btnBack            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.pnlButtonBright3d  = new System.Windows.Forms.Panel();
     this.pnlButtonDark3d    = new System.Windows.Forms.Panel();
     this.kryptonPanel1      = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kryptonBorderEdge1 = new ComponentFactory.Krypton.Toolkit.KryptonBorderEdge();
     ((System.ComponentModel.ISupportInitialize)(this.pnlButtons)).BeginInit();
     this.pnlButtons.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.SuspendLayout();
     //
     // pnlButtons
     //
     this.pnlButtons.Controls.Add(this.kryptonBorderEdge1);
     this.pnlButtons.Controls.Add(this.btnCancel);
     this.pnlButtons.Controls.Add(this.btnNext);
     this.pnlButtons.Controls.Add(this.btnBack);
     this.pnlButtons.Controls.Add(this.pnlButtonBright3d);
     this.pnlButtons.Controls.Add(this.pnlButtonDark3d);
     this.pnlButtons.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.pnlButtons.Location = new System.Drawing.Point(0, 224);
     this.pnlButtons.Name     = "pnlButtons";
     this.pnlButtons.Size     = new System.Drawing.Size(444, 48);
     this.pnlButtons.TabIndex = 0;
     //
     // btnCancel
     //
     this.btnCancel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.Location = new System.Drawing.Point(356, 12);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(75, 26);
     this.btnCancel.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
                                                                                                              | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
                                                                                                             | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
     this.btnCancel.StateCommon.Border.Rounding = 5;
     this.btnCancel.TabIndex    = 5;
     this.btnCancel.Values.Text = "Cancel";
     this.btnCancel.Click      += new System.EventHandler(this.btnCancel_Click);
     //
     // btnNext
     //
     this.btnNext.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnNext.Location = new System.Drawing.Point(272, 12);
     this.btnNext.Name     = "btnNext";
     this.btnNext.Size     = new System.Drawing.Size(75, 26);
     this.btnNext.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)(((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
                                                                                                           | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
     this.btnNext.StateCommon.Border.Rounding = 5;
     this.btnNext.TabIndex    = 4;
     this.btnNext.Values.Text = "&Next >";
     this.btnNext.Click      += new System.EventHandler(this.btnNext_Click);
     this.btnNext.MouseDown  += new System.Windows.Forms.MouseEventHandler(this.btnNext_MouseDown);
     //
     // btnBack
     //
     this.btnBack.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnBack.Location = new System.Drawing.Point(196, 12);
     this.btnBack.Name     = "btnBack";
     this.btnBack.Size     = new System.Drawing.Size(75, 26);
     this.btnBack.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)(((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
                                                                                                           | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)));
     this.btnBack.StateCommon.Border.Rounding = 5;
     this.btnBack.TabIndex    = 3;
     this.btnBack.Values.Text = "< &Back";
     this.btnBack.Click      += new System.EventHandler(this.btnBack_Click);
     this.btnBack.MouseDown  += new System.Windows.Forms.MouseEventHandler(this.btnBack_MouseDown);
     //
     // pnlButtonBright3d
     //
     this.pnlButtonBright3d.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.pnlButtonBright3d.Dock      = System.Windows.Forms.DockStyle.Top;
     this.pnlButtonBright3d.Location  = new System.Drawing.Point(0, 1);
     this.pnlButtonBright3d.Name      = "pnlButtonBright3d";
     this.pnlButtonBright3d.Size      = new System.Drawing.Size(444, 1);
     this.pnlButtonBright3d.TabIndex  = 1;
     //
     // pnlButtonDark3d
     //
     this.pnlButtonDark3d.BackColor = System.Drawing.SystemColors.ControlDark;
     this.pnlButtonDark3d.Dock      = System.Windows.Forms.DockStyle.Top;
     this.pnlButtonDark3d.Location  = new System.Drawing.Point(0, 0);
     this.pnlButtonDark3d.Name      = "pnlButtonDark3d";
     this.pnlButtonDark3d.Size      = new System.Drawing.Size(444, 1);
     this.pnlButtonDark3d.TabIndex  = 2;
     //
     // kryptonPanel1
     //
     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(444, 272);
     this.kryptonPanel1.TabIndex = 1;
     //
     // kryptonBorderEdge1
     //
     this.kryptonBorderEdge1.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonBorderEdge1.Location    = new System.Drawing.Point(271, 12);
     this.kryptonBorderEdge1.Name        = "kryptonBorderEdge1";
     this.kryptonBorderEdge1.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.kryptonBorderEdge1.Size        = new System.Drawing.Size(1, 26);
     this.kryptonBorderEdge1.Text        = "kryptonBorderEdge1";
     //
     // Wizard
     //
     this.Controls.Add(this.pnlButtons);
     this.Controls.Add(this.kryptonPanel1);
     this.Font  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "Wizard";
     this.Size  = new System.Drawing.Size(444, 272);
     this.Load += new System.EventHandler(this.Wizard_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pnlButtons)).EndInit();
     this.pnlButtons.ResumeLayout(false);
     this.pnlButtons.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #5
0
 private void InitializeComponent()
 {
     this._panelMain = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._panelMainSpacer = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._panelMainCommands = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._panelMainRadio = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._panelMainText = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._messageContent = new ComponentFactory.Krypton.Toolkit.KryptonWrapLabel();
     this._messageText = new ComponentFactory.Krypton.Toolkit.KryptonWrapLabel();
     this._panelIcon = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._messageIcon = new System.Windows.Forms.PictureBox();
     this._panelButtons = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._checkBox = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox();
     this._panelButtonsBorderTop = new ComponentFactory.Krypton.Toolkit.KryptonBorderEdge();
     this._buttonOK = new ComponentFactory.Krypton.Toolkit.VisualTaskDialog.MessageButton();
     this._buttonYes = new ComponentFactory.Krypton.Toolkit.VisualTaskDialog.MessageButton();
     this._buttonNo = new ComponentFactory.Krypton.Toolkit.VisualTaskDialog.MessageButton();
     this._buttonRetry = new ComponentFactory.Krypton.Toolkit.VisualTaskDialog.MessageButton();
     this._buttonCancel = new ComponentFactory.Krypton.Toolkit.VisualTaskDialog.MessageButton();
     this._buttonClose = new ComponentFactory.Krypton.Toolkit.VisualTaskDialog.MessageButton();
     this._panelFooter = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._linkLabelFooter = new ComponentFactory.Krypton.Toolkit.KryptonLinkLabel();
     this._iconFooter = new System.Windows.Forms.PictureBox();
     this._footerLabel = new ComponentFactory.Krypton.Toolkit.KryptonWrapLabel();
     this._panelFooterBorderTop = new ComponentFactory.Krypton.Toolkit.KryptonBorderEdge();
     ((System.ComponentModel.ISupportInitialize)(this._panelMain)).BeginInit();
     this._panelMain.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._panelMainSpacer)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._panelMainCommands)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._panelMainRadio)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._panelMainText)).BeginInit();
     this._panelMainText.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._panelIcon)).BeginInit();
     this._panelIcon.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._messageIcon)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._panelButtons)).BeginInit();
     this._panelButtons.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._panelFooter)).BeginInit();
     this._panelFooter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._iconFooter)).BeginInit();
     this.SuspendLayout();
     //
     // _panelMain
     //
     this._panelMain.AutoSize = true;
     this._panelMain.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._panelMain.Controls.Add(this._panelMainSpacer);
     this._panelMain.Controls.Add(this._panelMainCommands);
     this._panelMain.Controls.Add(this._panelMainRadio);
     this._panelMain.Controls.Add(this._panelMainText);
     this._panelMain.Controls.Add(this._panelIcon);
     this._panelMain.Dock = System.Windows.Forms.DockStyle.Top;
     this._panelMain.Location = new System.Drawing.Point(0, 0);
     this._panelMain.Name = "_panelMain";
     this._panelMain.Size = new System.Drawing.Size(408, 72);
     this._panelMain.TabIndex = 0;
     //
     // _panelMainSpacer
     //
     this._panelMainSpacer.Location = new System.Drawing.Point(42, 59);
     this._panelMainSpacer.Name = "_panelMainSpacer";
     this._panelMainSpacer.Size = new System.Drawing.Size(10, 10);
     this._panelMainSpacer.TabIndex = 3;
     //
     // _panelMainCommands
     //
     this._panelMainCommands.AutoSize = true;
     this._panelMainCommands.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._panelMainCommands.Location = new System.Drawing.Point(208, 10);
     this._panelMainCommands.Name = "_panelMainCommands";
     this._panelMainCommands.Size = new System.Drawing.Size(0, 0);
     this._panelMainCommands.TabIndex = 2;
     //
     // _panelMainRadio
     //
     this._panelMainRadio.AutoSize = true;
     this._panelMainRadio.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._panelMainRadio.Location = new System.Drawing.Point(208, 32);
     this._panelMainRadio.Name = "_panelMainRadio";
     this._panelMainRadio.Size = new System.Drawing.Size(0, 0);
     this._panelMainRadio.TabIndex = 1;
     //
     // _panelMainText
     //
     this._panelMainText.AutoSize = true;
     this._panelMainText.Controls.Add(this._messageContent);
     this._panelMainText.Controls.Add(this._messageText);
     this._panelMainText.Location = new System.Drawing.Point(42, 0);
     this._panelMainText.Margin = new System.Windows.Forms.Padding(0);
     this._panelMainText.Name = "_panelMainText";
     this._panelMainText.Padding = new System.Windows.Forms.Padding(5, 5, 5, 0);
     this._panelMainText.Size = new System.Drawing.Size(149, 60);
     this._panelMainText.TabIndex = 0;
     //
     // _messageContent
     //
     this._messageContent.AutoSize = false;
     this._messageContent.Font = new System.Drawing.Font("Segoe UI", 9F);
     this._messageContent.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this._messageContent.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalPanel;
     this._messageContent.Location = new System.Drawing.Point(6, 34);
     this._messageContent.Margin = new System.Windows.Forms.Padding(0);
     this._messageContent.Name = "_messageContent";
     this._messageContent.Size = new System.Drawing.Size(78, 15);
     this._messageContent.Text = "Content";
     //
     // _messageText
     //
     this._messageText.AutoSize = false;
     this._messageText.Font = new System.Drawing.Font("Segoe UI", 13.5F, System.Drawing.FontStyle.Bold);
     this._messageText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this._messageText.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitlePanel;
     this._messageText.Location = new System.Drawing.Point(5, 5);
     this._messageText.Margin = new System.Windows.Forms.Padding(0);
     this._messageText.Name = "_messageText";
     this._messageText.Size = new System.Drawing.Size(139, 27);
     this._messageText.Text = "Message Text";
     //
     // _panelIcon
     //
     this._panelIcon.AutoSize = true;
     this._panelIcon.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._panelIcon.Controls.Add(this._messageIcon);
     this._panelIcon.Location = new System.Drawing.Point(0, 0);
     this._panelIcon.Margin = new System.Windows.Forms.Padding(0);
     this._panelIcon.Name = "_panelIcon";
     this._panelIcon.Padding = new System.Windows.Forms.Padding(10, 10, 0, 10);
     this._panelIcon.Size = new System.Drawing.Size(42, 52);
     this._panelIcon.TabIndex = 0;
     //
     // _messageIcon
     //
     this._messageIcon.BackColor = System.Drawing.Color.Transparent;
     this._messageIcon.Location = new System.Drawing.Point(10, 10);
     this._messageIcon.Margin = new System.Windows.Forms.Padding(0);
     this._messageIcon.Name = "_messageIcon";
     this._messageIcon.Size = new System.Drawing.Size(32, 32);
     this._messageIcon.TabIndex = 0;
     this._messageIcon.TabStop = false;
     //
     // _panelButtons
     //
     this._panelButtons.Controls.Add(this._checkBox);
     this._panelButtons.Controls.Add(this._panelButtonsBorderTop);
     this._panelButtons.Controls.Add(this._buttonOK);
     this._panelButtons.Controls.Add(this._buttonYes);
     this._panelButtons.Controls.Add(this._buttonNo);
     this._panelButtons.Controls.Add(this._buttonRetry);
     this._panelButtons.Controls.Add(this._buttonCancel);
     this._panelButtons.Controls.Add(this._buttonClose);
     this._panelButtons.Dock = System.Windows.Forms.DockStyle.Top;
     this._panelButtons.Location = new System.Drawing.Point(0, 72);
     this._panelButtons.Margin = new System.Windows.Forms.Padding(0);
     this._panelButtons.Name = "_panelButtons";
     this._panelButtons.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelAlternate;
     this._panelButtons.Size = new System.Drawing.Size(408, 46);
     this._panelButtons.TabIndex = 1;
     //
     // _checkBox
     //
     this._checkBox.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalPanel;
     this._checkBox.Location = new System.Drawing.Point(12, 12);
     this._checkBox.Name = "_checkBox";
     this._checkBox.Size = new System.Drawing.Size(75, 20);
     this._checkBox.TabIndex = 0;
     this._checkBox.Values.Text = "checkBox";
     this._checkBox.CheckedChanged += new System.EventHandler(this.checkBox_CheckedChanged);
     //
     // _panelButtonsBorderTop
     //
     this._panelButtonsBorderTop.BorderStyle = ComponentFactory.Krypton.Toolkit.PaletteBorderStyle.HeaderPrimary;
     this._panelButtonsBorderTop.Dock = System.Windows.Forms.DockStyle.Top;
     this._panelButtonsBorderTop.Location = new System.Drawing.Point(0, 0);
     this._panelButtonsBorderTop.Name = "_panelButtonsBorderTop";
     this._panelButtonsBorderTop.Size = new System.Drawing.Size(408, 1);
     this._panelButtonsBorderTop.Text = "kryptonBorderEdge1";
     //
     // _buttonOK
     //
     this._buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonOK.AutoSize = true;
     this._buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._buttonOK.IgnoreAltF4 = false;
     this._buttonOK.Location = new System.Drawing.Point(299, 9);
     this._buttonOK.Margin = new System.Windows.Forms.Padding(0);
     this._buttonOK.MinimumSize = new System.Drawing.Size(50, 26);
     this._buttonOK.Name = "_buttonOK";
     this._buttonOK.Size = new System.Drawing.Size(50, 26);
     this._buttonOK.TabIndex = 1;
     this._buttonOK.Values.Text = "OK";
     this._buttonOK.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // _buttonYes
     //
     this._buttonYes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonYes.AutoSize = true;
     this._buttonYes.DialogResult = System.Windows.Forms.DialogResult.Yes;
     this._buttonYes.IgnoreAltF4 = false;
     this._buttonYes.Location = new System.Drawing.Point(199, 9);
     this._buttonYes.Margin = new System.Windows.Forms.Padding(0);
     this._buttonYes.MinimumSize = new System.Drawing.Size(50, 26);
     this._buttonYes.Name = "_buttonYes";
     this._buttonYes.Size = new System.Drawing.Size(50, 26);
     this._buttonYes.TabIndex = 2;
     this._buttonYes.Values.Text = "Yes";
     this._buttonYes.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // _buttonNo
     //
     this._buttonNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonNo.AutoSize = true;
     this._buttonNo.DialogResult = System.Windows.Forms.DialogResult.No;
     this._buttonNo.IgnoreAltF4 = false;
     this._buttonNo.Location = new System.Drawing.Point(149, 9);
     this._buttonNo.Margin = new System.Windows.Forms.Padding(0);
     this._buttonNo.MinimumSize = new System.Drawing.Size(50, 26);
     this._buttonNo.Name = "_buttonNo";
     this._buttonNo.Size = new System.Drawing.Size(50, 26);
     this._buttonNo.TabIndex = 3;
     this._buttonNo.Values.Text = "No";
     this._buttonNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // _buttonRetry
     //
     this._buttonRetry.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonRetry.AutoSize = true;
     this._buttonRetry.DialogResult = System.Windows.Forms.DialogResult.Retry;
     this._buttonRetry.IgnoreAltF4 = false;
     this._buttonRetry.Location = new System.Drawing.Point(249, 9);
     this._buttonRetry.Margin = new System.Windows.Forms.Padding(0);
     this._buttonRetry.MinimumSize = new System.Drawing.Size(50, 26);
     this._buttonRetry.Name = "_buttonRetry";
     this._buttonRetry.Size = new System.Drawing.Size(50, 26);
     this._buttonRetry.TabIndex = 5;
     this._buttonRetry.Values.Text = "Retry";
     this._buttonRetry.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // _buttonCancel
     //
     this._buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonCancel.AutoSize = true;
     this._buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._buttonCancel.IgnoreAltF4 = false;
     this._buttonCancel.Location = new System.Drawing.Point(92, 9);
     this._buttonCancel.Margin = new System.Windows.Forms.Padding(0);
     this._buttonCancel.MinimumSize = new System.Drawing.Size(50, 26);
     this._buttonCancel.Name = "_buttonCancel";
     this._buttonCancel.Size = new System.Drawing.Size(57, 26);
     this._buttonCancel.TabIndex = 4;
     this._buttonCancel.Values.Text = "Cancel";
     this._buttonCancel.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // _buttonClose
     //
     this._buttonClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonClose.AutoSize = true;
     this._buttonClose.IgnoreAltF4 = false;
     this._buttonClose.Location = new System.Drawing.Point(349, 9);
     this._buttonClose.Margin = new System.Windows.Forms.Padding(0);
     this._buttonClose.MinimumSize = new System.Drawing.Size(50, 26);
     this._buttonClose.Name = "_buttonClose";
     this._buttonClose.Size = new System.Drawing.Size(50, 26);
     this._buttonClose.TabIndex = 6;
     this._buttonClose.Values.Text = "Close";
     this._buttonClose.Click += new System.EventHandler(this._buttonClose_Click);
     this._buttonClose.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // _panelFooter
     //
     this._panelFooter.Controls.Add(this._linkLabelFooter);
     this._panelFooter.Controls.Add(this._iconFooter);
     this._panelFooter.Controls.Add(this._footerLabel);
     this._panelFooter.Controls.Add(this._panelFooterBorderTop);
     this._panelFooter.Dock = System.Windows.Forms.DockStyle.Top;
     this._panelFooter.Location = new System.Drawing.Point(0, 118);
     this._panelFooter.Name = "_panelFooter";
     this._panelFooter.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelAlternate;
     this._panelFooter.Size = new System.Drawing.Size(408, 49);
     this._panelFooter.TabIndex = 2;
     //
     // _linkLabelFooter
     //
     this._linkLabelFooter.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalPanel;
     this._linkLabelFooter.Location = new System.Drawing.Point(127, 11);
     this._linkLabelFooter.Name = "_linkLabelFooter";
     this._linkLabelFooter.Size = new System.Drawing.Size(110, 20);
     this._linkLabelFooter.TabIndex = 0;
     this._linkLabelFooter.Values.Text = "kryptonLinkLabel1";
     this._linkLabelFooter.LinkClicked += new System.EventHandler(this._linkLabelFooter_LinkClicked);
     //
     // _iconFooter
     //
     this._iconFooter.BackColor = System.Drawing.Color.Transparent;
     this._iconFooter.Location = new System.Drawing.Point(10, 10);
     this._iconFooter.Margin = new System.Windows.Forms.Padding(0);
     this._iconFooter.Name = "_iconFooter";
     this._iconFooter.Size = new System.Drawing.Size(16, 16);
     this._iconFooter.TabIndex = 4;
     this._iconFooter.TabStop = false;
     //
     // _footerLabel
     //
     this._footerLabel.AutoSize = false;
     this._footerLabel.Font = new System.Drawing.Font("Segoe UI", 9F);
     this._footerLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this._footerLabel.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalPanel;
     this._footerLabel.Location = new System.Drawing.Point(36, 11);
     this._footerLabel.Margin = new System.Windows.Forms.Padding(0);
     this._footerLabel.Name = "_footerLabel";
     this._footerLabel.Size = new System.Drawing.Size(78, 15);
     this._footerLabel.Text = "Content";
     //
     // _panelFooterBorderTop
     //
     this._panelFooterBorderTop.BorderStyle = ComponentFactory.Krypton.Toolkit.PaletteBorderStyle.HeaderPrimary;
     this._panelFooterBorderTop.Dock = System.Windows.Forms.DockStyle.Top;
     this._panelFooterBorderTop.Location = new System.Drawing.Point(0, 0);
     this._panelFooterBorderTop.Name = "_panelFooterBorderTop";
     this._panelFooterBorderTop.Size = new System.Drawing.Size(408, 1);
     this._panelFooterBorderTop.Text = "kryptonBorderEdge1";
     //
     // VisualTaskDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(408, 164);
     this.Controls.Add(this._panelFooter);
     this.Controls.Add(this._panelButtons);
     this.Controls.Add(this._panelMain);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "VisualTaskDialog";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnTaskDialogFormClosing);
     ((System.ComponentModel.ISupportInitialize)(this._panelMain)).EndInit();
     this._panelMain.ResumeLayout(false);
     this._panelMain.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this._panelMainSpacer)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._panelMainCommands)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._panelMainRadio)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._panelMainText)).EndInit();
     this._panelMainText.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._panelIcon)).EndInit();
     this._panelIcon.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._messageIcon)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._panelButtons)).EndInit();
     this._panelButtons.ResumeLayout(false);
     this._panelButtons.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this._panelFooter)).EndInit();
     this._panelFooter.ResumeLayout(false);
     this._panelFooter.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this._iconFooter)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.kknbRed                 = new KryptonToolkitSuiteExtendedCore.KryptonKnobControl();
     this.kknbGreen               = new KryptonToolkitSuiteExtendedCore.KryptonKnobControl();
     this.kknbBlue                = new KryptonToolkitSuiteExtendedCore.KryptonKnobControl();
     this.kryptonRedValueLabel1   = new ExtendedColourControls.Controls.Labels.KryptonRedValueLabel();
     this.klblRedValue            = new ExtendedColourControls.Controls.Labels.KryptonRedValueLabel();
     this.kryptonPanel1           = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.klblBlueValue           = new ExtendedColourControls.Controls.Labels.KryptonBlueValueLabel();
     this.kryptonBlueValueLabel1  = new ExtendedColourControls.Controls.Labels.KryptonBlueValueLabel();
     this.klblGreenValue          = new ExtendedColourControls.Controls.Labels.KryptonGreenValueLabel();
     this.kryptonGreenValueLabel1 = new ExtendedColourControls.Controls.Labels.KryptonGreenValueLabel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // kknbRed
     //
     this.kknbRed.BackColor            = System.Drawing.Color.Transparent;
     this.kknbRed.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kknbRed.ImeMode              = System.Windows.Forms.ImeMode.On;
     this.kknbRed.LargeChange          = 20;
     this.kknbRed.Location             = new System.Drawing.Point(88, 23);
     this.kknbRed.Maximum              = 255;
     this.kknbRed.Minimum              = 0;
     this.kknbRed.Name                 = "kknbRed";
     this.kknbRed.ShowLargeScale       = true;
     this.kknbRed.ShowSmallScale       = false;
     this.kknbRed.Size                 = new System.Drawing.Size(110, 110);
     this.kknbRed.SizeLargeScaleMarker = 6;
     this.kknbRed.SizeSmallScaleMarker = 3;
     this.kknbRed.SmallChange          = 5;
     this.kknbRed.TabIndex             = 0;
     this.kknbRed.Value                = 0;
     this.kknbRed.ValueChanged        += new KryptonToolkitSuiteExtendedCore.ValueChangedEventHandler(this.kknbRed_ValueChanged);
     //
     // kknbGreen
     //
     this.kknbGreen.BackColor            = System.Drawing.Color.Transparent;
     this.kknbGreen.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kknbGreen.ImeMode              = System.Windows.Forms.ImeMode.On;
     this.kknbGreen.LargeChange          = 20;
     this.kknbGreen.Location             = new System.Drawing.Point(88, 176);
     this.kknbGreen.Maximum              = 255;
     this.kknbGreen.Minimum              = 0;
     this.kknbGreen.Name                 = "kknbGreen";
     this.kknbGreen.ShowLargeScale       = true;
     this.kknbGreen.ShowSmallScale       = false;
     this.kknbGreen.Size                 = new System.Drawing.Size(110, 110);
     this.kknbGreen.SizeLargeScaleMarker = 6;
     this.kknbGreen.SizeSmallScaleMarker = 3;
     this.kknbGreen.SmallChange          = 5;
     this.kknbGreen.TabIndex             = 1;
     this.kknbGreen.Value                = 0;
     this.kknbGreen.ValueChanged        += new KryptonToolkitSuiteExtendedCore.ValueChangedEventHandler(this.kknbGreen_ValueChanged);
     //
     // kknbBlue
     //
     this.kknbBlue.BackColor            = System.Drawing.Color.Transparent;
     this.kknbBlue.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kknbBlue.ImeMode              = System.Windows.Forms.ImeMode.On;
     this.kknbBlue.LargeChange          = 20;
     this.kknbBlue.Location             = new System.Drawing.Point(88, 329);
     this.kknbBlue.Maximum              = 255;
     this.kknbBlue.Minimum              = 0;
     this.kknbBlue.Name                 = "kknbBlue";
     this.kknbBlue.ShowLargeScale       = true;
     this.kknbBlue.ShowSmallScale       = false;
     this.kknbBlue.Size                 = new System.Drawing.Size(110, 110);
     this.kknbBlue.SizeLargeScaleMarker = 6;
     this.kknbBlue.SizeSmallScaleMarker = 3;
     this.kknbBlue.SmallChange          = 5;
     this.kknbBlue.TabIndex             = 2;
     this.kknbBlue.Value                = 0;
     this.kknbBlue.ValueChanged        += new KryptonToolkitSuiteExtendedCore.ValueChangedEventHandler(this.kknbBlue_ValueChanged);
     //
     // kryptonRedValueLabel1
     //
     this.kryptonRedValueLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonRedValueLabel1.Location = new System.Drawing.Point(31, 67);
     this.kryptonRedValueLabel1.Name     = "kryptonRedValueLabel1";
     this.kryptonRedValueLabel1.RedValue = 255;
     this.kryptonRedValueLabel1.Size     = new System.Drawing.Size(42, 26);
     this.kryptonRedValueLabel1.StateCommon.LongText.Color1  = System.Drawing.Color.Red;
     this.kryptonRedValueLabel1.StateCommon.LongText.Color2  = System.Drawing.Color.Red;
     this.kryptonRedValueLabel1.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonRedValueLabel1.StateCommon.ShortText.Color1 = System.Drawing.Color.Red;
     this.kryptonRedValueLabel1.StateCommon.ShortText.Color2 = System.Drawing.Color.Red;
     this.kryptonRedValueLabel1.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonRedValueLabel1.TabIndex    = 13;
     this.kryptonRedValueLabel1.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonRedValueLabel1.Values.Text = "Red";
     //
     // klblRedValue
     //
     this.klblRedValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.klblRedValue.Location = new System.Drawing.Point(223, 67);
     this.klblRedValue.Name     = "klblRedValue";
     this.klblRedValue.RedValue = 255;
     this.klblRedValue.Size     = new System.Drawing.Size(33, 26);
     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", 12F, System.Drawing.FontStyle.Bold);
     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", 12F, System.Drawing.FontStyle.Bold);
     this.klblRedValue.TabIndex    = 14;
     this.klblRedValue.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.klblRedValue.Values.Text = "{0}";
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.klblBlueValue);
     this.kryptonPanel1.Controls.Add(this.kryptonBlueValueLabel1);
     this.kryptonPanel1.Controls.Add(this.klblGreenValue);
     this.kryptonPanel1.Controls.Add(this.kknbBlue);
     this.kryptonPanel1.Controls.Add(this.kknbGreen);
     this.kryptonPanel1.Controls.Add(this.kryptonGreenValueLabel1);
     this.kryptonPanel1.Controls.Add(this.kknbRed);
     this.kryptonPanel1.Controls.Add(this.klblRedValue);
     this.kryptonPanel1.Controls.Add(this.kryptonRedValueLabel1);
     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(301, 452);
     this.kryptonPanel1.TabIndex = 15;
     //
     // klblBlueValue
     //
     this.klblBlueValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.klblBlueValue.Location = new System.Drawing.Point(223, 371);
     this.klblBlueValue.Name     = "klblBlueValue";
     this.klblBlueValue.RedValue = 255;
     this.klblBlueValue.Size     = new System.Drawing.Size(33, 26);
     this.klblBlueValue.StateCommon.LongText.Color1  = System.Drawing.Color.Blue;
     this.klblBlueValue.StateCommon.LongText.Color2  = System.Drawing.Color.Blue;
     this.klblBlueValue.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     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", 12F, System.Drawing.FontStyle.Bold);
     this.klblBlueValue.TabIndex    = 19;
     this.klblBlueValue.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.klblBlueValue.Values.Text = "{0}";
     //
     // kryptonBlueValueLabel1
     //
     this.kryptonBlueValueLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonBlueValueLabel1.Location = new System.Drawing.Point(27, 371);
     this.kryptonBlueValueLabel1.Name     = "kryptonBlueValueLabel1";
     this.kryptonBlueValueLabel1.RedValue = 255;
     this.kryptonBlueValueLabel1.Size     = new System.Drawing.Size(46, 26);
     this.kryptonBlueValueLabel1.StateCommon.LongText.Color1  = System.Drawing.Color.Blue;
     this.kryptonBlueValueLabel1.StateCommon.LongText.Color2  = System.Drawing.Color.Blue;
     this.kryptonBlueValueLabel1.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonBlueValueLabel1.StateCommon.ShortText.Color1 = System.Drawing.Color.Blue;
     this.kryptonBlueValueLabel1.StateCommon.ShortText.Color2 = System.Drawing.Color.Blue;
     this.kryptonBlueValueLabel1.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonBlueValueLabel1.TabIndex    = 18;
     this.kryptonBlueValueLabel1.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonBlueValueLabel1.Values.Text = "Blue";
     //
     // klblGreenValue
     //
     this.klblGreenValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.klblGreenValue.Location = new System.Drawing.Point(223, 216);
     this.klblGreenValue.Name     = "klblGreenValue";
     this.klblGreenValue.RedValue = 255;
     this.klblGreenValue.Size     = new System.Drawing.Size(33, 26);
     this.klblGreenValue.StateCommon.LongText.Color1  = System.Drawing.Color.Green;
     this.klblGreenValue.StateCommon.LongText.Color2  = System.Drawing.Color.Green;
     this.klblGreenValue.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     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", 12F, System.Drawing.FontStyle.Bold);
     this.klblGreenValue.TabIndex    = 17;
     this.klblGreenValue.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.klblGreenValue.Values.Text = "{0}";
     //
     // kryptonGreenValueLabel1
     //
     this.kryptonGreenValueLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonGreenValueLabel1.Location = new System.Drawing.Point(15, 216);
     this.kryptonGreenValueLabel1.Name     = "kryptonGreenValueLabel1";
     this.kryptonGreenValueLabel1.RedValue = 255;
     this.kryptonGreenValueLabel1.Size     = new System.Drawing.Size(58, 26);
     this.kryptonGreenValueLabel1.StateCommon.LongText.Color1  = System.Drawing.Color.Green;
     this.kryptonGreenValueLabel1.StateCommon.LongText.Color2  = System.Drawing.Color.Green;
     this.kryptonGreenValueLabel1.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonGreenValueLabel1.StateCommon.ShortText.Color1 = System.Drawing.Color.Green;
     this.kryptonGreenValueLabel1.StateCommon.ShortText.Color2 = System.Drawing.Color.Green;
     this.kryptonGreenValueLabel1.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonGreenValueLabel1.TabIndex    = 16;
     this.kryptonGreenValueLabel1.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonGreenValueLabel1.Values.Text = "Green";
     //
     // KryptonRGBColourKnobControl
     //
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.kryptonPanel1);
     this.Name = "KryptonRGBColourKnobControl";
     this.Size = new System.Drawing.Size(301, 452);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     this.ResumeLayout(false);
 }
        /// <summary>
        /// Initialize a new instance of the KryptonAutoHiddenSlidePanel class.
        /// </summary>
        /// <param name="control">Reference to control that is being managed.</param>
        /// <param name="edge">Docking edge being managed.</param>
        /// <param name="panel">Reference to auto hidden panel for this edge.</param>
        public KryptonAutoHiddenSlidePanel(Control control, DockingEdge edge, KryptonAutoHiddenPanel panel)
        {
            _control = control;
            _edge = edge;
            _panel = panel;
            _state = DockingAutoHiddenShowState.Hidden;
            _checkMakeHidden = new EventHandler(OnCheckMakeHidden);

            // We need to a timer to automate sliding in and out
            _slideTimer = new Timer();
            _slideTimer.Interval = SLIDE_INTERVAL;
            _slideTimer.Tick += new EventHandler(OnSlideTimerTick);

            // Timer used to delay between notification of need to slide inwards and performing actual slide
            _dismissTimer = new Timer();
            _dismissTimer.Interval = DISMISS_INTERVAL;
            _dismissTimer.Tick += new EventHandler(OnDismissTimerTick);
            _dismissRunning = false;

            // Create inner panel that holds the actual dockspace and separator
            _dockspaceSlide = new KryptonDockspaceSlide();
            _dockspaceSlide.Dock = DockStyle.Fill;
            _dockspaceSlide.AutoHiddenHost = true;
            _dockspaceSlide.PageCloseClicked += new EventHandler<UniqueNameEventArgs>(OnDockspacePageCloseClicked);
            _dockspaceSlide.PageAutoHiddenClicked += new EventHandler<UniqueNameEventArgs>(OnDockspacePageAutoHiddenClicked);
            _dockspaceSlide.PageDropDownClicked += new EventHandler<CancelDropDownEventArgs>(OnDockspacePageDropDownClicked);

            _separator = new KryptonDockspaceSeparator(edge, true);
            _separator.SplitterMoving += new SplitterCancelEventHandler(OnDockspaceSeparatorMoving);
            _separator.SplitterMoved += new SplitterEventHandler(OnDockspaceSeparatorMoved);
            _separator.SplitterMoveRect += new EventHandler<SplitterMoveRectMenuArgs>(OnDockspaceSeparatorMoveRect);

            _inner = new KryptonPanel();
            _inner.Controls.AddRange(new Control[] { _dockspaceSlide, _separator });
            Controls.Add(_inner);

            // Do not show ourself until we are needed
            Visible = false;

            // Add a Button that is not showing and used to push focus away from the dockspace
            _dummyTarget = new Button();
            _dummyTarget.Location = new Point(-200, -200);
            _dummyTarget.Size = new Size(100, 100);
            Controls.Add(_dummyTarget);

            // Add ourself into the target control for docking
            control.SizeChanged += new EventHandler(OnControlSizeChanged);
            control.Controls.Add(this);

            // Need to peek at windows messages so we can determine if mouse is over the slide out panel
            Application.AddMessageFilter(this);
        }
예제 #8
0
 private void InitializeComponent()
 {
     this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnOk        = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCancel    = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.ktxtPrompt    = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.kwlMessage    = new ComponentFactory.Krypton.Toolkit.KryptonWrapLabel();
     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();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnOk);
     this.kryptonPanel1.Controls.Add(this.kbtnCancel);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 69);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(357, 49);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnOk
     //
     this.kbtnOk.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kbtnOk.Location     = new System.Drawing.Point(159, 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);
     //
     // 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(255, 12);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(90, 25);
     this.kbtnCancel.TabIndex     = 0;
     this.kbtnCancel.Values.Text  = "&Cancel";
     this.kbtnCancel.Click       += new System.EventHandler(this.kbtnCancel_Click);
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.ktxtPrompt);
     this.kryptonPanel2.Controls.Add(this.kwlMessage);
     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(357, 69);
     this.kryptonPanel2.TabIndex = 1;
     //
     // ktxtPrompt
     //
     this.ktxtPrompt.Location     = new System.Drawing.Point(12, 37);
     this.ktxtPrompt.Name         = "ktxtPrompt";
     this.ktxtPrompt.Size         = new System.Drawing.Size(333, 23);
     this.ktxtPrompt.TabIndex     = 1;
     this.ktxtPrompt.TextChanged += new System.EventHandler(this.ktxtPrompt_TextChanged);
     this.ktxtPrompt.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ktxtPrompt_KeyDown);
     //
     // kwlMessage
     //
     this.kwlMessage.AutoSize  = false;
     this.kwlMessage.Dock      = System.Windows.Forms.DockStyle.Top;
     this.kwlMessage.Font      = new System.Drawing.Font("Segoe UI", 9F);
     this.kwlMessage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kwlMessage.Location  = new System.Drawing.Point(0, 0);
     this.kwlMessage.Name      = "kwlMessage";
     this.kwlMessage.Size      = new System.Drawing.Size(357, 31);
     this.kwlMessage.Text      = "{0}";
     this.kwlMessage.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 66);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(357, 3);
     this.panel1.TabIndex  = 2;
     //
     // KryptonInputBox
     //
     this.AcceptButton = this.kbtnOk;
     this.CancelButton = this.kbtnCancel;
     this.ClientSize   = new System.Drawing.Size(357, 118);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonInputBox";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.KryptonInputBoxTest_FormClosing);
     this.Load           += new System.EventHandler(this.KryptonInputBoxTest_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     this.ResumeLayout(false);
 }
        /// <summary>
        /// Initializes the Form's components.
        /// </summary>
        private void InitializeComponent()
        {
            components = new Container();

            _byteViewer = new KryptonByteViewer();
            KryptonPanel       bottomPanel         = new KryptonPanel();
            KryptonPanel       topPanel            = new KryptonPanel();
            KryptonGroupBox    groupBox            = new KryptonGroupBox();
            KryptonCheckButton unicodeButton       = new KryptonCheckButton();
            KryptonCheckButton hexButton           = new KryptonCheckButton();
            KryptonCheckButton ansiButton          = new KryptonCheckButton();
            KryptonCheckButton export              = new KryptonCheckButton();
            KryptonCheckSet    displayModeCheckset = new KryptonCheckSet(components);

            ((ISupportInitialize)(topPanel)).BeginInit();
            topPanel.SuspendLayout();
            ((ISupportInitialize)(groupBox)).BeginInit();
            groupBox.Panel.BeginInit();
            groupBox.Panel.SuspendLayout();
            groupBox.SuspendLayout();
            ((ISupportInitialize)(displayModeCheckset)).BeginInit();
            ((ISupportInitialize)(bottomPanel)).BeginInit();
            SuspendLayout();
            //
            // topPanel
            //
            topPanel.AutoSize = true;
            topPanel.Controls.Add(groupBox);
            topPanel.Controls.Add(export);
            topPanel.Dock     = DockStyle.Top;
            topPanel.Location = new System.Drawing.Point(0, 0);
            topPanel.Name     = "topPanel";
            topPanel.Padding  = new Padding(5);
            topPanel.Size     = new System.Drawing.Size(639, 65);
            topPanel.TabIndex = 0;
            //
            // groupBox
            //
            groupBox.AutoSize = true;
            groupBox.Location = new System.Drawing.Point(5, 0);
            groupBox.Name     = "groupBox";
            //
            // groupBox.Panel
            //
            groupBox.Panel.Controls.Add(unicodeButton);
            groupBox.Panel.Controls.Add(hexButton);
            groupBox.Panel.Controls.Add(ansiButton);
            groupBox.Size           = new System.Drawing.Size(280, 57);
            groupBox.TabIndex       = 0;
            groupBox.Values.Heading = @"Display Mode";
            //
            // unicodeButton
            //
            unicodeButton.Location    = new System.Drawing.Point(141, 3);
            unicodeButton.Name        = "unicodeButton";
            unicodeButton.Size        = new System.Drawing.Size(63, 25);
            unicodeButton.TabIndex    = 3;
            unicodeButton.Values.Text = @"Unicode";
            //
            // hexButton
            //
            hexButton.Checked     = true;
            hexButton.Location    = new System.Drawing.Point(3, 3);
            hexButton.Name        = "hexButton";
            hexButton.Size        = new System.Drawing.Size(63, 25);
            hexButton.TabIndex    = 2;
            hexButton.Values.Text = @"Hex";
            //
            // ansiButton
            //
            ansiButton.Location    = new System.Drawing.Point(72, 3);
            ansiButton.Name        = "ansiButton";
            ansiButton.Size        = new System.Drawing.Size(63, 25);
            ansiButton.TabIndex    = 1;
            ansiButton.Values.Text = @"ANSI";
            //

            // displayModeCheckset
            //
            displayModeCheckset.CheckButtons.Add(ansiButton);
            displayModeCheckset.CheckButtons.Add(hexButton);
            displayModeCheckset.CheckButtons.Add(unicodeButton);
            displayModeCheckset.CheckedButton         = hexButton;
            displayModeCheckset.CheckedButtonChanged += OnCheckedButtonChanged;
            //
            // export
            //
            export.Location    = new System.Drawing.Point(535, 22);
            export.Name        = "export";
            export.Size        = new System.Drawing.Size(80, 25);
            export.TabIndex    = 4;
            export.Values.Text = @"Export...";
            export.Click      += OnClickExport;
            //
            // bottomPanel
            //
            bottomPanel.Dock     = DockStyle.Fill;
            bottomPanel.Location = new System.Drawing.Point(0, 65);
            bottomPanel.Name     = "bottomPanel";
            bottomPanel.Size     = new System.Drawing.Size(639, 401);
            bottomPanel.TabIndex = 1;
            bottomPanel.Controls.Add(_byteViewer);
            //
            // byteViewer
            //
            _byteViewer.Dock            = DockStyle.Fill;
            _byteViewer.CellBorderStyle = TableLayoutPanelCellBorderStyle.None;
            //
            // Form1
            //
            AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            AutoScaleMode       = AutoScaleMode.Font;
            ClientSize          = new System.Drawing.Size(639, 466);
            Controls.Add(bottomPanel);
            Controls.Add(topPanel);
            FormBorderStyle = FormBorderStyle.FixedToolWindow;
            StartPosition   = FormStartPosition.CenterParent;
            Name            = @"Binary Viewer";
            Text            = @"Binary Viewer";
            ((ISupportInitialize)(topPanel)).EndInit();
            topPanel.ResumeLayout(false);
            topPanel.PerformLayout();
            groupBox.Panel.EndInit();
            groupBox.Panel.ResumeLayout(false);
            ((ISupportInitialize)(groupBox)).EndInit();
            groupBox.ResumeLayout(false);
            ((ISupportInitialize)(displayModeCheckset)).EndInit();
            ((ISupportInitialize)(bottomPanel)).EndInit();
            ResumeLayout(false);
            PerformLayout();
        }
예제 #10
0
 private void InitializeComponent()
 {
     this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnOK        = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCancel    = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.ktxtPrompt    = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.kwlMessage    = new ComponentFactory.Krypton.Toolkit.KryptonWrapLabel();
     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();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnOK);
     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(622, 49);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnOK
     //
     this.kbtnOK.Location    = new System.Drawing.Point(424, 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.Enabled     = false;
     this.kbtnOK.Click      += new System.EventHandler(this.kbtnOK_Click);
     //
     // kbtnCancel
     //
     this.kbtnCancel.Location    = new System.Drawing.Point(520, 12);
     this.kbtnCancel.Name        = "kbtnCancel";
     this.kbtnCancel.Size        = new System.Drawing.Size(90, 25);
     this.kbtnCancel.TabIndex    = 0;
     this.kbtnCancel.Values.Text = "C&ancel";
     this.kbtnCancel.Click      += new System.EventHandler(this.kbtnCancel_Click);
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.ktxtPrompt);
     this.kryptonPanel2.Controls.Add(this.kwlMessage);
     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(622, 212);
     this.kryptonPanel2.TabIndex = 1;
     //
     // ktxtPrompt
     //
     this.ktxtPrompt.Location = new System.Drawing.Point(12, 178);
     this.ktxtPrompt.Name     = "ktxtPrompt";
     this.ktxtPrompt.Size     = new System.Drawing.Size(598, 24);
     this.ktxtPrompt.StateCommon.Content.Font  = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktxtPrompt.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktxtPrompt.TabIndex     = 3;
     this.ktxtPrompt.TextChanged += new System.EventHandler(ktxtPrompt_TextChanged);
     //
     // kwlMessage
     //
     this.kwlMessage.AutoSize         = false;
     this.kwlMessage.Font             = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kwlMessage.ForeColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kwlMessage.Location         = new System.Drawing.Point(12, 9);
     this.kwlMessage.Name             = "kwlMessage";
     this.kwlMessage.Size             = new System.Drawing.Size(598, 156);
     this.kwlMessage.StateCommon.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kwlMessage.Text             = "{0}";
     this.kwlMessage.TextAlign        = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 209);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(622, 3);
     this.panel1.TabIndex  = 2;
     //
     // KryptonInputBox
     //
     this.ClientSize = new System.Drawing.Size(622, 261);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "KryptonInputBox";
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.FormClosing  += new FormClosingEventHandler(KryptonInputBox_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #11
0
 private void InitializeComponent()
 {
     this._panelMessage = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._labelPrompt  = new ComponentFactory.Krypton.Toolkit.KryptonWrapLabel();
     this._buttonCancel = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this._buttonOK     = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ktxtResponse  = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     ((System.ComponentModel.ISupportInitialize)(this._panelMessage)).BeginInit();
     this._panelMessage.SuspendLayout();
     this.SuspendLayout();
     //
     // _panelMessage
     //
     this._panelMessage.Controls.Add(this.ktxtResponse);
     this._panelMessage.Controls.Add(this._labelPrompt);
     this._panelMessage.Controls.Add(this._buttonCancel);
     this._panelMessage.Controls.Add(this._buttonOK);
     this._panelMessage.Dock     = System.Windows.Forms.DockStyle.Fill;
     this._panelMessage.Location = new System.Drawing.Point(0, 0);
     this._panelMessage.Name     = "_panelMessage";
     this._panelMessage.Size     = new System.Drawing.Size(357, 118);
     this._panelMessage.TabIndex = 0;
     //
     // _labelPrompt
     //
     this._labelPrompt.AutoSize   = false;
     this._labelPrompt.Font       = new System.Drawing.Font("Segoe UI", 9F);
     this._labelPrompt.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this._labelPrompt.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalPanel;
     this._labelPrompt.Location   = new System.Drawing.Point(12, 12);
     this._labelPrompt.Margin     = new System.Windows.Forms.Padding(0);
     this._labelPrompt.Name       = "_labelPrompt";
     this._labelPrompt.Size       = new System.Drawing.Size(78, 15);
     this._labelPrompt.Text       = "Prompt";
     //
     // _buttonCancel
     //
     this._buttonCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonCancel.AutoSize     = true;
     this._buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._buttonCancel.Location     = new System.Drawing.Point(295, 43);
     this._buttonCancel.Margin       = new System.Windows.Forms.Padding(0);
     this._buttonCancel.MinimumSize  = new System.Drawing.Size(50, 26);
     this._buttonCancel.Name         = "_buttonCancel";
     this._buttonCancel.Size         = new System.Drawing.Size(50, 26);
     this._buttonCancel.TabIndex     = 2;
     this._buttonCancel.Values.Text  = "Cancel";
     //
     // _buttonOK
     //
     this._buttonOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonOK.AutoSize     = true;
     this._buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._buttonOK.Location     = new System.Drawing.Point(295, 12);
     this._buttonOK.Margin       = new System.Windows.Forms.Padding(0);
     this._buttonOK.MinimumSize  = new System.Drawing.Size(50, 26);
     this._buttonOK.Name         = "_buttonOK";
     this._buttonOK.Size         = new System.Drawing.Size(50, 26);
     this._buttonOK.TabIndex     = 1;
     this._buttonOK.Values.Text  = "OK";
     //
     // ktxtResponse
     //
     this.ktxtResponse.Location = new System.Drawing.Point(12, 83);
     this.ktxtResponse.Name     = "ktxtResponse";
     this.ktxtResponse.Size     = new System.Drawing.Size(333, 23);
     this.ktxtResponse.TabIndex = 3;
     //
     // KryptonInputBox
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(357, 118);
     this.Controls.Add(this._panelMessage);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonInputBox";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     ((System.ComponentModel.ISupportInitialize)(this._panelMessage)).EndInit();
     this._panelMessage.ResumeLayout(false);
     this._panelMessage.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #12
0
        private void LoadRooms(TabPage roomTypeTab)
        {
            try
            {

                long TypeID = ((RoomType)roomTypeTab.Tag).Typeid;
                KryptonPanel roomOutlinePane = new KryptonPanel();
                TableLayoutPanel roomLayoutPane = new TableLayoutPanel();

                RoomCollection mRoomColl = new RoomCollection();
                if (TypeID > -1)
                    mRoomColl.Where(Room.TypeidColumn.ColumnName, TypeID).Load();
                else
                    mRoomColl.Load();

                roomLayoutPane.RowCount = mRoomColl.Count >= 26 ? mRoomColl.Count - 1 : 25;
                roomLayoutPane.ColumnCount = 12;
                roomLayoutPane.Size = new Size(ROOM_BUTTON_WIDTH * roomLayoutPane.RowCount + 3, ROOM_BUTTON_HEIGHT * roomLayoutPane.ColumnCount + 3);

                int currRowIndex = 0; int currColIndex = 0;
                roomLayoutPane.SuspendLayout();
                foreach (Room room in mRoomColl)
                {
                    var roomButton = new KryptonButton
                    {
                        Name = ("RM" + room.Roomid),
                        Size = new Size(ROOM_BUTTON_WIDTH, ROOM_BUTTON_HEIGHT),
                        Text =
                            (room.Name.Trim().ToLowerInvariant().StartsWith("room")
                                 ? room.Name
                                 : "Room " + room.Name),
                        Tag = room
                    };

                    CreateRoomMenu(roomButton);
                    roomLayoutPane.Controls.Add(roomButton);
                    roomLayoutPane.SetRow(roomButton, currRowIndex);
                    roomLayoutPane.SetColumn(roomButton, currColIndex);

                    if (currColIndex == roomLayoutPane.ColumnCount)
                    {
                        currRowIndex++;
                        currColIndex = 0;
                    }
                    else
                    {
                        currColIndex++;
                    }
                }
                roomLayoutPane.ResumeLayout();
                roomLayoutPane.BackColor = Color.Transparent;
                roomOutlinePane.Dock = DockStyle.Fill;
                roomOutlinePane.Controls.Add(roomLayoutPane);
                roomTypeTab.Controls.Add(roomOutlinePane); //Add to Current Tab
            }
            catch (Exception ex) { }
        }
예제 #13
0
 private void InitializeComponent()
 {
     _panelMessage    = new KryptonPanel();
     _textBoxResponse = new KryptonTextBox();
     _labelPrompt     = new KryptonWrapLabel();
     _buttonCancel    = new KryptonButton();
     _buttonOK        = new KryptonButton();
     ((ISupportInitialize)(_panelMessage)).BeginInit();
     _panelMessage.SuspendLayout();
     SuspendLayout();
     //
     // _panelMessage
     //
     _panelMessage.Controls.Add(_textBoxResponse);
     _panelMessage.Controls.Add(_labelPrompt);
     _panelMessage.Controls.Add(_buttonCancel);
     _panelMessage.Controls.Add(_buttonOK);
     _panelMessage.Dock     = DockStyle.Fill;
     _panelMessage.Location = new Point(0, 0);
     _panelMessage.Name     = "_panelMessage";
     _panelMessage.Size     = new Size(357, 118);
     _panelMessage.TabIndex = 0;
     //
     // _textBoxResponse
     //
     _textBoxResponse.Location = new Point(12, 86);
     _textBoxResponse.Name     = "_textBoxResponse";
     _textBoxResponse.Size     = new Size(333, 20);
     _textBoxResponse.TabIndex = 0;
     //
     // _labelPrompt
     //
     _labelPrompt.AutoSize   = false;
     _labelPrompt.Font       = new Font("Segoe UI", 9F);
     _labelPrompt.ForeColor  = Color.FromArgb(30, 57, 91);
     _labelPrompt.LabelStyle = LabelStyle.NormalPanel;
     _labelPrompt.Location   = new Point(12, 12);
     _labelPrompt.Margin     = new Padding(0);
     _labelPrompt.Name       = "_labelPrompt";
     _labelPrompt.Size       = new Size(78, 15);
     _labelPrompt.Text       = "Prompt";
     //
     // _buttonCancel
     //
     _buttonCancel.Anchor       = AnchorStyles.Top | AnchorStyles.Right;
     _buttonCancel.AutoSize     = true;
     _buttonCancel.DialogResult = DialogResult.Cancel;
     _buttonCancel.Location     = new Point(295, 43);
     _buttonCancel.Margin       = new Padding(0);
     _buttonCancel.MinimumSize  = new Size(50, 26);
     _buttonCancel.Name         = "_buttonCancel";
     _buttonCancel.Size         = new Size(50, 26);
     _buttonCancel.TabIndex     = 2;
     _buttonCancel.Values.Text  = "Cancel";
     _buttonCancel.KeyDown     += button_keyDown;
     //
     // _buttonOK
     //
     _buttonOK.Anchor       = AnchorStyles.Top | AnchorStyles.Right;
     _buttonOK.AutoSize     = true;
     _buttonOK.DialogResult = DialogResult.OK;
     _buttonOK.Location     = new Point(295, 12);
     _buttonOK.Margin       = new Padding(0);
     _buttonOK.MinimumSize  = new Size(50, 26);
     _buttonOK.Name         = "_buttonOK";
     _buttonOK.Size         = new Size(50, 26);
     _buttonOK.TabIndex     = 1;
     _buttonOK.Values.Text  = "OK";
     _buttonOK.KeyDown     += button_keyDown;
     //
     // KryptonInputBox
     //
     AutoScaleDimensions = new SizeF(6F, 13F);
     AutoScaleMode       = AutoScaleMode.Font;
     ClientSize          = new Size(357, 118);
     Controls.Add(_panelMessage);
     FormBorderStyle = FormBorderStyle.FixedDialog;
     MaximizeBox     = false;
     MinimizeBox     = false;
     Name            = "KryptonInputBox";
     ShowIcon        = false;
     ShowInTaskbar   = false;
     SizeGripStyle   = SizeGripStyle.Hide;
     StartPosition   = FormStartPosition.CenterParent;
     ((ISupportInitialize)(_panelMessage)).EndInit();
     _panelMessage.ResumeLayout(false);
     _panelMessage.PerformLayout();
     ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     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();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues9  = 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 popupPositionValues13 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues14 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues15 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues16 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues17 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues18 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues19 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues20 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues21 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues22 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues23 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues24 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues25 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues26 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues27 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues28 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues29 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues30 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues31 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues1  = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues();
     this.kryptonPanel1           = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnRandomPasswords     = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCircularProgressBar = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.Toast                         = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnThemeChooser              = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnAeroWizard                = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnListView                  = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnPropertyGrid              = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnMessageboxTest2           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnFileExplorer              = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnFileBrowser               = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnAdobeColourDialog         = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnColourWheel               = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnMoreControls              = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnKryptonWizard             = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnRGBToHEX                  = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnGlobalOptions             = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnThemeOptions              = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnSettings                  = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnColourChooser1            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnColourChooser2            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnScrollbars                = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnToolstrips                = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnTypefaceSelectionDialogue = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnPaletteEditor             = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnMessageboxTest            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnFileCreator               = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnColourCreator             = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnColourMixer               = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnHexToRGB                  = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnConvertColour             = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnScanFiles                 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnScanFiles);
     this.kryptonPanel1.Controls.Add(this.kbtnRandomPasswords);
     this.kryptonPanel1.Controls.Add(this.kbtnCircularProgressBar);
     this.kryptonPanel1.Controls.Add(this.Toast);
     this.kryptonPanel1.Controls.Add(this.kbtnThemeChooser);
     this.kryptonPanel1.Controls.Add(this.kbtnAeroWizard);
     this.kryptonPanel1.Controls.Add(this.kbtnListView);
     this.kryptonPanel1.Controls.Add(this.kbtnPropertyGrid);
     this.kryptonPanel1.Controls.Add(this.kbtnMessageboxTest2);
     this.kryptonPanel1.Controls.Add(this.kbtnFileExplorer);
     this.kryptonPanel1.Controls.Add(this.kbtnFileBrowser);
     this.kryptonPanel1.Controls.Add(this.kbtnAdobeColourDialog);
     this.kryptonPanel1.Controls.Add(this.kbtnColourWheel);
     this.kryptonPanel1.Controls.Add(this.kbtnMoreControls);
     this.kryptonPanel1.Controls.Add(this.kbtnKryptonWizard);
     this.kryptonPanel1.Controls.Add(this.kbtnRGBToHEX);
     this.kryptonPanel1.Controls.Add(this.kbtnGlobalOptions);
     this.kryptonPanel1.Controls.Add(this.kbtnThemeOptions);
     this.kryptonPanel1.Controls.Add(this.kbtnSettings);
     this.kryptonPanel1.Controls.Add(this.kbtnColourChooser1);
     this.kryptonPanel1.Controls.Add(this.kbtnColourChooser2);
     this.kryptonPanel1.Controls.Add(this.kbtnScrollbars);
     this.kryptonPanel1.Controls.Add(this.kbtnToolstrips);
     this.kryptonPanel1.Controls.Add(this.kbtnTypefaceSelectionDialogue);
     this.kryptonPanel1.Controls.Add(this.kbtnPaletteEditor);
     this.kryptonPanel1.Controls.Add(this.kbtnMessageboxTest);
     this.kryptonPanel1.Controls.Add(this.kbtnFileCreator);
     this.kryptonPanel1.Controls.Add(this.kbtnColourCreator);
     this.kryptonPanel1.Controls.Add(this.kbtnColourMixer);
     this.kryptonPanel1.Controls.Add(this.kbtnHexToRGB);
     this.kryptonPanel1.Controls.Add(this.kbtnConvertColour);
     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(971, 597);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnRandomPasswords
     //
     this.kbtnRandomPasswords.Location       = new System.Drawing.Point(737, 207);
     this.kbtnRandomPasswords.Name           = "kbtnRandomPasswords";
     this.kbtnRandomPasswords.Size           = new System.Drawing.Size(218, 25);
     this.kbtnRandomPasswords.TabIndex       = 80;
     popupPositionValues2.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues2.PlacementTarget    = null;
     this.kbtnRandomPasswords.ToolTipValues.ToolTipPosition = popupPositionValues2;
     this.kbtnRandomPasswords.Values.Text = "Random Password Generator";
     this.kbtnRandomPasswords.Click      += new System.EventHandler(this.kbtnRandomPasswords_Click);
     //
     // kbtnCircularProgressBar
     //
     this.kbtnCircularProgressBar.Location   = new System.Drawing.Point(737, 168);
     this.kbtnCircularProgressBar.Name       = "kbtnCircularProgressBar";
     this.kbtnCircularProgressBar.Size       = new System.Drawing.Size(218, 25);
     this.kbtnCircularProgressBar.TabIndex   = 79;
     popupPositionValues3.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues3.PlacementTarget    = null;
     this.kbtnCircularProgressBar.ToolTipValues.ToolTipPosition = popupPositionValues3;
     this.kbtnCircularProgressBar.Values.Text = "Circular Progress Bar";
     this.kbtnCircularProgressBar.Click      += new System.EventHandler(this.kbtnCircularProgressBar_Click);
     //
     // Toast
     //
     this.Toast.Location = new System.Drawing.Point(737, 129);
     this.Toast.Name     = "Toast";
     this.Toast.Size     = new System.Drawing.Size(218, 25);
     this.Toast.TabIndex = 78;
     popupPositionValues4.PlacementRectangle  = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues4.PlacementTarget     = null;
     this.Toast.ToolTipValues.ToolTipPosition = popupPositionValues4;
     this.Toast.Values.Text = "Toast";
     this.Toast.Click      += new System.EventHandler(this.Toast_Click);
     //
     // kbtnThemeChooser
     //
     this.kbtnThemeChooser.Location                      = new System.Drawing.Point(737, 90);
     this.kbtnThemeChooser.Name                          = "kbtnThemeChooser";
     this.kbtnThemeChooser.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnThemeChooser.TabIndex                      = 77;
     popupPositionValues5.PlacementRectangle             = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues5.PlacementTarget                = null;
     this.kbtnThemeChooser.ToolTipValues.ToolTipPosition = popupPositionValues5;
     this.kbtnThemeChooser.Values.Text                   = "Theme Chooser";
     this.kbtnThemeChooser.Click                        += new System.EventHandler(this.kbtnThemeChooser_Click);
     //
     // kbtnAeroWizard
     //
     this.kbtnAeroWizard.Location                      = new System.Drawing.Point(737, 51);
     this.kbtnAeroWizard.Name                          = "kbtnAeroWizard";
     this.kbtnAeroWizard.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnAeroWizard.TabIndex                      = 76;
     popupPositionValues6.PlacementRectangle           = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues6.PlacementTarget              = null;
     this.kbtnAeroWizard.ToolTipValues.ToolTipPosition = popupPositionValues6;
     this.kbtnAeroWizard.Values.Text                   = "Aero Wizard";
     //
     // kbtnListView
     //
     this.kbtnListView.Location = new System.Drawing.Point(737, 12);
     this.kbtnListView.Name     = "kbtnListView";
     this.kbtnListView.Size     = new System.Drawing.Size(218, 25);
     this.kbtnListView.TabIndex = 75;
     popupPositionValues7.PlacementRectangle         = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues7.PlacementTarget            = null;
     this.kbtnListView.ToolTipValues.ToolTipPosition = popupPositionValues7;
     this.kbtnListView.Values.Text = "List View";
     this.kbtnListView.Click      += new System.EventHandler(this.kbtnListView_Click);
     //
     // kbtnPropertyGrid
     //
     this.kbtnPropertyGrid.Location = new System.Drawing.Point(496, 285);
     this.kbtnPropertyGrid.Name     = "kbtnPropertyGrid";
     this.kbtnPropertyGrid.Size     = new System.Drawing.Size(218, 25);
     this.kbtnPropertyGrid.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnPropertyGrid.TabIndex                      = 74;
     popupPositionValues8.PlacementRectangle             = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues8.PlacementTarget                = null;
     this.kbtnPropertyGrid.ToolTipValues.ToolTipPosition = popupPositionValues8;
     this.kbtnPropertyGrid.Values.Text                   = "Property Grid";
     this.kbtnPropertyGrid.Click += new System.EventHandler(this.kbtnPropertyGrid_Click);
     //
     // kbtnMessageboxTest2
     //
     this.kbtnMessageboxTest2.Location = new System.Drawing.Point(496, 246);
     this.kbtnMessageboxTest2.Name     = "kbtnMessageboxTest2";
     this.kbtnMessageboxTest2.Size     = new System.Drawing.Size(218, 25);
     this.kbtnMessageboxTest2.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnMessageboxTest2.TabIndex       = 73;
     popupPositionValues9.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues9.PlacementTarget    = null;
     this.kbtnMessageboxTest2.ToolTipValues.ToolTipPosition = popupPositionValues9;
     this.kbtnMessageboxTest2.Values.Text = "Messagebox Test 2";
     this.kbtnMessageboxTest2.Click      += new System.EventHandler(this.kbtnMessageboxTest2_Click);
     //
     // kbtnFileExplorer
     //
     this.kbtnFileExplorer.Location                      = new System.Drawing.Point(496, 207);
     this.kbtnFileExplorer.Name                          = "kbtnFileExplorer";
     this.kbtnFileExplorer.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnFileExplorer.TabIndex                      = 72;
     popupPositionValues10.PlacementRectangle            = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues10.PlacementTarget               = null;
     this.kbtnFileExplorer.ToolTipValues.ToolTipPosition = popupPositionValues10;
     this.kbtnFileExplorer.Values.Text                   = "File Explorer";
     this.kbtnFileExplorer.Click                        += new System.EventHandler(this.kbtnFileExplorer_Click);
     //
     // kbtnFileBrowser
     //
     this.kbtnFileBrowser.Location                      = new System.Drawing.Point(496, 168);
     this.kbtnFileBrowser.Name                          = "kbtnFileBrowser";
     this.kbtnFileBrowser.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnFileBrowser.TabIndex                      = 71;
     popupPositionValues11.PlacementRectangle           = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues11.PlacementTarget              = null;
     this.kbtnFileBrowser.ToolTipValues.ToolTipPosition = popupPositionValues11;
     this.kbtnFileBrowser.Values.Text                   = "File Browser";
     this.kbtnFileBrowser.Click                        += new System.EventHandler(this.kbtnFileBrowser_Click);
     //
     // kbtnAdobeColourDialog
     //
     this.kbtnAdobeColourDialog.Location      = new System.Drawing.Point(497, 129);
     this.kbtnAdobeColourDialog.Name          = "kbtnAdobeColourDialog";
     this.kbtnAdobeColourDialog.Size          = new System.Drawing.Size(218, 25);
     this.kbtnAdobeColourDialog.TabIndex      = 70;
     popupPositionValues12.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues12.PlacementTarget    = null;
     this.kbtnAdobeColourDialog.ToolTipValues.ToolTipPosition = popupPositionValues12;
     this.kbtnAdobeColourDialog.Values.Text = "Adobe Colour Dialog";
     this.kbtnAdobeColourDialog.Click      += new System.EventHandler(this.kbtnAdobeColourDialog_Click);
     //
     // kbtnColourWheel
     //
     this.kbtnColourWheel.Location                      = new System.Drawing.Point(497, 90);
     this.kbtnColourWheel.Name                          = "kbtnColourWheel";
     this.kbtnColourWheel.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnColourWheel.TabIndex                      = 69;
     popupPositionValues13.PlacementRectangle           = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues13.PlacementTarget              = null;
     this.kbtnColourWheel.ToolTipValues.ToolTipPosition = popupPositionValues13;
     this.kbtnColourWheel.Values.Text                   = "Colour Wheel";
     this.kbtnColourWheel.Click                        += new System.EventHandler(this.kbtnColourWheel_Click);
     //
     // kbtnMoreControls
     //
     this.kbtnMoreControls.Location                      = new System.Drawing.Point(497, 51);
     this.kbtnMoreControls.Name                          = "kbtnMoreControls";
     this.kbtnMoreControls.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnMoreControls.TabIndex                      = 68;
     popupPositionValues14.PlacementRectangle            = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues14.PlacementTarget               = null;
     this.kbtnMoreControls.ToolTipValues.ToolTipPosition = popupPositionValues14;
     this.kbtnMoreControls.Values.Text                   = "More Controls...";
     this.kbtnMoreControls.Click                        += new System.EventHandler(this.kbtnMoreControls_Click);
     //
     // kbtnKryptonWizard
     //
     this.kbtnKryptonWizard.Location                      = new System.Drawing.Point(497, 12);
     this.kbtnKryptonWizard.Name                          = "kbtnKryptonWizard";
     this.kbtnKryptonWizard.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnKryptonWizard.TabIndex                      = 67;
     popupPositionValues15.PlacementRectangle             = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues15.PlacementTarget                = null;
     this.kbtnKryptonWizard.ToolTipValues.ToolTipPosition = popupPositionValues15;
     this.kbtnKryptonWizard.Values.Text                   = "Wizard";
     this.kbtnKryptonWizard.Click                        += new System.EventHandler(this.kbtnKryptonWizard_Click);
     //
     // kbtnRGBToHEX
     //
     this.kbtnRGBToHEX.Location = new System.Drawing.Point(255, 90);
     this.kbtnRGBToHEX.Name     = "kbtnRGBToHEX";
     this.kbtnRGBToHEX.Size     = new System.Drawing.Size(218, 25);
     this.kbtnRGBToHEX.TabIndex = 66;
     popupPositionValues16.PlacementRectangle        = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues16.PlacementTarget           = null;
     this.kbtnRGBToHEX.ToolTipValues.ToolTipPosition = popupPositionValues16;
     this.kbtnRGBToHEX.Values.Text = "Convert Colour (RGB to Hex)";
     this.kbtnRGBToHEX.Click      += new System.EventHandler(this.kbtnRGBToHEX_Click);
     //
     // kbtnGlobalOptions
     //
     this.kbtnGlobalOptions.Location                      = new System.Drawing.Point(12, 285);
     this.kbtnGlobalOptions.Name                          = "kbtnGlobalOptions";
     this.kbtnGlobalOptions.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnGlobalOptions.TabIndex                      = 65;
     popupPositionValues17.PlacementRectangle             = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues17.PlacementTarget                = null;
     this.kbtnGlobalOptions.ToolTipValues.ToolTipPosition = popupPositionValues17;
     this.kbtnGlobalOptions.Values.Text                   = "Global Options";
     this.kbtnGlobalOptions.Click                        += new System.EventHandler(this.kbtnGlobalOptions_Click);
     //
     // kbtnThemeOptions
     //
     this.kbtnThemeOptions.Location                      = new System.Drawing.Point(255, 285);
     this.kbtnThemeOptions.Name                          = "kbtnThemeOptions";
     this.kbtnThemeOptions.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnThemeOptions.TabIndex                      = 64;
     popupPositionValues18.PlacementRectangle            = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues18.PlacementTarget               = null;
     this.kbtnThemeOptions.ToolTipValues.ToolTipPosition = popupPositionValues18;
     this.kbtnThemeOptions.Values.Text                   = "Theme Options";
     this.kbtnThemeOptions.Click                        += new System.EventHandler(this.kbtnThemeOptions_Click);
     //
     // kbtnSettings
     //
     this.kbtnSettings.Location = new System.Drawing.Point(255, 246);
     this.kbtnSettings.Name     = "kbtnSettings";
     this.kbtnSettings.Size     = new System.Drawing.Size(218, 25);
     this.kbtnSettings.TabIndex = 63;
     popupPositionValues19.PlacementRectangle        = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues19.PlacementTarget           = null;
     this.kbtnSettings.ToolTipValues.ToolTipPosition = popupPositionValues19;
     this.kbtnSettings.Values.Text = "Settings Options";
     this.kbtnSettings.Click      += new System.EventHandler(this.kbtnSettings_Click);
     //
     // kbtnColourChooser1
     //
     this.kbtnColourChooser1.Location         = new System.Drawing.Point(12, 207);
     this.kbtnColourChooser1.Name             = "kbtnColourChooser1";
     this.kbtnColourChooser1.Size             = new System.Drawing.Size(218, 25);
     this.kbtnColourChooser1.TabIndex         = 62;
     popupPositionValues20.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues20.PlacementTarget    = null;
     this.kbtnColourChooser1.ToolTipValues.ToolTipPosition = popupPositionValues20;
     this.kbtnColourChooser1.Values.Text = "Colour Chooser 1";
     this.kbtnColourChooser1.Click      += new System.EventHandler(this.kbtnColourChooser1_Click);
     //
     // kbtnColourChooser2
     //
     this.kbtnColourChooser2.Location         = new System.Drawing.Point(12, 246);
     this.kbtnColourChooser2.Name             = "kbtnColourChooser2";
     this.kbtnColourChooser2.Size             = new System.Drawing.Size(218, 25);
     this.kbtnColourChooser2.TabIndex         = 61;
     popupPositionValues21.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues21.PlacementTarget    = null;
     this.kbtnColourChooser2.ToolTipValues.ToolTipPosition = popupPositionValues21;
     this.kbtnColourChooser2.Values.Text = "Colour Chooser 2";
     this.kbtnColourChooser2.Click      += new System.EventHandler(this.kbtnColourChooser2_Click);
     //
     // kbtnScrollbars
     //
     this.kbtnScrollbars.Location                      = new System.Drawing.Point(12, 129);
     this.kbtnScrollbars.Name                          = "kbtnScrollbars";
     this.kbtnScrollbars.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnScrollbars.TabIndex                      = 60;
     popupPositionValues22.PlacementRectangle          = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues22.PlacementTarget             = null;
     this.kbtnScrollbars.ToolTipValues.ToolTipPosition = popupPositionValues22;
     this.kbtnScrollbars.Values.Text                   = "Scrollbars";
     this.kbtnScrollbars.Click                        += new System.EventHandler(this.kbtnScrollbars_Click);
     //
     // kbtnToolstrips
     //
     this.kbtnToolstrips.Location                      = new System.Drawing.Point(12, 168);
     this.kbtnToolstrips.Name                          = "kbtnToolstrips";
     this.kbtnToolstrips.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnToolstrips.TabIndex                      = 59;
     popupPositionValues23.PlacementRectangle          = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues23.PlacementTarget             = null;
     this.kbtnToolstrips.ToolTipValues.ToolTipPosition = popupPositionValues23;
     this.kbtnToolstrips.Values.Text                   = "Toolstrips";
     this.kbtnToolstrips.Click                        += new System.EventHandler(this.kbtnToolstrips_Click);
     //
     // kbtnTypefaceSelectionDialogue
     //
     this.kbtnTypefaceSelectionDialogue.Location = new System.Drawing.Point(255, 207);
     this.kbtnTypefaceSelectionDialogue.Name     = "kbtnTypefaceSelectionDialogue";
     this.kbtnTypefaceSelectionDialogue.Size     = new System.Drawing.Size(218, 25);
     this.kbtnTypefaceSelectionDialogue.TabIndex = 58;
     popupPositionValues24.PlacementRectangle    = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues24.PlacementTarget       = null;
     this.kbtnTypefaceSelectionDialogue.ToolTipValues.ToolTipPosition = popupPositionValues24;
     this.kbtnTypefaceSelectionDialogue.Values.Text = "Typeface Selection Dialogue";
     this.kbtnTypefaceSelectionDialogue.Click      += new System.EventHandler(this.kbtnTypefaceSelectionDialogue_Click);
     //
     // kbtnPaletteEditor
     //
     this.kbtnPaletteEditor.Location                      = new System.Drawing.Point(12, 90);
     this.kbtnPaletteEditor.Name                          = "kbtnPaletteEditor";
     this.kbtnPaletteEditor.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnPaletteEditor.TabIndex                      = 57;
     popupPositionValues25.PlacementRectangle             = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues25.PlacementTarget                = null;
     this.kbtnPaletteEditor.ToolTipValues.ToolTipPosition = popupPositionValues25;
     this.kbtnPaletteEditor.Values.Text                   = "Palette Editor";
     this.kbtnPaletteEditor.Click                        += new System.EventHandler(this.kbtnPaletteEditor_Click);
     //
     // kbtnMessageboxTest
     //
     this.kbtnMessageboxTest.Location = new System.Drawing.Point(12, 51);
     this.kbtnMessageboxTest.Name     = "kbtnMessageboxTest";
     this.kbtnMessageboxTest.Size     = new System.Drawing.Size(218, 25);
     this.kbtnMessageboxTest.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnMessageboxTest.TabIndex         = 56;
     popupPositionValues26.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues26.PlacementTarget    = null;
     this.kbtnMessageboxTest.ToolTipValues.ToolTipPosition = popupPositionValues26;
     this.kbtnMessageboxTest.Values.Text = "Messagebox Test";
     this.kbtnMessageboxTest.Click      += new System.EventHandler(this.kbtnMessageboxTest_Click);
     //
     // kbtnFileCreator
     //
     this.kbtnFileCreator.Location                      = new System.Drawing.Point(12, 12);
     this.kbtnFileCreator.Name                          = "kbtnFileCreator";
     this.kbtnFileCreator.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnFileCreator.TabIndex                      = 55;
     popupPositionValues27.PlacementRectangle           = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues27.PlacementTarget              = null;
     this.kbtnFileCreator.ToolTipValues.ToolTipPosition = popupPositionValues27;
     this.kbtnFileCreator.Values.Text                   = "File Creator";
     this.kbtnFileCreator.Click                        += new System.EventHandler(this.kbtnFileCreator_Click);
     //
     // kbtnColourCreator
     //
     this.kbtnColourCreator.Location                      = new System.Drawing.Point(255, 168);
     this.kbtnColourCreator.Name                          = "kbtnColourCreator";
     this.kbtnColourCreator.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnColourCreator.TabIndex                      = 54;
     popupPositionValues28.PlacementRectangle             = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues28.PlacementTarget                = null;
     this.kbtnColourCreator.ToolTipValues.ToolTipPosition = popupPositionValues28;
     this.kbtnColourCreator.Values.Text                   = "Colour Creator";
     this.kbtnColourCreator.Click                        += new System.EventHandler(this.kbtnColourCreator_Click);
     //
     // kbtnColourMixer
     //
     this.kbtnColourMixer.Location                      = new System.Drawing.Point(255, 129);
     this.kbtnColourMixer.Name                          = "kbtnColourMixer";
     this.kbtnColourMixer.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnColourMixer.TabIndex                      = 53;
     popupPositionValues29.PlacementRectangle           = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues29.PlacementTarget              = null;
     this.kbtnColourMixer.ToolTipValues.ToolTipPosition = popupPositionValues29;
     this.kbtnColourMixer.Values.Text                   = "Colour Mixer";
     this.kbtnColourMixer.Click                        += new System.EventHandler(this.kbtnColourMixer_Click);
     //
     // kbtnHexToRGB
     //
     this.kbtnHexToRGB.Location = new System.Drawing.Point(255, 51);
     this.kbtnHexToRGB.Name     = "kbtnHexToRGB";
     this.kbtnHexToRGB.Size     = new System.Drawing.Size(218, 25);
     this.kbtnHexToRGB.TabIndex = 52;
     popupPositionValues30.PlacementRectangle        = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues30.PlacementTarget           = null;
     this.kbtnHexToRGB.ToolTipValues.ToolTipPosition = popupPositionValues30;
     this.kbtnHexToRGB.Values.Text = "Convert Colour (Hex to RGB)";
     this.kbtnHexToRGB.Click      += new System.EventHandler(this.kbtnHexToRGB_Click);
     //
     // kbtnConvertColour
     //
     this.kbtnConvertColour.Location                      = new System.Drawing.Point(255, 12);
     this.kbtnConvertColour.Name                          = "kbtnConvertColour";
     this.kbtnConvertColour.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnConvertColour.TabIndex                      = 51;
     popupPositionValues31.PlacementRectangle             = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues31.PlacementTarget                = null;
     this.kbtnConvertColour.ToolTipValues.ToolTipPosition = popupPositionValues31;
     this.kbtnConvertColour.Values.Text                   = "Convert Colour";
     this.kbtnConvertColour.Click                        += new System.EventHandler(this.kbtnConvertColour_Click);
     //
     // kbtnScanFiles
     //
     this.kbtnScanFiles.Location                      = new System.Drawing.Point(737, 246);
     this.kbtnScanFiles.Name                          = "kbtnScanFiles";
     this.kbtnScanFiles.Size                          = new System.Drawing.Size(218, 25);
     this.kbtnScanFiles.TabIndex                      = 81;
     popupPositionValues1.PlacementRectangle          = new System.Drawing.Rectangle(0, 0, 0, 0);
     popupPositionValues1.PlacementTarget             = null;
     this.kbtnScanFiles.ToolTipValues.ToolTipPosition = popupPositionValues1;
     this.kbtnScanFiles.Values.Text                   = "Scan Files";
     this.kbtnScanFiles.Click                        += new System.EventHandler(this.kbtnScanFiles_Click);
     //
     // TestRig
     //
     this.ClientSize = new System.Drawing.Size(971, 597);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "TestRig";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #15
0
 private void InitializeComponent()
 {
     this.kryptonPanel1    = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnOk           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCancel       = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnAbort        = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnYes          = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnNo           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.panel1           = new System.Windows.Forms.Panel();
     this.kryptonPanel2    = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.ktxtUserResponse = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.kcmbUserChoice   = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.klblMessage      = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.pbxIcon          = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcmbUserChoice)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbxIcon)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnOk);
     this.kryptonPanel1.Controls.Add(this.kbtnCancel);
     this.kryptonPanel1.Controls.Add(this.kbtnAbort);
     this.kryptonPanel1.Controls.Add(this.kbtnYes);
     this.kryptonPanel1.Controls.Add(this.kbtnNo);
     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(578, 51);
     this.kryptonPanel1.TabIndex = 1;
     //
     // 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(380, 8);
     this.kbtnOk.Name     = "kbtnOk";
     this.kbtnOk.Size     = new System.Drawing.Size(90, 31);
     this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.TabIndex    = 4;
     this.kbtnOk.Values.Text = "&OK";
     this.kbtnOk.Click      += new System.EventHandler(this.kbtnOk_Click);
     //
     // kbtnCancel
     //
     this.kbtnCancel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnCancel.Location = new System.Drawing.Point(476, 8);
     this.kbtnCancel.Name     = "kbtnCancel";
     this.kbtnCancel.Size     = new System.Drawing.Size(90, 31);
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex    = 3;
     this.kbtnCancel.Values.Text = "&Cancel";
     this.kbtnCancel.Click      += new System.EventHandler(this.kbtnCancel_Click);
     //
     // kbtnAbort
     //
     this.kbtnAbort.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnAbort.Location = new System.Drawing.Point(476, 8);
     this.kbtnAbort.Name     = "kbtnAbort";
     this.kbtnAbort.Size     = new System.Drawing.Size(90, 31);
     this.kbtnAbort.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnAbort.TabIndex    = 2;
     this.kbtnAbort.Values.Text = "&Abort";
     this.kbtnAbort.Click      += new System.EventHandler(this.kbtnAbort_Click);
     //
     // kbtnYes
     //
     this.kbtnYes.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnYes.Location = new System.Drawing.Point(380, 8);
     this.kbtnYes.Name     = "kbtnYes";
     this.kbtnYes.Size     = new System.Drawing.Size(90, 31);
     this.kbtnYes.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnYes.TabIndex    = 1;
     this.kbtnYes.Values.Text = "&Yes";
     this.kbtnYes.Click      += new System.EventHandler(this.kbtnYes_Click);
     //
     // kbtnNo
     //
     this.kbtnNo.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnNo.Location = new System.Drawing.Point(476, 8);
     this.kbtnNo.Name     = "kbtnNo";
     this.kbtnNo.Size     = new System.Drawing.Size(90, 31);
     this.kbtnNo.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnNo.TabIndex    = 0;
     this.kbtnNo.Values.Text = "&No";
     this.kbtnNo.Click      += new System.EventHandler(this.kbtnNo_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, 209);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(578, 3);
     this.panel1.TabIndex  = 9;
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.ktxtUserResponse);
     this.kryptonPanel2.Controls.Add(this.kcmbUserChoice);
     this.kryptonPanel2.Controls.Add(this.klblMessage);
     this.kryptonPanel2.Controls.Add(this.pbxIcon);
     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(578, 209);
     this.kryptonPanel2.TabIndex = 10;
     //
     // ktxtUserResponse
     //
     this.ktxtUserResponse.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.ktxtUserResponse.Location = new System.Drawing.Point(180, 150);
     this.ktxtUserResponse.Name     = "ktxtUserResponse";
     this.ktxtUserResponse.Size     = new System.Drawing.Size(269, 25);
     this.ktxtUserResponse.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktxtUserResponse.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktxtUserResponse.TabIndex = 12;
     this.ktxtUserResponse.ToolTipValues.Description    = "Type your response here...";
     this.ktxtUserResponse.ToolTipValues.EnableToolTips = true;
     this.ktxtUserResponse.ToolTipValues.Heading        = "User Response";
     //
     // kcmbUserChoice
     //
     this.kcmbUserChoice.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.kcmbUserChoice.DropDownStyle  = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcmbUserChoice.DropDownWidth  = 269;
     this.kcmbUserChoice.IntegralHeight = false;
     this.kcmbUserChoice.Location       = new System.Drawing.Point(180, 150);
     this.kcmbUserChoice.Name           = "kcmbUserChoice";
     this.kcmbUserChoice.Size           = new System.Drawing.Size(269, 23);
     this.kcmbUserChoice.StateCommon.ComboBox.Content.Font       = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbUserChoice.StateCommon.ComboBox.Content.TextH      = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcmbUserChoice.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcmbUserChoice.TabIndex = 11;
     //
     // 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(482, 132);
     this.klblMessage.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblMessage.TabIndex    = 10;
     this.klblMessage.Values.Text = "{0}";
     //
     // pbxIcon
     //
     this.pbxIcon.BackColor = System.Drawing.Color.Transparent;
     this.pbxIcon.Location  = new System.Drawing.Point(12, 12);
     this.pbxIcon.Name      = "pbxIcon";
     this.pbxIcon.Size      = new System.Drawing.Size(64, 64);
     this.pbxIcon.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pbxIcon.TabIndex  = 4;
     this.pbxIcon.TabStop   = false;
     //
     // KryptonInputBoxExtended
     //
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel1);
     this.Name = "KryptonInputBoxExtended";
     this.Size = new System.Drawing.Size(578, 263);
     ((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.kcmbUserChoice)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbxIcon)).EndInit();
     this.ResumeLayout(false);
 }
예제 #16
0
 private void InitializeComponent()
 {
     this._panelMessage = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._panelMessageText = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._messageText = new ComponentFactory.Krypton.Toolkit.KryptonWrapLabel();
     this._panelMessageIcon = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._messageIcon = new System.Windows.Forms.PictureBox();
     this._panelButtons = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.borderEdge = new ComponentFactory.Krypton.Toolkit.KryptonBorderEdge();
     this._button3 = new ComponentFactory.Krypton.Toolkit.KryptonMessageBox.MessageButton();
     this._button1 = new ComponentFactory.Krypton.Toolkit.KryptonMessageBox.MessageButton();
     this._button2 = new ComponentFactory.Krypton.Toolkit.KryptonMessageBox.MessageButton();
     ((System.ComponentModel.ISupportInitialize)(this._panelMessage)).BeginInit();
     this._panelMessage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._panelMessageText)).BeginInit();
     this._panelMessageText.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._panelMessageIcon)).BeginInit();
     this._panelMessageIcon.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._messageIcon)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._panelButtons)).BeginInit();
     this._panelButtons.SuspendLayout();
     this.SuspendLayout();
     //
     // _panelMessage
     //
     this._panelMessage.AutoSize = true;
     this._panelMessage.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._panelMessage.Controls.Add(this._panelMessageText);
     this._panelMessage.Controls.Add(this._panelMessageIcon);
     this._panelMessage.Dock = System.Windows.Forms.DockStyle.Top;
     this._panelMessage.Location = new System.Drawing.Point(0, 0);
     this._panelMessage.Name = "_panelMessage";
     this._panelMessage.Size = new System.Drawing.Size(156, 52);
     this._panelMessage.TabIndex = 0;
     //
     // _panelMessageText
     //
     this._panelMessageText.AutoSize = true;
     this._panelMessageText.Controls.Add(this._messageText);
     this._panelMessageText.Location = new System.Drawing.Point(42, 0);
     this._panelMessageText.Margin = new System.Windows.Forms.Padding(0);
     this._panelMessageText.Name = "_panelMessageText";
     this._panelMessageText.Padding = new System.Windows.Forms.Padding(5, 17, 5, 17);
     this._panelMessageText.Size = new System.Drawing.Size(88, 52);
     this._panelMessageText.TabIndex = 1;
     //
     // _messageText
     //
     this._messageText.AutoSize = false;
     this._messageText.Font = new System.Drawing.Font("Segoe UI", 9F);
     this._messageText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this._messageText.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalPanel;
     this._messageText.Location = new System.Drawing.Point(5, 18);
     this._messageText.Margin = new System.Windows.Forms.Padding(0);
     this._messageText.Name = "_messageText";
     this._messageText.Size = new System.Drawing.Size(78, 15);
     this._messageText.Text = "Message Text";
     //
     // _panelMessageIcon
     //
     this._panelMessageIcon.AutoSize = true;
     this._panelMessageIcon.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._panelMessageIcon.Controls.Add(this._messageIcon);
     this._panelMessageIcon.Location = new System.Drawing.Point(0, 0);
     this._panelMessageIcon.Margin = new System.Windows.Forms.Padding(0);
     this._panelMessageIcon.Name = "_panelMessageIcon";
     this._panelMessageIcon.Padding = new System.Windows.Forms.Padding(10, 10, 0, 10);
     this._panelMessageIcon.Size = new System.Drawing.Size(42, 52);
     this._panelMessageIcon.TabIndex = 0;
     //
     // _messageIcon
     //
     this._messageIcon.BackColor = System.Drawing.Color.Transparent;
     this._messageIcon.Location = new System.Drawing.Point(10, 10);
     this._messageIcon.Margin = new System.Windows.Forms.Padding(0);
     this._messageIcon.Name = "_messageIcon";
     this._messageIcon.Size = new System.Drawing.Size(32, 32);
     this._messageIcon.TabIndex = 0;
     this._messageIcon.TabStop = false;
     //
     // _panelButtons
     //
     this._panelButtons.Controls.Add(this.borderEdge);
     this._panelButtons.Controls.Add(this._button3);
     this._panelButtons.Controls.Add(this._button1);
     this._panelButtons.Controls.Add(this._button2);
     this._panelButtons.Dock = System.Windows.Forms.DockStyle.Top;
     this._panelButtons.Location = new System.Drawing.Point(0, 52);
     this._panelButtons.Margin = new System.Windows.Forms.Padding(0);
     this._panelButtons.Name = "_panelButtons";
     this._panelButtons.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelAlternate;
     this._panelButtons.Size = new System.Drawing.Size(156, 26);
     this._panelButtons.TabIndex = 0;
     //
     // borderEdge
     //
     this.borderEdge.BorderStyle = ComponentFactory.Krypton.Toolkit.PaletteBorderStyle.HeaderPrimary;
     this.borderEdge.Dock = System.Windows.Forms.DockStyle.Top;
     this.borderEdge.Location = new System.Drawing.Point(0, 0);
     this.borderEdge.Name = "borderEdge";
     this.borderEdge.Size = new System.Drawing.Size(156, 1);
     this.borderEdge.Text = "kryptonBorderEdge1";
     //
     // _button3
     //
     this._button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._button3.AutoSize = true;
     this._button3.IgnoreAltF4 = false;
     this._button3.Location = new System.Drawing.Point(106, 0);
     this._button3.Margin = new System.Windows.Forms.Padding(0);
     this._button3.MinimumSize = new System.Drawing.Size(50, 26);
     this._button3.Name = "_button3";
     this._button3.Size = new System.Drawing.Size(50, 26);
     this._button3.TabIndex = 2;
     this._button3.Values.Text = "B3";
     this._button3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // _button1
     //
     this._button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._button1.AutoSize = true;
     this._button1.IgnoreAltF4 = false;
     this._button1.Location = new System.Drawing.Point(6, 0);
     this._button1.Margin = new System.Windows.Forms.Padding(0);
     this._button1.MinimumSize = new System.Drawing.Size(50, 26);
     this._button1.Name = "_button1";
     this._button1.Size = new System.Drawing.Size(50, 26);
     this._button1.TabIndex = 0;
     this._button1.Values.Text = "B1";
     this._button1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // _button2
     //
     this._button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._button2.AutoSize = true;
     this._button2.IgnoreAltF4 = false;
     this._button2.Location = new System.Drawing.Point(56, 0);
     this._button2.Margin = new System.Windows.Forms.Padding(0);
     this._button2.MinimumSize = new System.Drawing.Size(50, 26);
     this._button2.Name = "_button2";
     this._button2.Size = new System.Drawing.Size(50, 26);
     this._button2.TabIndex = 1;
     this._button2.Values.Text = "B2";
     this._button2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // KryptonMessageBox
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(156, 78);
     this.Controls.Add(this._panelButtons);
     this.Controls.Add(this._panelMessage);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "KryptonMessageBox";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.TopMost = true;
     ((System.ComponentModel.ISupportInitialize)(this._panelMessage)).EndInit();
     this._panelMessage.ResumeLayout(false);
     this._panelMessage.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this._panelMessageText)).EndInit();
     this._panelMessageText.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._panelMessageIcon)).EndInit();
     this._panelMessageIcon.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._messageIcon)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._panelButtons)).EndInit();
     this._panelButtons.ResumeLayout(false);
     this._panelButtons.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LicenseInstallForm));
     this._keyText = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this._keyLabel = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonPanelTop = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.labelTopHeader = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.pictureBoxRight = new System.Windows.Forms.PictureBox();
     this.kryptonPanelBottom = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kryptonButtonHelp = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kryptonButtonOK = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kryptonButtonIgnore = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kryptonPanelBottomBorder = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kryptonPanelTopBorder = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._msgError = new System.Windows.Forms.Label();
     this._msgLabel = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanelTop)).BeginInit();
     this.kryptonPanelTop.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBoxRight)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanelBottom)).BeginInit();
     this.kryptonPanelBottom.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanelBottomBorder)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanelTopBorder)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // _keyText
     //
     this._keyText.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone;
     this._keyText.Location = new System.Drawing.Point(89, 98);
     this._keyText.Multiline = true;
     this._keyText.Name = "_keyText";
     this._keyText.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this._keyText.Size = new System.Drawing.Size(320, 35);
     this._keyText.TabIndex = 0;
     this._keyText.TextChanged += new System.EventHandler(this.OnLicenceTextChanged);
     //
     // _keyLabel
     //
     this._keyLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this._keyLabel.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this._keyLabel.Location = new System.Drawing.Point(17, 101);
     this._keyLabel.Name = "_keyLabel";
     this._keyLabel.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this._keyLabel.Size = new System.Drawing.Size(69, 19);
     this._keyLabel.TabIndex = 3;
     this._keyLabel.Values.Text = "Licence Key";
     //
     // kryptonPanelTop
     //
     this.kryptonPanelTop.Controls.Add(this.labelTopHeader);
     this.kryptonPanelTop.Controls.Add(this.pictureBoxRight);
     this.kryptonPanelTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.kryptonPanelTop.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanelTop.Name = "kryptonPanelTop";
     this.kryptonPanelTop.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this.kryptonPanelTop.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.ControlClient;
     this.kryptonPanelTop.Size = new System.Drawing.Size(437, 90);
     this.kryptonPanelTop.TabIndex = 0;
     //
     // labelTopHeader
     //
     this.labelTopHeader.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.labelTopHeader.Location = new System.Drawing.Point(12, 30);
     this.labelTopHeader.Name = "labelTopHeader";
     this.labelTopHeader.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this.labelTopHeader.Size = new System.Drawing.Size(215, 53);
     this.labelTopHeader.StateCommon.ShortText.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelTopHeader.StateCommon.ShortText.Hint = ComponentFactory.Krypton.Toolkit.PaletteTextHint.AntiAlias;
     this.labelTopHeader.StateCommon.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.labelTopHeader.StateCommon.ShortText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.labelTopHeader.TabIndex = 1;
     this.labelTopHeader.Values.Text = "Krypton Suite\r\nInstall Licence";
     //
     // pictureBoxRight
     //
     this.pictureBoxRight.BackColor = System.Drawing.SystemColors.Window;
     this.pictureBoxRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.pictureBoxRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.pictureBoxRight.Image = global::ComponentFactory.Krypton.Workspace.Properties.Resources.CF_Logo;
     this.pictureBoxRight.Location = new System.Drawing.Point(231, 0);
     this.pictureBoxRight.Name = "pictureBoxRight";
     this.pictureBoxRight.Size = new System.Drawing.Size(206, 90);
     this.pictureBoxRight.TabIndex = 0;
     this.pictureBoxRight.TabStop = false;
     //
     // kryptonPanelBottom
     //
     this.kryptonPanelBottom.Controls.Add(this.kryptonButtonHelp);
     this.kryptonPanelBottom.Controls.Add(this.kryptonButtonOK);
     this.kryptonPanelBottom.Controls.Add(this.kryptonButtonIgnore);
     this.kryptonPanelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanelBottom.Location = new System.Drawing.Point(0, 330);
     this.kryptonPanelBottom.Name = "kryptonPanelBottom";
     this.kryptonPanelBottom.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this.kryptonPanelBottom.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelClient;
     this.kryptonPanelBottom.Size = new System.Drawing.Size(437, 45);
     this.kryptonPanelBottom.StateNormal.ColorStyle = ComponentFactory.Krypton.Toolkit.PaletteColorStyle.Solid;
     this.kryptonPanelBottom.StateNormal.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonPanelBottom.TabIndex = 1;
     //
     // kryptonButtonHelp
     //
     this.kryptonButtonHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonButtonHelp.ButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.Standalone;
     this.kryptonButtonHelp.Location = new System.Drawing.Point(10, 10);
     this.kryptonButtonHelp.Name = "kryptonButtonHelp";
     this.kryptonButtonHelp.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this.kryptonButtonHelp.Size = new System.Drawing.Size(74, 25);
     this.kryptonButtonHelp.TabIndex = 0;
     this.kryptonButtonHelp.Values.Image = global::ComponentFactory.Krypton.Workspace.Properties.Resources.help2;
     this.kryptonButtonHelp.Values.Text = "Help";
     this.kryptonButtonHelp.Click += new System.EventHandler(this.OnHelpButtonClick);
     //
     // kryptonButtonOK
     //
     this.kryptonButtonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonButtonOK.ButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.Standalone;
     this.kryptonButtonOK.Enabled = false;
     this.kryptonButtonOK.Location = new System.Drawing.Point(273, 10);
     this.kryptonButtonOK.Name = "kryptonButtonOK";
     this.kryptonButtonOK.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this.kryptonButtonOK.Size = new System.Drawing.Size(74, 25);
     this.kryptonButtonOK.TabIndex = 1;
     this.kryptonButtonOK.Values.Image = global::ComponentFactory.Krypton.Workspace.Properties.Resources.check2;
     this.kryptonButtonOK.Values.Text = "OK";
     this.kryptonButtonOK.Click += new System.EventHandler(this.OnOkButtonClick);
     //
     // kryptonButtonIgnore
     //
     this.kryptonButtonIgnore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kryptonButtonIgnore.ButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.Standalone;
     this.kryptonButtonIgnore.Location = new System.Drawing.Point(353, 10);
     this.kryptonButtonIgnore.Name = "kryptonButtonIgnore";
     this.kryptonButtonIgnore.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this.kryptonButtonIgnore.Size = new System.Drawing.Size(74, 25);
     this.kryptonButtonIgnore.TabIndex = 2;
     this.kryptonButtonIgnore.Values.Image = global::ComponentFactory.Krypton.Workspace.Properties.Resources.delete2;
     this.kryptonButtonIgnore.Values.Text = "Ignore";
     this.kryptonButtonIgnore.Click += new System.EventHandler(this.OnIgnoreButtonClick);
     //
     // kryptonPanelBottomBorder
     //
     this.kryptonPanelBottomBorder.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanelBottomBorder.Location = new System.Drawing.Point(0, 327);
     this.kryptonPanelBottomBorder.Name = "kryptonPanelBottomBorder";
     this.kryptonPanelBottomBorder.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this.kryptonPanelBottomBorder.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.HeaderPrimary;
     this.kryptonPanelBottomBorder.Size = new System.Drawing.Size(437, 3);
     this.kryptonPanelBottomBorder.TabIndex = 13;
     //
     // kryptonPanelTopBorder
     //
     this.kryptonPanelTopBorder.Dock = System.Windows.Forms.DockStyle.Top;
     this.kryptonPanelTopBorder.Location = new System.Drawing.Point(0, 90);
     this.kryptonPanelTopBorder.Name = "kryptonPanelTopBorder";
     this.kryptonPanelTopBorder.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this.kryptonPanelTopBorder.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.HeaderPrimary;
     this.kryptonPanelTopBorder.Size = new System.Drawing.Size(437, 3);
     this.kryptonPanelTopBorder.TabIndex = 14;
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.label1);
     this.kryptonPanel1.Controls.Add(this._msgError);
     this.kryptonPanel1.Controls.Add(this._msgLabel);
     this.kryptonPanel1.Controls.Add(this._keyText);
     this.kryptonPanel1.Controls.Add(this._keyLabel);
     this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 93);
     this.kryptonPanel1.Name = "kryptonPanel1";
     this.kryptonPanel1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalSystem;
     this.kryptonPanel1.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelAlternate;
     this.kryptonPanel1.Size = new System.Drawing.Size(437, 234);
     this.kryptonPanel1.TabIndex = 0;
     //
     // _msgError
     //
     this._msgError.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this._msgError.BackColor = System.Drawing.Color.Transparent;
     this._msgError.ForeColor = System.Drawing.Color.Red;
     this._msgError.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this._msgError.Location = new System.Drawing.Point(88, 138);
     this._msgError.Name = "_msgError";
     this._msgError.Size = new System.Drawing.Size(333, 83);
     this._msgError.TabIndex = 5;
     //
     // _msgLabel
     //
     this._msgLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this._msgLabel.BackColor = System.Drawing.Color.Transparent;
     this._msgLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this._msgLabel.Location = new System.Drawing.Point(10, 10);
     this._msgLabel.Name = "_msgLabel";
     this._msgLabel.Size = new System.Drawing.Size(417, 63);
     this._msgLabel.TabIndex = 4;
     this._msgLabel.Text = "Krypton Suite is not currently licenced. Install your licence by entering the" +
         " serial key and clicking OK.";
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label1.Location = new System.Drawing.Point(10, 44);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(417, 51);
     this.label1.TabIndex = 6;
     this.label1.Text = "Click Ignore to start a 30 day evaluation period. Once your 30 day evaluation per" +
         "iod expires you will receive this message at design time and a warning message a" +
         "t runtime.";
     //
     // LicenseInstallForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize = new System.Drawing.Size(437, 375);
     this.ControlBox = false;
     this.Controls.Add(this.kryptonPanel1);
     this.Controls.Add(this.kryptonPanelTopBorder);
     this.Controls.Add(this.kryptonPanelBottomBorder);
     this.Controls.Add(this.kryptonPanelBottom);
     this.Controls.Add(this.kryptonPanelTop);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "LicenseInstallForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Install Krypton Suite Licence";
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanelTop)).EndInit();
     this.kryptonPanelTop.ResumeLayout(false);
     this.kryptonPanelTop.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBoxRight)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanelBottom)).EndInit();
     this.kryptonPanelBottom.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanelBottomBorder)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanelTopBorder)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #18
0
 private void InitializeComponent()
 {
     this._panelMessage = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this._textBoxResponse = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this._labelPrompt = new ComponentFactory.Krypton.Toolkit.KryptonWrapLabel();
     this._buttonCancel = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this._buttonOK = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     ((System.ComponentModel.ISupportInitialize)(this._panelMessage)).BeginInit();
     this._panelMessage.SuspendLayout();
     this.SuspendLayout();
     //
     // _panelMessage
     //
     this._panelMessage.Controls.Add(this._textBoxResponse);
     this._panelMessage.Controls.Add(this._labelPrompt);
     this._panelMessage.Controls.Add(this._buttonCancel);
     this._panelMessage.Controls.Add(this._buttonOK);
     this._panelMessage.Dock = System.Windows.Forms.DockStyle.Fill;
     this._panelMessage.Location = new System.Drawing.Point(0, 0);
     this._panelMessage.Name = "_panelMessage";
     this._panelMessage.Size = new System.Drawing.Size(357, 118);
     this._panelMessage.TabIndex = 0;
     //
     // _textBoxResponse
     //
     this._textBoxResponse.Location = new System.Drawing.Point(12, 86);
     this._textBoxResponse.Name = "_textBoxResponse";
     this._textBoxResponse.Size = new System.Drawing.Size(333, 20);
     this._textBoxResponse.TabIndex = 0;
     //
     // _labelPrompt
     //
     this._labelPrompt.AutoSize = false;
     this._labelPrompt.Font = new System.Drawing.Font("Segoe UI", 9F);
     this._labelPrompt.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this._labelPrompt.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalPanel;
     this._labelPrompt.Location = new System.Drawing.Point(12, 12);
     this._labelPrompt.Margin = new System.Windows.Forms.Padding(0);
     this._labelPrompt.Name = "_labelPrompt";
     this._labelPrompt.Size = new System.Drawing.Size(78, 15);
     this._labelPrompt.Text = "Prompt";
     //
     // _buttonCancel
     //
     this._buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonCancel.AutoSize = true;
     this._buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._buttonCancel.Location = new System.Drawing.Point(295, 43);
     this._buttonCancel.Margin = new System.Windows.Forms.Padding(0);
     this._buttonCancel.MinimumSize = new System.Drawing.Size(50, 26);
     this._buttonCancel.Name = "_buttonCancel";
     this._buttonCancel.Size = new System.Drawing.Size(50, 26);
     this._buttonCancel.TabIndex = 2;
     this._buttonCancel.Values.Text = "Cancel";
     this._buttonCancel.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // _buttonOK
     //
     this._buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonOK.AutoSize = true;
     this._buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._buttonOK.Location = new System.Drawing.Point(295, 12);
     this._buttonOK.Margin = new System.Windows.Forms.Padding(0);
     this._buttonOK.MinimumSize = new System.Drawing.Size(50, 26);
     this._buttonOK.Name = "_buttonOK";
     this._buttonOK.Size = new System.Drawing.Size(50, 26);
     this._buttonOK.TabIndex = 1;
     this._buttonOK.Values.Text = "OK";
     this._buttonOK.KeyDown += new System.Windows.Forms.KeyEventHandler(this.button_keyDown);
     //
     // KryptonInputBox
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(357, 118);
     this.Controls.Add(this._panelMessage);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "KryptonInputBox";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     ((System.ComponentModel.ISupportInitialize)(this._panelMessage)).EndInit();
     this._panelMessage.ResumeLayout(false);
     this._panelMessage.PerformLayout();
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.klblContent   = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblHeader    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.pbxIcon       = new System.Windows.Forms.PictureBox();
     this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnAction    = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnDismiss   = 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.pbxIcon)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.klblContent);
     this.kryptonPanel1.Controls.Add(this.klblHeader);
     this.kryptonPanel1.Controls.Add(this.pbxIcon);
     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(646, 249);
     this.kryptonPanel1.TabIndex = 0;
     //
     // klblContent
     //
     this.klblContent.AutoSize = false;
     this.klblContent.Location = new System.Drawing.Point(146, 77);
     this.klblContent.Name     = "klblContent";
     this.klblContent.Size     = new System.Drawing.Size(488, 153);
     this.klblContent.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblContent.StateCommon.LongText.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.klblContent.StateCommon.LongText.TextV = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.klblContent.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblContent.TabIndex    = 3;
     this.klblContent.Values.Text = "kryptonLabel1";
     //
     // klblHeader
     //
     this.klblHeader.AutoSize = false;
     this.klblHeader.Location = new System.Drawing.Point(146, 12);
     this.klblHeader.Name     = "klblHeader";
     this.klblHeader.Size     = new System.Drawing.Size(488, 58);
     this.klblHeader.StateCommon.LongText.Font   = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblHeader.StateCommon.LongText.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblHeader.StateCommon.LongText.TextV  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblHeader.StateCommon.ShortText.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblHeader.StateCommon.ShortText.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblHeader.StateCommon.ShortText.TextV = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblHeader.TabIndex    = 2;
     this.klblHeader.Values.Text = "kryptonLabel1";
     //
     // pbxIcon
     //
     this.pbxIcon.BackColor = System.Drawing.Color.Transparent;
     this.pbxIcon.Location  = new System.Drawing.Point(12, 12);
     this.pbxIcon.Name      = "pbxIcon";
     this.pbxIcon.Size      = new System.Drawing.Size(128, 128);
     this.pbxIcon.TabIndex  = 1;
     this.pbxIcon.TabStop   = false;
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kbtnAction);
     this.kryptonPanel2.Controls.Add(this.kbtnDismiss);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 251);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(646, 49);
     this.kryptonPanel2.TabIndex = 1;
     //
     // kbtnAction
     //
     this.kbtnAction.AutoSize     = true;
     this.kbtnAction.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnAction.Enabled      = false;
     this.kbtnAction.Location     = new System.Drawing.Point(12, 6);
     this.kbtnAction.Name         = "kbtnAction";
     this.kbtnAction.Size         = new System.Drawing.Size(31, 30);
     this.kbtnAction.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnAction.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnAction.TabIndex    = 1;
     this.kbtnAction.Values.Text = "{0}";
     this.kbtnAction.Visible     = false;
     this.kbtnAction.Click      += new System.EventHandler(this.kbtnAction_Click);
     //
     // kbtnDismiss
     //
     this.kbtnDismiss.Location = new System.Drawing.Point(480, 6);
     this.kbtnDismiss.Name     = "kbtnDismiss";
     this.kbtnDismiss.Size     = new System.Drawing.Size(154, 31);
     this.kbtnDismiss.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnDismiss.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnDismiss.TabIndex    = 0;
     this.kbtnDismiss.Values.Text = "Dismiss ({0})";
     this.kbtnDismiss.Click      += new System.EventHandler(this.kbtnDismiss_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, 249);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(646, 2);
     this.panel1.TabIndex  = 2;
     //
     // KryptonToastNotification
     //
     this.ClientSize = new System.Drawing.Size(646, 300);
     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            = "KryptonToastNotification";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Load           += new System.EventHandler(this.KryptonToastNotification_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pbxIcon)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #20
0
 private void InitializeComponent()
 {
     this.kpnlButtons            = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.panel1                 = new System.Windows.Forms.Panel();
     this.kryptonPanel1          = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kryptonSplitContainer1 = new ComponentFactory.Krypton.Toolkit.KryptonSplitContainer();
     this.kpgControlProperties   = new KryptonToolkitSuiteExtendedCore.KryptonPropertyGrid();
     this.kryptonPanel2          = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kpnlInstructions       = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.klblInstructions       = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnClose              = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlButtons)).BeginInit();
     this.kpnlButtons.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1.Panel1)).BeginInit();
     this.kryptonSplitContainer1.Panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1.Panel2)).BeginInit();
     this.kryptonSplitContainer1.Panel2.SuspendLayout();
     this.kryptonSplitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlInstructions)).BeginInit();
     this.kpnlInstructions.SuspendLayout();
     this.SuspendLayout();
     //
     // kpnlButtons
     //
     this.kpnlButtons.Controls.Add(this.kbtnClose);
     this.kpnlButtons.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kpnlButtons.Location = new System.Drawing.Point(0, 725);
     this.kpnlButtons.Name     = "kpnlButtons";
     this.kpnlButtons.Size     = new System.Drawing.Size(1196, 50);
     this.kpnlButtons.TabIndex = 0;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 722);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(1196, 3);
     this.panel1.TabIndex  = 1;
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kryptonSplitContainer1);
     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(1196, 722);
     this.kryptonPanel1.TabIndex = 2;
     //
     // kryptonSplitContainer1
     //
     this.kryptonSplitContainer1.Cursor   = System.Windows.Forms.Cursors.Default;
     this.kryptonSplitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonSplitContainer1.Location = new System.Drawing.Point(0, 0);
     this.kryptonSplitContainer1.Name     = "kryptonSplitContainer1";
     //
     // kryptonSplitContainer1.Panel1
     //
     this.kryptonSplitContainer1.Panel1.Controls.Add(this.kpgControlProperties);
     //
     // kryptonSplitContainer1.Panel2
     //
     this.kryptonSplitContainer1.Panel2.Controls.Add(this.kryptonPanel2);
     this.kryptonSplitContainer1.Panel2.Controls.Add(this.kpnlInstructions);
     this.kryptonSplitContainer1.Size             = new System.Drawing.Size(1196, 722);
     this.kryptonSplitContainer1.SplitterDistance = 398;
     this.kryptonSplitContainer1.TabIndex         = 1;
     //
     // kpgControlProperties
     //
     this.kpgControlProperties.BackColor         = System.Drawing.SystemColors.ActiveCaption;
     this.kpgControlProperties.CategoryForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kpgControlProperties.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.kpgControlProperties.HelpBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(206)))), ((int)(((byte)(230)))));
     this.kpgControlProperties.HelpForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kpgControlProperties.LineColor     = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(196)))), ((int)(((byte)(216)))));
     this.kpgControlProperties.Location      = new System.Drawing.Point(0, 0);
     this.kpgControlProperties.Name          = "kpgControlProperties";
     this.kpgControlProperties.Size          = new System.Drawing.Size(398, 722);
     this.kpgControlProperties.TabIndex      = 0;
     this.kpgControlProperties.ViewBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(206)))), ((int)(((byte)(230)))));
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 113);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(793, 609);
     this.kryptonPanel2.TabIndex = 2;
     //
     // kpnlInstructions
     //
     this.kpnlInstructions.Controls.Add(this.klblInstructions);
     this.kpnlInstructions.Dock     = System.Windows.Forms.DockStyle.Top;
     this.kpnlInstructions.Location = new System.Drawing.Point(0, 0);
     this.kpnlInstructions.Name     = "kpnlInstructions";
     this.kpnlInstructions.Size     = new System.Drawing.Size(793, 113);
     this.kpnlInstructions.TabIndex = 1;
     //
     // klblInstructions
     //
     this.klblInstructions.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.klblInstructions.Location = new System.Drawing.Point(0, 0);
     this.klblInstructions.Name     = "klblInstructions";
     this.klblInstructions.Size     = new System.Drawing.Size(793, 113);
     this.klblInstructions.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblInstructions.TabIndex    = 0;
     this.klblInstructions.Values.Text = "kryptonLabel1";
     //
     // kbtnClose
     //
     this.kbtnClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnClose.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kbtnClose.Location     = new System.Drawing.Point(1091, 11);
     this.kbtnClose.Name         = "kbtnClose";
     this.kbtnClose.Size         = new System.Drawing.Size(90, 25);
     this.kbtnClose.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnClose.TabIndex    = 0;
     this.kbtnClose.Values.Text = "&Close";
     this.kbtnClose.Click      += new System.EventHandler(this.kbtnClose_Click);
     //
     // ControlContainer
     //
     this.Controls.Add(this.kryptonPanel1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kpnlButtons);
     this.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "ControlContainer";
     this.Size = new System.Drawing.Size(1196, 775);
     ((System.ComponentModel.ISupportInitialize)(this.kpnlButtons)).EndInit();
     this.kpnlButtons.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1.Panel1)).EndInit();
     this.kryptonSplitContainer1.Panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1.Panel2)).EndInit();
     this.kryptonSplitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1)).EndInit();
     this.kryptonSplitContainer1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlInstructions)).EndInit();
     this.kpnlInstructions.ResumeLayout(false);
     this.kpnlInstructions.PerformLayout();
     this.ResumeLayout(false);
 }