|
@@ -0,0 +1,277 @@
|
|
|
+
|
|
|
+namespace ScreenExtender
|
|
|
+{
|
|
|
+ partial class ScreenExtenderMainForm
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 必需的设计器变量。
|
|
|
+ /// </summary>
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 清理所有正在使用的资源。
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Windows 窗体设计器生成的代码
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 设计器支持所需的方法 - 不要修改
|
|
|
+ /// 使用代码编辑器修改此方法的内容。
|
|
|
+ /// </summary>
|
|
|
+ private void InitializeComponent()
|
|
|
+ {
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
+ this.TitleColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
|
+ this.PosColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
|
+ this.ListenTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.CaptureListView = new System.Windows.Forms.ListView();
|
|
|
+ this.StatusLabel = new System.Windows.Forms.Label();
|
|
|
+ this.PortNumericUpDown = new System.Windows.Forms.NumericUpDown();
|
|
|
+ this.AddButton = new System.Windows.Forms.Button();
|
|
|
+ this.RemoveButton = new System.Windows.Forms.Button();
|
|
|
+ this.MainSplitContainer = new System.Windows.Forms.SplitContainer();
|
|
|
+ this.ListViewManagePanel = new System.Windows.Forms.Panel();
|
|
|
+ this.RefreshButton = new System.Windows.Forms.Button();
|
|
|
+ this.PreviewPictureBox = new System.Windows.Forms.PictureBox();
|
|
|
+ this.HvCheckBox = new System.Windows.Forms.CheckBox();
|
|
|
+ this.UpdateTimer = new System.Windows.Forms.Timer(this.components);
|
|
|
+ this.ListenCheckButton = new System.Windows.Forms.CheckBox();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.PortNumericUpDown)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.MainSplitContainer)).BeginInit();
|
|
|
+ this.MainSplitContainer.Panel1.SuspendLayout();
|
|
|
+ this.MainSplitContainer.Panel2.SuspendLayout();
|
|
|
+ this.MainSplitContainer.SuspendLayout();
|
|
|
+ this.ListViewManagePanel.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.PreviewPictureBox)).BeginInit();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // TitleColumnHeader
|
|
|
+ //
|
|
|
+ this.TitleColumnHeader.Text = "Title";
|
|
|
+ this.TitleColumnHeader.Width = 120;
|
|
|
+ //
|
|
|
+ // PosColumnHeader
|
|
|
+ //
|
|
|
+ this.PosColumnHeader.Text = "Pos";
|
|
|
+ this.PosColumnHeader.Width = 120;
|
|
|
+ //
|
|
|
+ // ListenTextBox
|
|
|
+ //
|
|
|
+ this.ListenTextBox.Location = new System.Drawing.Point(12, 12);
|
|
|
+ this.ListenTextBox.Name = "ListenTextBox";
|
|
|
+ this.ListenTextBox.Size = new System.Drawing.Size(100, 21);
|
|
|
+ this.ListenTextBox.TabIndex = 0;
|
|
|
+ this.ListenTextBox.Text = "000.000.000.000";
|
|
|
+ //
|
|
|
+ // CaptureListView
|
|
|
+ //
|
|
|
+ this.CaptureListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
|
+ this.TitleColumnHeader,
|
|
|
+ this.PosColumnHeader});
|
|
|
+ this.CaptureListView.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
+ this.CaptureListView.FullRowSelect = true;
|
|
|
+ this.CaptureListView.GridLines = true;
|
|
|
+ this.CaptureListView.HideSelection = false;
|
|
|
+ this.CaptureListView.Location = new System.Drawing.Point(0, 36);
|
|
|
+ this.CaptureListView.Name = "CaptureListView";
|
|
|
+ this.CaptureListView.Size = new System.Drawing.Size(284, 611);
|
|
|
+ this.CaptureListView.TabIndex = 3;
|
|
|
+ this.CaptureListView.UseCompatibleStateImageBehavior = false;
|
|
|
+ this.CaptureListView.View = System.Windows.Forms.View.Details;
|
|
|
+ //
|
|
|
+ // StatusLabel
|
|
|
+ //
|
|
|
+ this.StatusLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.StatusLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
|
+ this.StatusLabel.Location = new System.Drawing.Point(262, 13);
|
|
|
+ this.StatusLabel.Name = "StatusLabel";
|
|
|
+ this.StatusLabel.Size = new System.Drawing.Size(565, 20);
|
|
|
+ this.StatusLabel.TabIndex = 5;
|
|
|
+ this.StatusLabel.Text = "FooooBarrrrrrr";
|
|
|
+ //
|
|
|
+ // PortNumericUpDown
|
|
|
+ //
|
|
|
+ this.PortNumericUpDown.Location = new System.Drawing.Point(118, 12);
|
|
|
+ this.PortNumericUpDown.Maximum = new decimal(new int[] {
|
|
|
+ 65535,
|
|
|
+ 0,
|
|
|
+ 0,
|
|
|
+ 0});
|
|
|
+ this.PortNumericUpDown.Minimum = new decimal(new int[] {
|
|
|
+ 1,
|
|
|
+ 0,
|
|
|
+ 0,
|
|
|
+ 0});
|
|
|
+ this.PortNumericUpDown.Name = "PortNumericUpDown";
|
|
|
+ this.PortNumericUpDown.Size = new System.Drawing.Size(54, 21);
|
|
|
+ this.PortNumericUpDown.TabIndex = 1;
|
|
|
+ this.PortNumericUpDown.Value = new decimal(new int[] {
|
|
|
+ 61234,
|
|
|
+ 0,
|
|
|
+ 0,
|
|
|
+ 0});
|
|
|
+ //
|
|
|
+ // AddButton
|
|
|
+ //
|
|
|
+ this.AddButton.Location = new System.Drawing.Point(3, 3);
|
|
|
+ this.AddButton.Name = "AddButton";
|
|
|
+ this.AddButton.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.AddButton.TabIndex = 2;
|
|
|
+ this.AddButton.Text = "Add";
|
|
|
+ this.AddButton.UseVisualStyleBackColor = true;
|
|
|
+ this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
|
|
|
+ //
|
|
|
+ // RemoveButton
|
|
|
+ //
|
|
|
+ this.RemoveButton.Location = new System.Drawing.Point(84, 3);
|
|
|
+ this.RemoveButton.Name = "RemoveButton";
|
|
|
+ this.RemoveButton.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.RemoveButton.TabIndex = 2;
|
|
|
+ this.RemoveButton.Text = "Remove";
|
|
|
+ this.RemoveButton.UseVisualStyleBackColor = true;
|
|
|
+ this.RemoveButton.Click += new System.EventHandler(this.RemoveButton_Click);
|
|
|
+ //
|
|
|
+ // MainSplitContainer
|
|
|
+ //
|
|
|
+ this.MainSplitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Left)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.MainSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
|
|
+ this.MainSplitContainer.Location = new System.Drawing.Point(12, 41);
|
|
|
+ this.MainSplitContainer.Name = "MainSplitContainer";
|
|
|
+ //
|
|
|
+ // MainSplitContainer.Panel1
|
|
|
+ //
|
|
|
+ this.MainSplitContainer.Panel1.Controls.Add(this.CaptureListView);
|
|
|
+ this.MainSplitContainer.Panel1.Controls.Add(this.ListViewManagePanel);
|
|
|
+ //
|
|
|
+ // MainSplitContainer.Panel2
|
|
|
+ //
|
|
|
+ this.MainSplitContainer.Panel2.Controls.Add(this.PreviewPictureBox);
|
|
|
+ this.MainSplitContainer.Size = new System.Drawing.Size(854, 647);
|
|
|
+ this.MainSplitContainer.SplitterDistance = 284;
|
|
|
+ this.MainSplitContainer.TabIndex = 7;
|
|
|
+ //
|
|
|
+ // ListViewManagePanel
|
|
|
+ //
|
|
|
+ this.ListViewManagePanel.Controls.Add(this.RefreshButton);
|
|
|
+ this.ListViewManagePanel.Controls.Add(this.RemoveButton);
|
|
|
+ this.ListViewManagePanel.Controls.Add(this.AddButton);
|
|
|
+ this.ListViewManagePanel.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
+ this.ListViewManagePanel.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.ListViewManagePanel.Name = "ListViewManagePanel";
|
|
|
+ this.ListViewManagePanel.Size = new System.Drawing.Size(284, 36);
|
|
|
+ this.ListViewManagePanel.TabIndex = 4;
|
|
|
+ //
|
|
|
+ // RefreshButton
|
|
|
+ //
|
|
|
+ this.RefreshButton.Location = new System.Drawing.Point(169, 3);
|
|
|
+ this.RefreshButton.Name = "RefreshButton";
|
|
|
+ this.RefreshButton.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.RefreshButton.TabIndex = 2;
|
|
|
+ this.RefreshButton.Text = "Refresh";
|
|
|
+ this.RefreshButton.UseVisualStyleBackColor = true;
|
|
|
+ this.RefreshButton.Click += new System.EventHandler(this.RefreshButton_Click);
|
|
|
+ //
|
|
|
+ // PreviewPictureBox
|
|
|
+ //
|
|
|
+ this.PreviewPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
+ this.PreviewPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
+ this.PreviewPictureBox.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.PreviewPictureBox.Name = "PreviewPictureBox";
|
|
|
+ this.PreviewPictureBox.Size = new System.Drawing.Size(566, 647);
|
|
|
+ this.PreviewPictureBox.TabIndex = 0;
|
|
|
+ this.PreviewPictureBox.TabStop = false;
|
|
|
+ this.PreviewPictureBox.Paint += new System.Windows.Forms.PaintEventHandler(this.PreviewPictureBox_Paint);
|
|
|
+ this.PreviewPictureBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PreviewPictureBox_MouseDown);
|
|
|
+ this.PreviewPictureBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.PreviewPictureBox_MouseMove);
|
|
|
+ this.PreviewPictureBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PreviewPictureBox_MouseUp);
|
|
|
+ this.PreviewPictureBox.Resize += new System.EventHandler(this.PreviewPictureBox_Resize);
|
|
|
+ //
|
|
|
+ // HvCheckBox
|
|
|
+ //
|
|
|
+ this.HvCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.HvCheckBox.Appearance = System.Windows.Forms.Appearance.Button;
|
|
|
+ this.HvCheckBox.AutoSize = true;
|
|
|
+ this.HvCheckBox.Location = new System.Drawing.Point(833, 13);
|
|
|
+ this.HvCheckBox.Name = "HvCheckBox";
|
|
|
+ this.HvCheckBox.Size = new System.Drawing.Size(33, 22);
|
|
|
+ this.HvCheckBox.TabIndex = 6;
|
|
|
+ this.HvCheckBox.Text = "H/V";
|
|
|
+ this.HvCheckBox.UseVisualStyleBackColor = true;
|
|
|
+ this.HvCheckBox.CheckedChanged += new System.EventHandler(this.HvCheckBox_CheckedChanged);
|
|
|
+ //
|
|
|
+ // UpdateTimer
|
|
|
+ //
|
|
|
+ this.UpdateTimer.Enabled = true;
|
|
|
+ this.UpdateTimer.Interval = 125;
|
|
|
+ this.UpdateTimer.Tick += new System.EventHandler(this.UpdateTimer_Tick);
|
|
|
+ //
|
|
|
+ // ListenCheckButton
|
|
|
+ //
|
|
|
+ this.ListenCheckButton.Appearance = System.Windows.Forms.Appearance.Button;
|
|
|
+ this.ListenCheckButton.Location = new System.Drawing.Point(178, 12);
|
|
|
+ this.ListenCheckButton.Name = "ListenCheckButton";
|
|
|
+ this.ListenCheckButton.Size = new System.Drawing.Size(78, 21);
|
|
|
+ this.ListenCheckButton.TabIndex = 5;
|
|
|
+ this.ListenCheckButton.Text = "Listen";
|
|
|
+ this.ListenCheckButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
+ this.ListenCheckButton.UseVisualStyleBackColor = true;
|
|
|
+ this.ListenCheckButton.CheckedChanged += new System.EventHandler(this.ListenCheckButton_CheckedChanged);
|
|
|
+ //
|
|
|
+ // ScreenExtenderMainForm
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(878, 700);
|
|
|
+ this.Controls.Add(this.ListenCheckButton);
|
|
|
+ this.Controls.Add(this.MainSplitContainer);
|
|
|
+ this.Controls.Add(this.HvCheckBox);
|
|
|
+ this.Controls.Add(this.StatusLabel);
|
|
|
+ this.Controls.Add(this.PortNumericUpDown);
|
|
|
+ this.Controls.Add(this.ListenTextBox);
|
|
|
+ this.Name = "ScreenExtenderMainForm";
|
|
|
+ this.Text = "Screen Extender";
|
|
|
+ this.Shown += new System.EventHandler(this.ScreenExtenderMainForm_Shown);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.PortNumericUpDown)).EndInit();
|
|
|
+ this.MainSplitContainer.Panel1.ResumeLayout(false);
|
|
|
+ this.MainSplitContainer.Panel2.ResumeLayout(false);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.MainSplitContainer)).EndInit();
|
|
|
+ this.MainSplitContainer.ResumeLayout(false);
|
|
|
+ this.ListViewManagePanel.ResumeLayout(false);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.PreviewPictureBox)).EndInit();
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.TextBox ListenTextBox;
|
|
|
+ private System.Windows.Forms.ListView CaptureListView;
|
|
|
+ private System.Windows.Forms.Label StatusLabel;
|
|
|
+ private System.Windows.Forms.NumericUpDown PortNumericUpDown;
|
|
|
+ private System.Windows.Forms.Button AddButton;
|
|
|
+ private System.Windows.Forms.Button RemoveButton;
|
|
|
+ private System.Windows.Forms.SplitContainer MainSplitContainer;
|
|
|
+ private System.Windows.Forms.Panel ListViewManagePanel;
|
|
|
+ private System.Windows.Forms.CheckBox HvCheckBox;
|
|
|
+ private System.Windows.Forms.Button RefreshButton;
|
|
|
+ private System.Windows.Forms.Timer UpdateTimer;
|
|
|
+ private System.Windows.Forms.ColumnHeader TitleColumnHeader;
|
|
|
+ private System.Windows.Forms.ColumnHeader PosColumnHeader;
|
|
|
+ private System.Windows.Forms.PictureBox PreviewPictureBox;
|
|
|
+ private System.Windows.Forms.CheckBox ListenCheckButton;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|