154 lines
7.2 KiB
C#
154 lines
7.2 KiB
C#
namespace DTS.Common.Utilities
|
|
{
|
|
partial class ScrollingMessageBox
|
|
{
|
|
/// <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( )
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.messageTextBox = new System.Windows.Forms.TextBox();
|
|
this.YesButton = new System.Windows.Forms.Button();
|
|
this.NoButton = new System.Windows.Forms.Button();
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this._TimeDelay = new System.Windows.Forms.Timer(this.components);
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// messageTextBox
|
|
//
|
|
this.messageTextBox.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
this.messageTextBox.CausesValidation = false;
|
|
this.messageTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.messageTextBox.Location = new System.Drawing.Point(3, 3);
|
|
this.messageTextBox.Multiline = true;
|
|
this.messageTextBox.Name = "messageTextBox";
|
|
this.messageTextBox.ReadOnly = true;
|
|
this.messageTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.messageTextBox.Size = new System.Drawing.Size(332, 218);
|
|
this.messageTextBox.TabIndex = 2;
|
|
//
|
|
// YesButton
|
|
//
|
|
this.YesButton.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
this.YesButton.Location = new System.Drawing.Point(88, 0);
|
|
this.YesButton.Name = "YesButton";
|
|
this.YesButton.Size = new System.Drawing.Size(75, 23);
|
|
this.YesButton.TabIndex = 0;
|
|
this.YesButton.Text = "Yes";
|
|
this.YesButton.UseVisualStyleBackColor = false;
|
|
this.YesButton.Click += new System.EventHandler(this.YesButton_Click);
|
|
//
|
|
// NoButton
|
|
//
|
|
this.NoButton.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
this.NoButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.NoButton.Location = new System.Drawing.Point(169, 0);
|
|
this.NoButton.Name = "NoButton";
|
|
this.NoButton.Size = new System.Drawing.Size(75, 23);
|
|
this.NoButton.TabIndex = 1;
|
|
this.NoButton.Text = "No";
|
|
this.NoButton.UseVisualStyleBackColor = false;
|
|
this.NoButton.Click += new System.EventHandler(this.NoButton_Click);
|
|
//
|
|
// btnClose
|
|
//
|
|
this.btnClose.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
this.btnClose.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.btnClose.Location = new System.Drawing.Point(129, 0);
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
|
this.btnClose.TabIndex = 3;
|
|
this.btnClose.Text = "Close";
|
|
this.btnClose.UseVisualStyleBackColor = false;
|
|
this.btnClose.Visible = false;
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
this.tableLayoutPanel1.ColumnCount = 1;
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.messageTextBox, 0, 0);
|
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
this.tableLayoutPanel1.RowCount = 2;
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 39F));
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(338, 263);
|
|
this.tableLayoutPanel1.TabIndex = 4;
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.btnClose);
|
|
this.panel1.Controls.Add(this.YesButton);
|
|
this.panel1.Controls.Add(this.NoButton);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel1.Location = new System.Drawing.Point(3, 227);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(332, 33);
|
|
this.panel1.TabIndex = 0;
|
|
//
|
|
// _TimeDelay
|
|
//
|
|
this._TimeDelay.Tick += new System.EventHandler(this.TimerTick);
|
|
//
|
|
// ScrollingMessageBox
|
|
//
|
|
this.AcceptButton = this.YesButton;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.AutoSize = true;
|
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(246)))), ((int)(((byte)(253)))));
|
|
this.CancelButton = this.NoButton;
|
|
this.ClientSize = new System.Drawing.Size(338, 263);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ScrollingMessageBox";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "ScrollingMessageBox";
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.panel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox messageTextBox;
|
|
private System.Windows.Forms.Button YesButton;
|
|
private System.Windows.Forms.Button NoButton;
|
|
private System.Windows.Forms.Button btnClose;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Timer _TimeDelay;
|
|
}
|
|
} |