194 lines
8.9 KiB
C#
194 lines
8.9 KiB
C#
namespace DisplayStreamer
|
|
{
|
|
partial class ServerForm
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
private System.Windows.Forms.Label lblAdapters;
|
|
private System.Windows.Forms.CheckedListBox clbAdapters;
|
|
private System.Windows.Forms.Label lblDisplays;
|
|
private System.Windows.Forms.CheckedListBox clbDisplays;
|
|
private System.Windows.Forms.Button btnStart;
|
|
private System.Windows.Forms.Button btnSwitchMode;
|
|
private System.Windows.Forms.Label lblStatus;
|
|
private System.Windows.Forms.CheckBox chkLogging;
|
|
private System.Windows.Forms.TextBox txtLog;
|
|
private System.Windows.Forms.NotifyIcon trayIcon;
|
|
private System.Windows.Forms.ContextMenuStrip trayMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem menuShow;
|
|
private System.Windows.Forms.ToolStripMenuItem menuExit;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.lblAdapters = new System.Windows.Forms.Label();
|
|
this.clbAdapters = new System.Windows.Forms.CheckedListBox();
|
|
this.lblDisplays = new System.Windows.Forms.Label();
|
|
this.clbDisplays = new System.Windows.Forms.CheckedListBox();
|
|
this.btnStart = new System.Windows.Forms.Button();
|
|
this.btnSwitchMode = new System.Windows.Forms.Button();
|
|
this.lblStatus = new System.Windows.Forms.Label();
|
|
this.chkLogging = new System.Windows.Forms.CheckBox();
|
|
this.txtLog = new System.Windows.Forms.TextBox();
|
|
this.trayIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.menuShow = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuExit = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.trayMenu.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// lblAdapters
|
|
//
|
|
this.lblAdapters.AutoSize = true;
|
|
this.lblAdapters.Location = new System.Drawing.Point(20, 20);
|
|
this.lblAdapters.Name = "lblAdapters";
|
|
this.lblAdapters.Size = new System.Drawing.Size(205, 13);
|
|
this.lblAdapters.TabIndex = 0;
|
|
this.lblAdapters.Text = "Select Network Adapters to Broadcast on:";
|
|
//
|
|
// clbAdapters
|
|
//
|
|
this.clbAdapters.FormattingEnabled = true;
|
|
this.clbAdapters.Location = new System.Drawing.Point(20, 40);
|
|
this.clbAdapters.Name = "clbAdapters";
|
|
this.clbAdapters.Size = new System.Drawing.Size(440, 94);
|
|
this.clbAdapters.TabIndex = 1;
|
|
//
|
|
// lblDisplays
|
|
//
|
|
this.lblDisplays.AutoSize = true;
|
|
this.lblDisplays.Location = new System.Drawing.Point(20, 150);
|
|
this.lblDisplays.Name = "lblDisplays";
|
|
this.lblDisplays.Size = new System.Drawing.Size(278, 13);
|
|
this.lblDisplays.TabIndex = 2;
|
|
this.lblDisplays.Text = "Select Displays to Capture (Will downscale 4K to 1080p):";
|
|
//
|
|
// clbDisplays
|
|
//
|
|
this.clbDisplays.FormattingEnabled = true;
|
|
this.clbDisplays.Location = new System.Drawing.Point(20, 170);
|
|
this.clbDisplays.Name = "clbDisplays";
|
|
this.clbDisplays.Size = new System.Drawing.Size(440, 94);
|
|
this.clbDisplays.TabIndex = 3;
|
|
//
|
|
// btnStart
|
|
//
|
|
this.btnStart.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnStart.Location = new System.Drawing.Point(20, 290);
|
|
this.btnStart.Name = "btnStart";
|
|
this.btnStart.Size = new System.Drawing.Size(210, 40);
|
|
this.btnStart.TabIndex = 4;
|
|
this.btnStart.Text = "Start Streaming";
|
|
this.btnStart.UseVisualStyleBackColor = true;
|
|
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
|
|
//
|
|
// btnSwitchMode
|
|
//
|
|
this.btnSwitchMode.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnSwitchMode.Location = new System.Drawing.Point(250, 290);
|
|
this.btnSwitchMode.Name = "btnSwitchMode";
|
|
this.btnSwitchMode.Size = new System.Drawing.Size(210, 40);
|
|
this.btnSwitchMode.TabIndex = 7;
|
|
this.btnSwitchMode.Text = "Switch to Client Mode";
|
|
this.btnSwitchMode.UseVisualStyleBackColor = true;
|
|
this.btnSwitchMode.Click += new System.EventHandler(this.btnSwitchMode_Click);
|
|
//
|
|
// lblStatus
|
|
//
|
|
this.lblStatus.AutoSize = true;
|
|
this.lblStatus.ForeColor = System.Drawing.Color.Gray;
|
|
this.lblStatus.Location = new System.Drawing.Point(20, 340);
|
|
this.lblStatus.Name = "lblStatus";
|
|
this.lblStatus.Size = new System.Drawing.Size(63, 13);
|
|
this.lblStatus.TabIndex = 5;
|
|
this.lblStatus.Text = "Status: Idle";
|
|
//
|
|
// chkLogging
|
|
//
|
|
this.chkLogging.AutoSize = true;
|
|
this.chkLogging.Location = new System.Drawing.Point(350, 340);
|
|
this.chkLogging.Name = "chkLogging";
|
|
this.chkLogging.Size = new System.Drawing.Size(100, 17);
|
|
this.chkLogging.TabIndex = 8;
|
|
this.chkLogging.Text = "Enable Logging";
|
|
this.chkLogging.UseVisualStyleBackColor = true;
|
|
this.chkLogging.CheckedChanged += new System.EventHandler(this.chkLogging_CheckedChanged);
|
|
//
|
|
// txtLog
|
|
//
|
|
this.txtLog.Location = new System.Drawing.Point(20, 370);
|
|
this.txtLog.Multiline = true;
|
|
this.txtLog.Name = "txtLog";
|
|
this.txtLog.ReadOnly = true;
|
|
this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.txtLog.Size = new System.Drawing.Size(440, 210);
|
|
this.txtLog.TabIndex = 6;
|
|
//
|
|
// trayMenu
|
|
//
|
|
this.trayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.menuShow,
|
|
this.menuExit});
|
|
this.trayMenu.Name = "trayMenu";
|
|
this.trayMenu.Size = new System.Drawing.Size(104, 48);
|
|
//
|
|
// menuShow
|
|
//
|
|
this.menuShow.Name = "menuShow";
|
|
this.menuShow.Size = new System.Drawing.Size(103, 22);
|
|
this.menuShow.Text = "Show";
|
|
this.menuShow.Click += new System.EventHandler(this.menuShow_Click);
|
|
//
|
|
// menuExit
|
|
//
|
|
this.menuExit.Name = "menuExit";
|
|
this.menuExit.Size = new System.Drawing.Size(103, 22);
|
|
this.menuExit.Text = "Exit";
|
|
this.menuExit.Click += new System.EventHandler(this.menuExit_Click);
|
|
//
|
|
// trayIcon
|
|
//
|
|
this.trayIcon.ContextMenuStrip = this.trayMenu;
|
|
this.trayIcon.Icon = System.Drawing.SystemIcons.Application;
|
|
this.trayIcon.Text = "Display Streamer Server";
|
|
this.trayIcon.DoubleClick += new System.EventHandler(this.trayIcon_DoubleClick);
|
|
//
|
|
// ServerForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(484, 600);
|
|
this.Controls.Add(this.chkLogging);
|
|
this.Controls.Add(this.btnSwitchMode);
|
|
this.Controls.Add(this.txtLog);
|
|
this.Controls.Add(this.lblStatus);
|
|
this.Controls.Add(this.btnStart);
|
|
this.Controls.Add(this.clbDisplays);
|
|
this.Controls.Add(this.lblDisplays);
|
|
this.Controls.Add(this.clbAdapters);
|
|
this.Controls.Add(this.lblAdapters);
|
|
this.Name = "ServerForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Stream Server (DX12 / H.265)";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ServerForm_FormClosing);
|
|
this.Load += new System.EventHandler(this.ServerForm_Load);
|
|
this.Resize += new System.EventHandler(this.ServerForm_Resize);
|
|
this.trayMenu.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
} |