Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / Microsoft / Win32 / PowerModeChangedEventArgs.cs / 1 / 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; } } } }Gets the power mode. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Transform3DGroup.cs
- BrowserCapabilitiesCodeGenerator.cs
- ChtmlImageAdapter.cs
- ContractComponent.cs
- RadialGradientBrush.cs
- XmlSchemaAnnotated.cs
- Task.cs
- CssClassPropertyAttribute.cs
- Deflater.cs
- DocumentScope.cs
- DependentList.cs
- EpmContentSerializerBase.cs
- HiddenField.cs
- ErrorRuntimeConfig.cs
- XmlSerializerVersionAttribute.cs
- WebRequestModuleElementCollection.cs
- DirectoryObjectSecurity.cs
- XmlAttributeCache.cs
- WebConfigurationFileMap.cs
- DefaultHttpHandler.cs
- RightNameExpirationInfoPair.cs
- OpenTypeLayout.cs
- UseLicense.cs
- RSAPKCS1KeyExchangeFormatter.cs
- BooleanStorage.cs
- AdRotator.cs
- CalendarAutoFormatDialog.cs
- ThreadExceptionEvent.cs
- BasicCellRelation.cs
- PropertySegmentSerializer.cs
- ThrowOnMultipleAssignment.cs
- XmlValidatingReaderImpl.cs
- SamlEvidence.cs
- Visitors.cs
- WinInetCache.cs
- XmlHierarchicalDataSourceView.cs
- shaperfactoryquerycacheentry.cs
- TypeReference.cs
- OracleDataReader.cs
- Funcletizer.cs
- SafeProcessHandle.cs
- DetailsViewInsertEventArgs.cs
- PageRanges.cs
- XmlAttributes.cs
- GridViewItemAutomationPeer.cs
- DataColumn.cs
- XmlSchemaImporter.cs
- BamlLocalizabilityResolver.cs
- ModifierKeysValueSerializer.cs
- SqlDataSourceCommandEventArgs.cs
- AppSettingsExpressionBuilder.cs
- UInt16.cs
- OracleCommand.cs
- HierarchicalDataBoundControl.cs
- TypeTypeConverter.cs
- InputLanguageSource.cs
- ServicePointManager.cs
- Material.cs
- PolyQuadraticBezierSegment.cs
- ReferencedType.cs
- DayRenderEvent.cs
- EntityWrapperFactory.cs
- TaskFileService.cs
- BamlLocalizableResource.cs
- CrossContextChannel.cs
- DBNull.cs
- EdmType.cs
- AuthenticationConfig.cs
- securestring.cs
- SourceLineInfo.cs
- WebPartCatalogAddVerb.cs
- SchemaContext.cs
- SQLDoubleStorage.cs
- SimpleRecyclingCache.cs
- FrameworkObject.cs
- StrokeCollection2.cs
- InstancePersistenceCommandException.cs
- OutArgument.cs
- ClassicBorderDecorator.cs
- PlatformNotSupportedException.cs
- DataGridViewSelectedCellCollection.cs
- ListControlBuilder.cs
- RadioButtonPopupAdapter.cs
- FillBehavior.cs
- RemotingService.cs
- DeferredSelectedIndexReference.cs
- ScriptingProfileServiceSection.cs
- TcpSocketManager.cs
- CachedTypeface.cs
- SqlVersion.cs
- TwoPhaseCommitProxy.cs
- KeyboardNavigation.cs
- OLEDB_Util.cs
- CodeDirectiveCollection.cs
- WindowProviderWrapper.cs
- AggregatePushdown.cs
- ObjectMaterializedEventArgs.cs
- HttpListenerPrefixCollection.cs
- KeyFrames.cs
- WebPageTraceListener.cs