PowerModeChangedEventArgs

PowerModeChangedEventArgs

Microsoft.Win32 (system.dll) class

This class creates a custom System.EventArgs object for the PowerModeChangedEventHandler delegate. It provides additional information to your event handler, identifying the new power mode that the system has entered.

 public class  PowerModeChangedEventArgs  : EventArgs {  // Public Constructors  public  PowerModeChangedEventArgs  (PowerModes   mode   );  // Public Instance Properties  public PowerModes  Mode  {get; } } 

Hierarchy

System.Object System.EventArgs PowerModeChangedEventArgs

Passed To

PowerModeChangedEventHandler.{BeginInvoke( ) , Invoke( )}

Figure 25-1 shows the inheritance diagram for this namespace.

Figure 25-1. The Microsoft.Win32 namespace
figs/csn2_2501.gif


C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net