84 lines
2.9 KiB
C#
84 lines
2.9 KiB
C#
namespace DisplayStreamer
|
|
{
|
|
partial class ViewerForm
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
private System.Windows.Forms.Label lblEsc;
|
|
private System.Windows.Forms.Label lblMetrics;
|
|
private System.Windows.Forms.Timer hideLabelTimer;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
components = new System.ComponentModel.Container();
|
|
lblEsc = new Label();
|
|
lblMetrics = new Label();
|
|
hideLabelTimer = new System.Windows.Forms.Timer(components);
|
|
SuspendLayout();
|
|
//
|
|
// lblEsc
|
|
//
|
|
lblEsc.AutoSize = true;
|
|
lblEsc.BackColor = Color.FromArgb(128, 0, 0, 0);
|
|
lblEsc.Font = new Font("Arial", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
|
|
lblEsc.ForeColor = Color.White;
|
|
lblEsc.Location = new Point(0, 0);
|
|
lblEsc.Margin = new Padding(6, 0, 6, 0);
|
|
lblEsc.Name = "lblEsc";
|
|
lblEsc.Size = new Size(419, 40);
|
|
lblEsc.TabIndex = 1;
|
|
lblEsc.Text = "Press ESC to disconnect";
|
|
//
|
|
// lblMetrics
|
|
//
|
|
lblMetrics.AutoSize = true;
|
|
lblMetrics.BackColor = Color.FromArgb(180, 0, 0, 0);
|
|
lblMetrics.Font = new Font("Consolas", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
|
|
lblMetrics.ForeColor = Color.Lime;
|
|
lblMetrics.Location = new Point(0, 0);
|
|
lblMetrics.Margin = new Padding(6, 0, 6, 0);
|
|
lblMetrics.Name = "lblMetrics";
|
|
lblMetrics.Size = new Size(0, 40);
|
|
lblMetrics.TabIndex = 2;
|
|
lblMetrics.Visible = false;
|
|
//
|
|
// hideLabelTimer
|
|
//
|
|
hideLabelTimer.Interval = 3000;
|
|
hideLabelTimer.Tick += hideLabelTimer_Tick;
|
|
//
|
|
// ViewerForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(12F, 30F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.Black;
|
|
ClientSize = new Size(1600, 1038);
|
|
Controls.Add(lblMetrics);
|
|
Controls.Add(lblEsc);
|
|
FormBorderStyle = FormBorderStyle.None;
|
|
KeyPreview = true;
|
|
Margin = new Padding(6, 7, 6, 7);
|
|
Name = "ViewerForm";
|
|
Text = "ViewerForm";
|
|
WindowState = FormWindowState.Maximized;
|
|
FormClosing += ViewerForm_FormClosing;
|
|
Load += ViewerForm_Load;
|
|
KeyDown += ViewerForm_KeyDown;
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
} |