Наследование: System.Windows.Forms.Label
Пример #1
0
 /// <summary>
 /// Initialize a new instance of the PaletteWrapLabel class.
 /// </summary>
 /// <param name="wrapLabel">Reference to owning control.</param>
 public PaletteWrapLabel(KryptonWrapLabel wrapLabel)
 {
     _wrapLabel = wrapLabel;
     _font = null;
     _textColor = Color.Empty;
     _hint = PaletteTextHint.Inherit;
 }
 /// <summary>
 /// Initialize a new instance of the PaletteWrapLabel class.
 /// </summary>
 /// <param name="wrapLabel">Reference to owning control.</param>
 public PaletteWrapLabel(KryptonWrapLabel wrapLabel)
 {
     _wrapLabel = wrapLabel;
     _font      = null;
     _textColor = Color.Empty;
     _hint      = PaletteTextHint.Inherit;
 }
        /// <summary>
        /// Initialize a new instance of the KryptonWrapLabelActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonWrapLabelActionList(KryptonWrapLabelDesigner owner)
            : base(owner.Component)
        {
            // Remember the label instance
            _wrapLabel = owner.Component as KryptonWrapLabel;

            // Cache service used to notify when a property has changed
            _service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }
        /// <summary>
        /// Initialize a new instance of the KryptonWrapLabelActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonWrapLabelActionList(KryptonWrapLabelDesigner owner)
            : base(owner.Component)
        {
            // Remember the label instance
            _wrapLabel = owner.Component as KryptonWrapLabel;

            // Cache service used to notify when a property has changed
            _service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }
Пример #5
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);
 }
 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);
 }
 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);
 }
Пример #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);
 }
Пример #9
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();
 }
Пример #10
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);
 }
Пример #11
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();
 }