mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 14:53:48 +00:00
PowerControl: Improve null handling
This commit is contained in:
parent
a30ef2c400
commit
1ff7bed567
6 changed files with 19 additions and 14 deletions
|
|
@ -8,10 +8,10 @@ namespace PowerControl.Menu
|
|||
public int ApplyDelay { get; set; }
|
||||
public bool CycleOptions { get; set; } = true;
|
||||
|
||||
public Func<object>? CurrentValue { get; set; }
|
||||
public Func<object[]>? OptionsValues { get; set; }
|
||||
public Func<object, object>? ApplyValue { get; set; }
|
||||
public Func<object>? ResetValue { get; set; }
|
||||
public Func<object?>? CurrentValue { get; set; }
|
||||
public Func<object[]?>? OptionsValues { get; set; }
|
||||
public Func<object, object?>? ApplyValue { get; set; }
|
||||
public Func<object?>? ResetValue { get; set; }
|
||||
|
||||
private System.Windows.Forms.Timer delayTimer = new System.Windows.Forms.Timer();
|
||||
private ToolStripMenuItem toolStripItem = new ToolStripMenuItem();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue