Mark van Renswoude
c334b7fdac
Set timeout for the stream to 10 seconds instead of the default 5 minutes Added Close menu
104 lines
4.6 KiB
C#
104 lines
4.6 KiB
C#
namespace IPCamAppBar
|
|
{
|
|
partial class CameraView
|
|
{
|
|
/// <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 Component 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.ConnectingLabel = new System.Windows.Forms.Label();
|
|
this.StreamView = new System.Windows.Forms.PictureBox();
|
|
this.IssueLabel = new System.Windows.Forms.Label();
|
|
this.NoDataTimer = new System.Windows.Forms.Timer(this.components);
|
|
((System.ComponentModel.ISupportInitialize)(this.StreamView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// ConnectingLabel
|
|
//
|
|
this.ConnectingLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.ConnectingLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.ConnectingLabel.ForeColor = System.Drawing.Color.White;
|
|
this.ConnectingLabel.Location = new System.Drawing.Point(0, 0);
|
|
this.ConnectingLabel.Name = "ConnectingLabel";
|
|
this.ConnectingLabel.Size = new System.Drawing.Size(150, 150);
|
|
this.ConnectingLabel.TabIndex = 0;
|
|
this.ConnectingLabel.Text = "Connecting...";
|
|
this.ConnectingLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// StreamView
|
|
//
|
|
this.StreamView.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.StreamView.Location = new System.Drawing.Point(0, 0);
|
|
this.StreamView.Name = "StreamView";
|
|
this.StreamView.Size = new System.Drawing.Size(150, 150);
|
|
this.StreamView.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
|
this.StreamView.TabIndex = 1;
|
|
this.StreamView.TabStop = false;
|
|
this.StreamView.Visible = false;
|
|
//
|
|
// IssueLabel
|
|
//
|
|
this.IssueLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.IssueLabel.BackColor = System.Drawing.Color.Black;
|
|
this.IssueLabel.ForeColor = System.Drawing.Color.DarkRed;
|
|
this.IssueLabel.Location = new System.Drawing.Point(0, 0);
|
|
this.IssueLabel.Name = "IssueLabel";
|
|
this.IssueLabel.Size = new System.Drawing.Size(150, 21);
|
|
this.IssueLabel.TabIndex = 2;
|
|
this.IssueLabel.Text = "Someone set up us the bomb";
|
|
this.IssueLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
this.IssueLabel.Visible = false;
|
|
//
|
|
// NoDataTimer
|
|
//
|
|
this.NoDataTimer.Interval = 1000;
|
|
this.NoDataTimer.Tick += new System.EventHandler(this.NoDataTimer_Tick);
|
|
//
|
|
// CameraView
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.Gray;
|
|
this.Controls.Add(this.IssueLabel);
|
|
this.Controls.Add(this.StreamView);
|
|
this.Controls.Add(this.ConnectingLabel);
|
|
this.Margin = new System.Windows.Forms.Padding(0);
|
|
this.Name = "CameraView";
|
|
((System.ComponentModel.ISupportInitialize)(this.StreamView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label ConnectingLabel;
|
|
private System.Windows.Forms.PictureBox StreamView;
|
|
private System.Windows.Forms.Label IssueLabel;
|
|
private System.Windows.Forms.Timer NoDataTimer;
|
|
}
|
|
}
|