1 instantiation of PowerStatus
System.Windows.Forms (1)
System\Windows\Forms\SystemInformation.cs (1)
176
public static PowerStatus PowerStatus => s_powerStatus ??= new
PowerStatus
();
8 references to PowerStatus
System.Windows.Forms (2)
System\Windows\Forms\SystemInformation.cs (2)
27
private static
PowerStatus
? s_powerStatus;
176
public static
PowerStatus
PowerStatus => s_powerStatus ??= new PowerStatus();
System.Windows.Forms.Tests (6)
System\Windows\Forms\PowerStatusTests.cs (5)
12
PowerStatus
status = SystemInformation.PowerStatus;
44
PowerStatus
status = SystemInformation.PowerStatus;
51
PowerStatus
status = SystemInformation.PowerStatus;
59
PowerStatus
status = SystemInformation.PowerStatus;
66
PowerStatus
status = SystemInformation.PowerStatus;
System\Windows\Forms\SystemInformationTests.cs (1)
619
PowerStatus
status = SystemInformation.PowerStatus;