1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2025-12-10 05:13:39 +00:00

Improved multi-display selection.

This commit is contained in:
Ylian Saint-Hilaire
2022-03-02 16:41:08 -08:00
parent d1091c5e0c
commit 95d1a442be
11 changed files with 291 additions and 177 deletions

30
KVMViewer.Designer.cs generated
View File

@@ -51,11 +51,11 @@ namespace MeshCentralRouter
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.updateTimer = new System.Windows.Forms.Timer(this.components);
this.topPanel = new System.Windows.Forms.Panel();
this.extraButtonsPanel = new System.Windows.Forms.Panel();
this.splitButton = new System.Windows.Forms.Button();
this.clipOutboundButton = new System.Windows.Forms.Button();
this.clipInboundButton = new System.Windows.Forms.Button();
this.statsButton = new System.Windows.Forms.Button();
this.displaySelectComboBox = new System.Windows.Forms.ComboBox();
this.settingsButton = new System.Windows.Forms.Button();
this.zoomButton = new System.Windows.Forms.Button();
this.cadButton = new System.Windows.Forms.Button();
@@ -68,6 +68,7 @@ namespace MeshCentralRouter
this.consoleTimer = new System.Windows.Forms.Timer(this.components);
this.mainToolTip = new System.Windows.Forms.ToolTip(this.components);
this.resizeKvmControl = new MeshCentralRouter.KVMResizeControl();
this.displaySelectorImageList = new System.Windows.Forms.ImageList(this.components);
this.mainStatusStrip.SuspendLayout();
this.topPanel.SuspendLayout();
this.consentContextMenuStrip.SuspendLayout();
@@ -103,11 +104,11 @@ namespace MeshCentralRouter
// topPanel
//
this.topPanel.BackColor = System.Drawing.SystemColors.Control;
this.topPanel.Controls.Add(this.extraButtonsPanel);
this.topPanel.Controls.Add(this.splitButton);
this.topPanel.Controls.Add(this.clipOutboundButton);
this.topPanel.Controls.Add(this.clipInboundButton);
this.topPanel.Controls.Add(this.statsButton);
this.topPanel.Controls.Add(this.displaySelectComboBox);
this.topPanel.Controls.Add(this.settingsButton);
this.topPanel.Controls.Add(this.zoomButton);
this.topPanel.Controls.Add(this.cadButton);
@@ -115,6 +116,11 @@ namespace MeshCentralRouter
resources.ApplyResources(this.topPanel, "topPanel");
this.topPanel.Name = "topPanel";
//
// extraButtonsPanel
//
resources.ApplyResources(this.extraButtonsPanel, "extraButtonsPanel");
this.extraButtonsPanel.Name = "extraButtonsPanel";
//
// splitButton
//
resources.ApplyResources(this.splitButton, "splitButton");
@@ -150,14 +156,6 @@ namespace MeshCentralRouter
this.statsButton.UseVisualStyleBackColor = true;
this.statsButton.Click += new System.EventHandler(this.statsButton_Click);
//
// displaySelectComboBox
//
this.displaySelectComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
resources.ApplyResources(this.displaySelectComboBox, "displaySelectComboBox");
this.displaySelectComboBox.Name = "displaySelectComboBox";
this.displaySelectComboBox.TabStop = false;
this.displaySelectComboBox.SelectionChangeCommitted += new System.EventHandler(this.displaySelectComboBox_SelectionChangeCommitted);
//
// settingsButton
//
resources.ApplyResources(this.settingsButton, "settingsButton");
@@ -243,6 +241,15 @@ namespace MeshCentralRouter
this.resizeKvmControl.Enter += new System.EventHandler(this.resizeKvmControl_Enter);
this.resizeKvmControl.Leave += new System.EventHandler(this.resizeKvmControl_Leave);
//
// displaySelectorImageList
//
this.displaySelectorImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("displaySelectorImageList.ImageStream")));
this.displaySelectorImageList.TransparentColor = System.Drawing.Color.Transparent;
this.displaySelectorImageList.Images.SetKeyName(0, "icon-monitor1.png");
this.displaySelectorImageList.Images.SetKeyName(1, "icon-monitor1b.png");
this.displaySelectorImageList.Images.SetKeyName(2, "icon-monitor2.png");
this.displaySelectorImageList.Images.SetKeyName(3, "icon-monitor2b.png");
//
// KVMViewer
//
resources.ApplyResources(this, "$this");
@@ -278,7 +285,6 @@ namespace MeshCentralRouter
private Button cadButton;
private Button zoomButton;
private Button settingsButton;
private ComboBox displaySelectComboBox;
private Label consoleMessage;
private Timer consoleTimer;
private Button statsButton;
@@ -290,6 +296,8 @@ namespace MeshCentralRouter
private ToolStripMenuItem askConsentToolStripMenuItem;
private ToolStripMenuItem privacyBarToolStripMenuItem;
private Button splitButton;
private Panel extraButtonsPanel;
private ImageList displaySelectorImageList;
}
}