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