mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 06:43:49 +00:00
Better startup sequence
This commit is contained in:
parent
b8333064e2
commit
d073ab0ff6
3 changed files with 35 additions and 24 deletions
34
FanControl/FanControlForm.Designer.cs
generated
34
FanControl/FanControlForm.Designer.cs
generated
|
|
@ -30,8 +30,8 @@
|
|||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FanControlForm));
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.updateTimer = new System.Windows.Forms.Timer(this.components);
|
||||
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.fanModeSelectNotifyMenu = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
|
|
@ -45,21 +45,21 @@
|
|||
this.menuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// timer1
|
||||
// updateTimer
|
||||
//
|
||||
this.timer1.Enabled = true;
|
||||
this.timer1.Interval = 200;
|
||||
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
||||
this.updateTimer.Enabled = true;
|
||||
this.updateTimer.Interval = 250;
|
||||
this.updateTimer.Tick += new System.EventHandler(this.updateTimer_Tick);
|
||||
//
|
||||
// notifyIcon1
|
||||
// notifyIcon
|
||||
//
|
||||
this.notifyIcon1.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info;
|
||||
this.notifyIcon1.BalloonTipText = "Test";
|
||||
this.notifyIcon1.ContextMenuStrip = this.contextMenu;
|
||||
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
||||
this.notifyIcon1.Text = "notifyIcon1";
|
||||
this.notifyIcon1.Visible = true;
|
||||
this.notifyIcon1.DoubleClick += new System.EventHandler(this.formShow_Event);
|
||||
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.Visible = true;
|
||||
this.notifyIcon.DoubleClick += new System.EventHandler(this.formShow_Event);
|
||||
//
|
||||
// contextMenu
|
||||
//
|
||||
|
|
@ -148,7 +148,9 @@
|
|||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.Name = "FanControlForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Steam Deck Fan Control";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FanControlForm_FormClosing);
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FanControlForm_FormClosed);
|
||||
this.contextMenu.ResumeLayout(false);
|
||||
|
|
@ -161,8 +163,8 @@
|
|||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Timer timer1;
|
||||
private NotifyIcon notifyIcon1;
|
||||
private System.Windows.Forms.Timer updateTimer;
|
||||
private NotifyIcon notifyIcon;
|
||||
private PropertyGrid propertyGrid1;
|
||||
private ContextMenuStrip contextMenu;
|
||||
private MenuStrip menuStrip1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue