Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / Microsoft / Win32 / PowerModeChangedEventArgs.cs / 1305376 / PowerModeChangedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace Microsoft.Win32 { using System; using System.Diagnostics; using System.Security.Permissions; ////// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] [HostProtection(MayLeakOnAbort = true)] public class PowerModeChangedEventArgs : EventArgs { private readonly PowerModes mode; ///Provides data for the ///event. /// public PowerModeChangedEventArgs(PowerModes mode) { this.mode = mode; } ///Initializes a new instance of the ///class. /// public PowerModes Mode { get { return mode; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the power mode. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CheckBoxFlatAdapter.cs
- SettingsBase.cs
- KeySpline.cs
- Misc.cs
- RectangleHotSpot.cs
- TextCompositionEventArgs.cs
- CompositeFontInfo.cs
- ExtentCqlBlock.cs
- IntPtr.cs
- SwitchElementsCollection.cs
- DataGridViewControlCollection.cs
- ProfileModule.cs
- SqlDependencyListener.cs
- ObjectHandle.cs
- ComponentResourceKey.cs
- ProvidersHelper.cs
- XmlEventCache.cs
- UnsafeNativeMethods.cs
- QueryContinueDragEvent.cs
- Site.cs
- RelatedImageListAttribute.cs
- ZipFileInfo.cs
- FreezableCollection.cs
- XPathNodeList.cs
- Profiler.cs
- StreamWriter.cs
- SortKey.cs
- BitStack.cs
- UnSafeCharBuffer.cs
- CodeMethodInvokeExpression.cs
- DesignBindingPropertyDescriptor.cs
- SplitterCancelEvent.cs
- Rotation3DAnimationUsingKeyFrames.cs
- Select.cs
- DesignerOptionService.cs
- GradientSpreadMethodValidation.cs
- FixedFlowMap.cs
- PrincipalPermission.cs
- WorkflowDataContext.cs
- SelectedCellsCollection.cs
- TemplateBindingExpression.cs
- FixedSOMLineCollection.cs
- Utility.cs
- SettingsPropertyNotFoundException.cs
- WorkflowRuntimeServiceElementCollection.cs
- SequentialWorkflowRootDesigner.cs
- XPathScanner.cs
- FtpWebRequest.cs
- PageOutputQuality.cs
- QilDataSource.cs
- RemotingSurrogateSelector.cs
- RectangleF.cs
- LambdaExpression.cs
- EventProxy.cs
- Parallel.cs
- SafeBitVector32.cs
- KernelTypeValidation.cs
- Control.cs
- PersianCalendar.cs
- HwndStylusInputProvider.cs
- ButtonBaseAdapter.cs
- PlatformNotSupportedException.cs
- InvalidOperationException.cs
- MediaTimeline.cs
- PreservationFileReader.cs
- SiteMapHierarchicalDataSourceView.cs
- SQLString.cs
- NegatedCellConstant.cs
- FormsAuthenticationUserCollection.cs
- StringResourceManager.cs
- ObjectStorage.cs
- MembershipUser.cs
- MarkupExtensionReturnTypeAttribute.cs
- RepeatBehaviorConverter.cs
- PeerInputChannelListener.cs
- HttpFormatExtensions.cs
- RegexInterpreter.cs
- Duration.cs
- DocobjHost.cs
- Win32.cs
- ExtensionSimplifierMarkupObject.cs
- CollectionDataContractAttribute.cs
- ArrayElementGridEntry.cs
- FilteredDataSetHelper.cs
- ServiceOperation.cs
- InstanceDataCollection.cs
- Point.cs
- RedirectionProxy.cs
- Int16AnimationUsingKeyFrames.cs
- FormsAuthenticationUser.cs
- NotImplementedException.cs
- EntityDataReader.cs
- indexingfiltermarshaler.cs
- MaskInputRejectedEventArgs.cs
- DbConnectionPoolGroupProviderInfo.cs
- Wrapper.cs
- RuntimeConfigLKG.cs
- RepeaterDataBoundAdapter.cs
- XmlSerializerNamespaces.cs
- COM2ComponentEditor.cs