295 lines
12 KiB
C#
295 lines
12 KiB
C#
#region BSD License
|
|
/*
|
|
*
|
|
* Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
|
|
* © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved.
|
|
*
|
|
* New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE)
|
|
* Modifications by Peter Wagner(aka Wagnerp) & Simon Coghlan(aka Smurf-IV), et al. 2017 - 2023. All rights reserved.
|
|
*
|
|
*/
|
|
#endregion
|
|
|
|
|
|
namespace Krypton.Toolkit
|
|
{
|
|
partial class KryptonMessageBoxForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
_messageIcon = new PictureBox();
|
|
_panelButtons = new KryptonPanel();
|
|
_borderEdge = new KryptonBorderEdge();
|
|
_button4 = new MessageButton();
|
|
_button3 = new MessageButton();
|
|
_button1 = new MessageButton();
|
|
_button2 = new MessageButton();
|
|
_button5 = new MessageButton();
|
|
kryptonPanel1 = new KryptonPanel();
|
|
tableLayoutPanel1 = new TableLayoutPanel();
|
|
_panelContentArea = new KryptonPanel();
|
|
krtbMessageText = new KryptonRichTextBox();
|
|
_linkLabelMessageText = new KryptonLinkWrapLabel();
|
|
((System.ComponentModel.ISupportInitialize)_messageIcon).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)_panelButtons).BeginInit();
|
|
_panelButtons.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)kryptonPanel1).BeginInit();
|
|
kryptonPanel1.SuspendLayout();
|
|
tableLayoutPanel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)_panelContentArea).BeginInit();
|
|
_panelContentArea.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// _messageIcon
|
|
//
|
|
_messageIcon.BackColor = Color.Transparent;
|
|
_messageIcon.Dock = DockStyle.Fill;
|
|
_messageIcon.Location = new Point(10, 5);
|
|
_messageIcon.Margin = new Padding(10, 5, 4, 5);
|
|
_messageIcon.Name = "_messageIcon";
|
|
_messageIcon.Size = new Size(38, 55);
|
|
_messageIcon.SizeMode = PictureBoxSizeMode.CenterImage;
|
|
_messageIcon.TabIndex = 0;
|
|
_messageIcon.TabStop = false;
|
|
//
|
|
// _panelButtons
|
|
//
|
|
tableLayoutPanel1.SetColumnSpan(_panelButtons, 2);
|
|
_panelButtons.Controls.Add(_borderEdge);
|
|
_panelButtons.Controls.Add(_button4);
|
|
_panelButtons.Controls.Add(_button3);
|
|
_panelButtons.Controls.Add(_button1);
|
|
_panelButtons.Controls.Add(_button2);
|
|
_panelButtons.Controls.Add(_button5);
|
|
_panelButtons.Dock = DockStyle.Fill;
|
|
_panelButtons.Location = new Point(0, 65);
|
|
_panelButtons.Margin = new Padding(0);
|
|
_panelButtons.Name = "_panelButtons";
|
|
_panelButtons.PanelBackStyle = PaletteBackStyle.PanelAlternate;
|
|
_panelButtons.Size = new Size(214, 28);
|
|
_panelButtons.TabIndex = 0;
|
|
//
|
|
// _borderEdge
|
|
//
|
|
_borderEdge.BorderStyle = PaletteBorderStyle.HeaderPrimary;
|
|
_borderEdge.Dock = DockStyle.Top;
|
|
_borderEdge.Location = new Point(0, 0);
|
|
_borderEdge.Margin = new Padding(3, 2, 3, 2);
|
|
_borderEdge.Name = "_borderEdge";
|
|
_borderEdge.Size = new Size(214, 1);
|
|
_borderEdge.Text = "kryptonBorderEdge1";
|
|
//
|
|
// _button4
|
|
//
|
|
_button4.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
_button4.AutoSize = true;
|
|
_button4.Enabled = false;
|
|
_button4.IgnoreAltF4 = false;
|
|
_button4.Location = new Point(214, 0);
|
|
_button4.Margin = new Padding(0);
|
|
_button4.MinimumSize = new Size(45, 28);
|
|
_button4.Name = "_button4";
|
|
_button4.Size = new Size(45, 34);
|
|
_button4.TabIndex = 2;
|
|
_button4.Values.Text = "B4";
|
|
_button4.Visible = false;
|
|
//
|
|
// _button3
|
|
//
|
|
_button3.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
_button3.AutoSize = true;
|
|
_button3.Enabled = false;
|
|
_button3.IgnoreAltF4 = false;
|
|
_button3.Location = new Point(171, 0);
|
|
_button3.Margin = new Padding(0);
|
|
_button3.MinimumSize = new Size(45, 28);
|
|
_button3.Name = "_button3";
|
|
_button3.Size = new Size(45, 34);
|
|
_button3.TabIndex = 2;
|
|
_button3.Values.Text = "B3";
|
|
_button3.Visible = false;
|
|
//
|
|
// _button1
|
|
//
|
|
_button1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
_button1.AutoSize = true;
|
|
_button1.Enabled = false;
|
|
_button1.IgnoreAltF4 = false;
|
|
_button1.Location = new Point(81, 0);
|
|
_button1.Margin = new Padding(0);
|
|
_button1.MinimumSize = new Size(45, 28);
|
|
_button1.Name = "_button1";
|
|
_button1.Size = new Size(45, 34);
|
|
_button1.TabIndex = 0;
|
|
_button1.Values.Text = "B1";
|
|
_button1.Visible = false;
|
|
//
|
|
// _button2
|
|
//
|
|
_button2.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
_button2.AutoSize = true;
|
|
_button2.Enabled = false;
|
|
_button2.IgnoreAltF4 = false;
|
|
_button2.Location = new Point(126, 0);
|
|
_button2.Margin = new Padding(0);
|
|
_button2.MinimumSize = new Size(45, 28);
|
|
_button2.Name = "_button2";
|
|
_button2.Size = new Size(45, 34);
|
|
_button2.TabIndex = 1;
|
|
_button2.Values.Text = "B2";
|
|
_button2.Visible = false;
|
|
//
|
|
// _button5
|
|
//
|
|
_button5.AutoSize = true;
|
|
_button5.Enabled = false;
|
|
_button5.IgnoreAltF4 = false;
|
|
_button5.Location = new Point(0, 0);
|
|
_button5.Margin = new Padding(0);
|
|
_button5.MinimumSize = new Size(45, 28);
|
|
_button5.Name = "_button5";
|
|
_button5.Size = new Size(45, 34);
|
|
_button5.TabIndex = 3;
|
|
_button5.Values.Text = "B5";
|
|
_button5.Visible = false;
|
|
//
|
|
// kryptonPanel1
|
|
//
|
|
kryptonPanel1.Controls.Add(tableLayoutPanel1);
|
|
kryptonPanel1.Dock = DockStyle.Fill;
|
|
kryptonPanel1.Location = new Point(0, 0);
|
|
kryptonPanel1.Margin = new Padding(3, 2, 3, 2);
|
|
kryptonPanel1.Name = "kryptonPanel1";
|
|
kryptonPanel1.Size = new Size(214, 93);
|
|
kryptonPanel1.TabIndex = 1;
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
tableLayoutPanel1.BackColor = Color.Transparent;
|
|
tableLayoutPanel1.ColumnCount = 2;
|
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle());
|
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
|
tableLayoutPanel1.Controls.Add(_panelButtons, 0, 1);
|
|
tableLayoutPanel1.Controls.Add(_messageIcon, 0, 0);
|
|
tableLayoutPanel1.Controls.Add(_panelContentArea, 1, 0);
|
|
tableLayoutPanel1.Dock = DockStyle.Fill;
|
|
tableLayoutPanel1.Location = new Point(0, 0);
|
|
tableLayoutPanel1.Margin = new Padding(3, 2, 3, 2);
|
|
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
tableLayoutPanel1.RowCount = 2;
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle());
|
|
tableLayoutPanel1.Size = new Size(214, 93);
|
|
tableLayoutPanel1.TabIndex = 0;
|
|
//
|
|
// _panelContentArea
|
|
//
|
|
_panelContentArea.Controls.Add(krtbMessageText);
|
|
_panelContentArea.Controls.Add(_linkLabelMessageText);
|
|
_panelContentArea.Dock = DockStyle.Fill;
|
|
_panelContentArea.Location = new Point(56, 10);
|
|
_panelContentArea.Margin = new Padding(4, 10, 4, 10);
|
|
_panelContentArea.Name = "_panelContentArea";
|
|
_panelContentArea.Size = new Size(154, 45);
|
|
_panelContentArea.TabIndex = 1;
|
|
//
|
|
// krtbMessageText
|
|
//
|
|
krtbMessageText.DetectUrls = false;
|
|
krtbMessageText.Dock = DockStyle.Fill;
|
|
krtbMessageText.InputControlStyle = InputControlStyle.PanelClient;
|
|
krtbMessageText.Location = new Point(0, 0);
|
|
krtbMessageText.Margin = new Padding(0);
|
|
krtbMessageText.Name = "krtbMessageText";
|
|
krtbMessageText.ReadOnly = true;
|
|
krtbMessageText.ScrollBars = RichTextBoxScrollBars.None;
|
|
krtbMessageText.Size = new Size(154, 45);
|
|
krtbMessageText.StateCommon.Border.DrawBorders = PaletteDrawBorders.None;
|
|
krtbMessageText.TabIndex = 0;
|
|
krtbMessageText.TabStop = false;
|
|
krtbMessageText.Text = "Message Text\n.\ttabbed";
|
|
krtbMessageText.WordWrap = false;
|
|
//
|
|
// _linkLabelMessageText
|
|
//
|
|
_linkLabelMessageText.AutoSize = false;
|
|
_linkLabelMessageText.Dock = DockStyle.Fill;
|
|
_linkLabelMessageText.LabelStyle = LabelStyle.NormalControl;
|
|
_linkLabelMessageText.Location = new Point(0, 0);
|
|
_linkLabelMessageText.Margin = new Padding(4, 0, 4, 0);
|
|
_linkLabelMessageText.Name = "_linkLabelMessageText";
|
|
_linkLabelMessageText.Size = new Size(154, 45);
|
|
_linkLabelMessageText.Text = "Message Text";
|
|
_linkLabelMessageText.TextAlign = ContentAlignment.MiddleLeft;
|
|
_linkLabelMessageText.LinkClicked += LinkClicked;
|
|
//
|
|
// KryptonMessageBoxForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(214, 93);
|
|
Controls.Add(kryptonPanel1);
|
|
FormBorderStyle = FormBorderStyle.FixedDialog;
|
|
KeyPreview = true;
|
|
Margin = new Padding(3, 2, 3, 2);
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "KryptonMessageBoxForm";
|
|
ShowIcon = false;
|
|
ShowInTaskbar = false;
|
|
SizeGripStyle = SizeGripStyle.Hide;
|
|
StartPosition = FormStartPosition.CenterParent;
|
|
FormClosed += OnFormClosed;
|
|
KeyDown += AnyKeyDown;
|
|
((System.ComponentModel.ISupportInitialize)_messageIcon).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)_panelButtons).EndInit();
|
|
_panelButtons.ResumeLayout(false);
|
|
_panelButtons.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)kryptonPanel1).EndInit();
|
|
kryptonPanel1.ResumeLayout(false);
|
|
tableLayoutPanel1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)_panelContentArea).EndInit();
|
|
_panelContentArea.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
private PictureBox _messageIcon;
|
|
private KryptonPanel _panelButtons;
|
|
private MessageButton _button1;
|
|
private MessageButton _button2;
|
|
private MessageButton _button3;
|
|
private MessageButton _button4;
|
|
private KryptonBorderEdge _borderEdge;
|
|
private KryptonPanel kryptonPanel1;
|
|
private TableLayoutPanel tableLayoutPanel1;
|
|
private MessageButton _button5;
|
|
private KryptonPanel _panelContentArea;
|
|
private KryptonLinkWrapLabel _linkLabelMessageText;
|
|
private KryptonRichTextBox krtbMessageText;
|
|
}
|
|
} |