2022-11-26 11:09:58 +01:00
|
|
|
namespace FanControl
|
2022-11-11 19:56:08 +01:00
|
|
|
{
|
|
|
|
|
partial class FanControlForm
|
|
|
|
|
{
|
|
|
|
|
/// <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 Windows Form 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();
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FanControlForm));
|
2022-11-12 10:14:09 +01:00
|
|
|
this.fanLoopTimer = new System.Windows.Forms.Timer(this.components);
|
2022-11-11 20:01:44 +01:00
|
|
|
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
2022-11-11 19:56:08 +01:00
|
|
|
this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
2022-11-12 22:22:48 +01:00
|
|
|
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
2022-11-16 22:32:10 +01:00
|
|
|
this.toolStripSeparatorEndOfModes = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.toolStripMenuItemStartupOnBootContext = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.toolStripMenuItemAlwaysOnTopContext = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
|
2022-11-11 19:56:08 +01:00
|
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
|
|
|
this.fanModeSelectMenu = new System.Windows.Forms.ToolStripComboBox();
|
|
|
|
|
this.controlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2022-11-12 12:22:19 +01:00
|
|
|
this.toolStripMenuItemStartupOnBoot = new System.Windows.Forms.ToolStripMenuItem();
|
2022-11-12 22:22:48 +01:00
|
|
|
this.toolStripMenuItemAlwaysOnTop = new System.Windows.Forms.ToolStripMenuItem();
|
2022-11-16 22:32:10 +01:00
|
|
|
this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem();
|
2022-11-12 12:22:19 +01:00
|
|
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
2022-11-11 19:56:08 +01:00
|
|
|
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2022-11-12 10:14:09 +01:00
|
|
|
this.propertyGridUpdateTimer = new System.Windows.Forms.Timer(this.components);
|
2022-11-12 11:41:24 +01:00
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
2022-11-12 14:25:57 +01:00
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.helpLabel = new System.Windows.Forms.Label();
|
2022-11-12 11:41:24 +01:00
|
|
|
this.sensorWarningLabel = new System.Windows.Forms.Label();
|
|
|
|
|
this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
|
2022-11-11 19:56:08 +01:00
|
|
|
this.contextMenu.SuspendLayout();
|
|
|
|
|
this.menuStrip1.SuspendLayout();
|
2022-11-12 11:41:24 +01:00
|
|
|
this.tableLayoutPanel1.SuspendLayout();
|
2022-11-11 19:56:08 +01:00
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
2022-11-12 10:14:09 +01:00
|
|
|
// fanLoopTimer
|
2022-11-11 19:56:08 +01:00
|
|
|
//
|
2022-11-12 10:14:09 +01:00
|
|
|
this.fanLoopTimer.Enabled = true;
|
|
|
|
|
this.fanLoopTimer.Interval = 250;
|
|
|
|
|
this.fanLoopTimer.Tick += new System.EventHandler(this.fanLoopTimer_Tick);
|
2022-11-11 19:56:08 +01:00
|
|
|
//
|
2022-11-11 20:01:44 +01:00
|
|
|
// notifyIcon
|
2022-11-11 19:56:08 +01:00
|
|
|
//
|
2022-11-11 20:01:44 +01:00
|
|
|
this.notifyIcon.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info;
|
|
|
|
|
this.notifyIcon.BalloonTipText = "Test";
|
|
|
|
|
this.notifyIcon.ContextMenuStrip = this.contextMenu;
|
|
|
|
|
this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));
|
|
|
|
|
this.notifyIcon.Text = "Steam Deck Fan Control";
|
|
|
|
|
this.notifyIcon.DoubleClick += new System.EventHandler(this.formShow_Event);
|
2022-11-11 19:56:08 +01:00
|
|
|
//
|
|
|
|
|
// contextMenu
|
|
|
|
|
//
|
|
|
|
|
this.contextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
2022-11-12 22:22:48 +01:00
|
|
|
this.toolStripMenuItem2,
|
|
|
|
|
this.toolStripSeparator3,
|
2022-11-16 22:32:10 +01:00
|
|
|
this.toolStripSeparatorEndOfModes,
|
|
|
|
|
this.toolStripMenuItemStartupOnBootContext,
|
|
|
|
|
this.toolStripMenuItemAlwaysOnTopContext,
|
|
|
|
|
this.toolStripMenuItem3,
|
2022-11-11 19:56:08 +01:00
|
|
|
this.toolStripSeparator1,
|
|
|
|
|
this.toolStripMenuItem1});
|
|
|
|
|
this.contextMenu.Name = "fanModeSelectMenu";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.contextMenu.Size = new System.Drawing.Size(257, 212);
|
2022-11-12 22:22:48 +01:00
|
|
|
//
|
|
|
|
|
// toolStripMenuItem2
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripMenuItem2.Size = new System.Drawing.Size(256, 38);
|
2022-11-12 22:22:48 +01:00
|
|
|
this.toolStripMenuItem2.Text = "&Show";
|
|
|
|
|
this.toolStripMenuItem2.Click += new System.EventHandler(this.formShow_Event);
|
|
|
|
|
//
|
|
|
|
|
// toolStripSeparator3
|
|
|
|
|
//
|
|
|
|
|
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripSeparator3.Size = new System.Drawing.Size(253, 6);
|
2022-11-11 19:56:08 +01:00
|
|
|
//
|
2022-11-16 22:32:10 +01:00
|
|
|
// toolStripSeparatorEndOfModes
|
2022-11-11 19:56:08 +01:00
|
|
|
//
|
2022-11-16 22:32:10 +01:00
|
|
|
this.toolStripSeparatorEndOfModes.Name = "toolStripSeparatorEndOfModes";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripSeparatorEndOfModes.Size = new System.Drawing.Size(253, 6);
|
2022-11-16 22:32:10 +01:00
|
|
|
//
|
|
|
|
|
// toolStripMenuItemStartupOnBootContext
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItemStartupOnBootContext.Name = "toolStripMenuItemStartupOnBootContext";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripMenuItemStartupOnBootContext.Size = new System.Drawing.Size(256, 38);
|
2022-12-05 21:15:31 +01:00
|
|
|
this.toolStripMenuItemStartupOnBootContext.Text = "Run On &Startup";
|
2022-11-16 22:32:10 +01:00
|
|
|
this.toolStripMenuItemStartupOnBootContext.Click += new System.EventHandler(this.toolStripMenuItemStartupOnBoot_Click);
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemAlwaysOnTopContext
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItemAlwaysOnTopContext.Name = "toolStripMenuItemAlwaysOnTopContext";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripMenuItemAlwaysOnTopContext.Size = new System.Drawing.Size(256, 38);
|
2022-11-16 22:32:10 +01:00
|
|
|
this.toolStripMenuItemAlwaysOnTopContext.Text = "&Always on Top";
|
|
|
|
|
this.toolStripMenuItemAlwaysOnTopContext.Click += new System.EventHandler(this.toolStripMenuItemAlwaysOnTop_Click);
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItem3
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripMenuItem3.Size = new System.Drawing.Size(256, 38);
|
2022-11-16 22:32:10 +01:00
|
|
|
this.toolStripMenuItem3.Text = "Help";
|
|
|
|
|
this.toolStripMenuItem3.Click += new System.EventHandler(this.help_DoubleClick);
|
2022-11-11 19:56:08 +01:00
|
|
|
//
|
|
|
|
|
// toolStripSeparator1
|
|
|
|
|
//
|
|
|
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(253, 6);
|
2022-11-11 19:56:08 +01:00
|
|
|
//
|
|
|
|
|
// toolStripMenuItem1
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(256, 38);
|
2022-11-12 22:22:48 +01:00
|
|
|
this.toolStripMenuItem1.Text = "&Exit";
|
2022-11-11 19:56:08 +01:00
|
|
|
this.toolStripMenuItem1.Click += new System.EventHandler(this.formClose_Event);
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
|
|
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.fanModeSelectMenu,
|
|
|
|
|
this.controlToolStripMenuItem});
|
|
|
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.menuStrip1.Name = "menuStrip1";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.menuStrip1.Size = new System.Drawing.Size(711, 44);
|
2022-11-11 19:56:08 +01:00
|
|
|
this.menuStrip1.TabIndex = 3;
|
|
|
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// fanModeSelectMenu
|
|
|
|
|
//
|
|
|
|
|
this.fanModeSelectMenu.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
|
|
|
|
this.fanModeSelectMenu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
|
|
this.fanModeSelectMenu.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
|
|
this.fanModeSelectMenu.Name = "fanModeSelectMenu";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.fanModeSelectMenu.Size = new System.Drawing.Size(249, 40);
|
2022-11-16 22:32:10 +01:00
|
|
|
this.fanModeSelectMenu.SelectedIndexChanged += new System.EventHandler(this.fanModeSelectMenu_SelectedIndexChanged);
|
2022-11-11 19:56:08 +01:00
|
|
|
//
|
|
|
|
|
// controlToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.controlToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
2022-11-12 12:22:19 +01:00
|
|
|
this.toolStripMenuItemStartupOnBoot,
|
2022-11-12 22:22:48 +01:00
|
|
|
this.toolStripMenuItemAlwaysOnTop,
|
2022-11-16 22:32:10 +01:00
|
|
|
this.toolStripMenuItem4,
|
2022-11-12 12:22:19 +01:00
|
|
|
this.toolStripSeparator2,
|
2022-11-11 19:56:08 +01:00
|
|
|
this.exitToolStripMenuItem});
|
|
|
|
|
this.controlToolStripMenuItem.Name = "controlToolStripMenuItem";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.controlToolStripMenuItem.Size = new System.Drawing.Size(113, 40);
|
2022-11-11 19:56:08 +01:00
|
|
|
this.controlToolStripMenuItem.Text = "&Control";
|
|
|
|
|
//
|
2022-11-12 12:22:19 +01:00
|
|
|
// toolStripMenuItemStartupOnBoot
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItemStartupOnBoot.Name = "toolStripMenuItemStartupOnBoot";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripMenuItemStartupOnBoot.Size = new System.Drawing.Size(315, 44);
|
2022-12-05 18:49:18 +01:00
|
|
|
this.toolStripMenuItemStartupOnBoot.Text = "Run On &Startup";
|
2022-11-12 12:22:19 +01:00
|
|
|
this.toolStripMenuItemStartupOnBoot.Click += new System.EventHandler(this.toolStripMenuItemStartupOnBoot_Click);
|
|
|
|
|
//
|
2022-11-12 22:22:48 +01:00
|
|
|
// toolStripMenuItemAlwaysOnTop
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItemAlwaysOnTop.Name = "toolStripMenuItemAlwaysOnTop";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripMenuItemAlwaysOnTop.Size = new System.Drawing.Size(315, 44);
|
2022-11-12 22:22:48 +01:00
|
|
|
this.toolStripMenuItemAlwaysOnTop.Text = "&Always on Top";
|
|
|
|
|
this.toolStripMenuItemAlwaysOnTop.Click += new System.EventHandler(this.toolStripMenuItemAlwaysOnTop_Click);
|
|
|
|
|
//
|
2022-11-16 22:32:10 +01:00
|
|
|
// toolStripMenuItem4
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItem4.Name = "toolStripMenuItem4";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripMenuItem4.Size = new System.Drawing.Size(315, 44);
|
2022-11-16 22:32:10 +01:00
|
|
|
this.toolStripMenuItem4.Text = "Help";
|
|
|
|
|
this.toolStripMenuItem4.Click += new System.EventHandler(this.help_DoubleClick);
|
|
|
|
|
//
|
2022-11-12 12:22:19 +01:00
|
|
|
// toolStripSeparator2
|
|
|
|
|
//
|
|
|
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.toolStripSeparator2.Size = new System.Drawing.Size(312, 6);
|
2022-11-12 12:22:19 +01:00
|
|
|
//
|
2022-11-11 19:56:08 +01:00
|
|
|
// exitToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(315, 44);
|
2022-11-11 19:56:08 +01:00
|
|
|
this.exitToolStripMenuItem.Text = "&Exit";
|
|
|
|
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.formClose_Event);
|
|
|
|
|
//
|
2022-11-12 10:14:09 +01:00
|
|
|
// propertyGridUpdateTimer
|
|
|
|
|
//
|
|
|
|
|
this.propertyGridUpdateTimer.Enabled = true;
|
|
|
|
|
this.propertyGridUpdateTimer.Interval = 1000;
|
|
|
|
|
this.propertyGridUpdateTimer.Tick += new System.EventHandler(this.propertyGridUpdateTimer_Tick);
|
|
|
|
|
//
|
2022-11-12 11:41:24 +01:00
|
|
|
// tableLayoutPanel1
|
|
|
|
|
//
|
|
|
|
|
this.tableLayoutPanel1.ColumnCount = 1;
|
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
2022-11-12 14:25:57 +01:00
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 3);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.helpLabel, 0, 3);
|
2022-11-12 11:41:24 +01:00
|
|
|
this.tableLayoutPanel1.Controls.Add(this.sensorWarningLabel, 0, 1);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.propertyGrid1, 0, 0);
|
|
|
|
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
2022-11-26 10:13:16 +01:00
|
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 44);
|
|
|
|
|
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
2022-11-12 11:41:24 +01:00
|
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
2022-11-12 14:25:57 +01:00
|
|
|
this.tableLayoutPanel1.RowCount = 4;
|
2022-11-12 11:41:24 +01:00
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
2022-11-12 12:22:19 +01:00
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
2022-11-12 14:25:57 +01:00
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
2022-11-26 10:13:16 +01:00
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(711, 1046);
|
2022-11-12 11:41:24 +01:00
|
|
|
this.tableLayoutPanel1.TabIndex = 5;
|
|
|
|
|
//
|
2022-11-12 14:25:57 +01:00
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
|
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.label1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
|
|
this.label1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
|
|
|
this.label1.ForeColor = System.Drawing.Color.Red;
|
2022-11-26 10:13:16 +01:00
|
|
|
this.label1.Location = new System.Drawing.Point(4, 950);
|
|
|
|
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
2022-11-12 14:25:57 +01:00
|
|
|
this.label1.Name = "label1";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.label1.Size = new System.Drawing.Size(703, 64);
|
2022-11-12 14:25:57 +01:00
|
|
|
this.label1.TabIndex = 9;
|
|
|
|
|
this.label1.Text = "This application is highly experimental.\r\nUse at your own risk!";
|
|
|
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// helpLabel
|
|
|
|
|
//
|
|
|
|
|
this.helpLabel.AutoSize = true;
|
|
|
|
|
this.helpLabel.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
|
|
|
this.helpLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.helpLabel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
|
|
this.helpLabel.Font = new System.Drawing.Font("Segoe UI", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point);
|
|
|
|
|
this.helpLabel.ForeColor = System.Drawing.SystemColors.HotTrack;
|
2022-11-26 10:13:16 +01:00
|
|
|
this.helpLabel.Location = new System.Drawing.Point(4, 1014);
|
|
|
|
|
this.helpLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
2022-11-12 14:25:57 +01:00
|
|
|
this.helpLabel.Name = "helpLabel";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.helpLabel.Size = new System.Drawing.Size(703, 32);
|
2022-11-12 14:25:57 +01:00
|
|
|
this.helpLabel.TabIndex = 8;
|
2022-12-10 10:21:10 +01:00
|
|
|
this.helpLabel.Text = "https://steam-deck-tools.ayufan.dev";
|
2022-11-12 14:25:57 +01:00
|
|
|
this.helpLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
2022-11-12 22:11:32 +01:00
|
|
|
this.helpLabel.DoubleClick += new System.EventHandler(this.help_DoubleClick);
|
2022-11-12 14:25:57 +01:00
|
|
|
//
|
2022-11-12 11:41:24 +01:00
|
|
|
// sensorWarningLabel
|
|
|
|
|
//
|
|
|
|
|
this.sensorWarningLabel.AutoSize = true;
|
|
|
|
|
this.sensorWarningLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.sensorWarningLabel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
|
|
this.sensorWarningLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
|
|
|
this.sensorWarningLabel.ForeColor = System.Drawing.Color.Red;
|
2022-11-26 10:13:16 +01:00
|
|
|
this.sensorWarningLabel.Location = new System.Drawing.Point(4, 854);
|
|
|
|
|
this.sensorWarningLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
2022-11-12 11:41:24 +01:00
|
|
|
this.sensorWarningLabel.Name = "sensorWarningLabel";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.sensorWarningLabel.Size = new System.Drawing.Size(703, 96);
|
2022-11-12 11:41:24 +01:00
|
|
|
this.sensorWarningLabel.TabIndex = 6;
|
|
|
|
|
this.sensorWarningLabel.Text = "Some sensors are missing.\r\nThe fan behavior might be incorrect.\r\nWhich might resu" +
|
2022-11-12 14:25:57 +01:00
|
|
|
"lt in device overheating.\r\n";
|
2022-11-12 11:41:24 +01:00
|
|
|
this.sensorWarningLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
this.sensorWarningLabel.Visible = false;
|
|
|
|
|
//
|
|
|
|
|
// propertyGrid1
|
|
|
|
|
//
|
|
|
|
|
this.propertyGrid1.DisabledItemForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
|
|
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.propertyGrid1.HelpVisible = false;
|
2022-11-26 10:13:16 +01:00
|
|
|
this.propertyGrid1.Location = new System.Drawing.Point(4, 2);
|
|
|
|
|
this.propertyGrid1.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
2022-11-12 11:41:24 +01:00
|
|
|
this.propertyGrid1.Name = "propertyGrid1";
|
2022-11-26 10:13:16 +01:00
|
|
|
this.propertyGrid1.Size = new System.Drawing.Size(703, 850);
|
2022-11-12 11:41:24 +01:00
|
|
|
this.propertyGrid1.TabIndex = 1;
|
|
|
|
|
this.propertyGrid1.ToolbarVisible = false;
|
|
|
|
|
//
|
2022-11-11 19:56:08 +01:00
|
|
|
// FanControlForm
|
|
|
|
|
//
|
2022-11-26 10:13:16 +01:00
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(13F, 32F);
|
2022-11-11 19:56:08 +01:00
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2022-11-12 17:06:34 +01:00
|
|
|
this.AutoSize = true;
|
2022-11-26 10:13:16 +01:00
|
|
|
this.ClientSize = new System.Drawing.Size(711, 1090);
|
2022-11-12 11:41:24 +01:00
|
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
2022-11-11 19:56:08 +01:00
|
|
|
this.Controls.Add(this.menuStrip1);
|
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
|
|
this.MainMenuStrip = this.menuStrip1;
|
2022-11-26 10:13:16 +01:00
|
|
|
this.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
2022-11-12 12:22:19 +01:00
|
|
|
this.MaximizeBox = false;
|
2022-11-12 17:06:34 +01:00
|
|
|
this.MinimizeBox = false;
|
2022-11-11 19:56:08 +01:00
|
|
|
this.Name = "FanControlForm";
|
2022-11-12 12:22:19 +01:00
|
|
|
this.ShowInTaskbar = false;
|
2022-11-11 20:01:44 +01:00
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
2022-11-11 19:56:08 +01:00
|
|
|
this.Text = "Steam Deck Fan Control";
|
|
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FanControlForm_FormClosing);
|
|
|
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FanControlForm_FormClosed);
|
|
|
|
|
this.contextMenu.ResumeLayout(false);
|
|
|
|
|
this.menuStrip1.ResumeLayout(false);
|
|
|
|
|
this.menuStrip1.PerformLayout();
|
2022-11-12 11:41:24 +01:00
|
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
|
|
|
this.tableLayoutPanel1.PerformLayout();
|
2022-11-11 19:56:08 +01:00
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2022-11-12 10:14:09 +01:00
|
|
|
private System.Windows.Forms.Timer fanLoopTimer;
|
2022-11-11 20:01:44 +01:00
|
|
|
private NotifyIcon notifyIcon;
|
2022-11-11 19:56:08 +01:00
|
|
|
private ContextMenuStrip contextMenu;
|
|
|
|
|
private MenuStrip menuStrip1;
|
2022-11-16 22:32:10 +01:00
|
|
|
private ToolStripSeparator toolStripSeparatorEndOfModes;
|
2022-11-11 19:56:08 +01:00
|
|
|
private ToolStripMenuItem toolStripMenuItem1;
|
|
|
|
|
private ToolStripComboBox fanModeSelectMenu;
|
|
|
|
|
private ToolStripMenuItem controlToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem exitToolStripMenuItem;
|
2022-11-12 10:14:09 +01:00
|
|
|
private System.Windows.Forms.Timer propertyGridUpdateTimer;
|
2022-11-12 11:41:24 +01:00
|
|
|
private TableLayoutPanel tableLayoutPanel1;
|
|
|
|
|
private Label sensorWarningLabel;
|
|
|
|
|
private PropertyGrid propertyGrid1;
|
2022-11-12 12:22:19 +01:00
|
|
|
private ToolStripMenuItem toolStripMenuItemStartupOnBoot;
|
|
|
|
|
private ToolStripSeparator toolStripSeparator2;
|
2022-11-12 14:25:57 +01:00
|
|
|
private Label label1;
|
2022-11-12 13:56:15 +01:00
|
|
|
private Label helpLabel;
|
2022-11-12 22:22:48 +01:00
|
|
|
private ToolStripMenuItem toolStripMenuItemAlwaysOnTop;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItem2;
|
|
|
|
|
private ToolStripSeparator toolStripSeparator3;
|
2022-11-16 22:32:10 +01:00
|
|
|
private ToolStripMenuItem toolStripMenuItemStartupOnBootContext;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItemAlwaysOnTopContext;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItem3;
|
|
|
|
|
private ToolStripSeparator toolStripSeparator1;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItem4;
|
2022-11-11 19:56:08 +01:00
|
|
|
}
|
|
|
|
|
}
|