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
- WindowsListViewGroup.cs
- DateTime.cs
- DBSchemaRow.cs
- Process.cs
- OracleLob.cs
- File.cs
- DataGridItemAttachedStorage.cs
- PageVisual.cs
- ListQueryResults.cs
- XmlILIndex.cs
- SqlUtils.cs
- CreateUserErrorEventArgs.cs
- InvokeProviderWrapper.cs
- SplashScreen.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- FunctionQuery.cs
- SystemIcons.cs
- AttachmentCollection.cs
- QuaternionValueSerializer.cs
- _TimerThread.cs
- BitmapEffectDrawingContextWalker.cs
- BitmapMetadata.cs
- MarkupCompilePass2.cs
- ProxyHelper.cs
- SystemNetworkInterface.cs
- FrameworkElement.cs
- Cursor.cs
- CompareValidator.cs
- SqlTypesSchemaImporter.cs
- ReflectTypeDescriptionProvider.cs
- ProfileServiceManager.cs
- Number.cs
- CheckBox.cs
- Membership.cs
- DropDownButton.cs
- Set.cs
- OdbcTransaction.cs
- DataGridViewCellCollection.cs
- MouseOverProperty.cs
- ResourceDescriptionAttribute.cs
- EntityConnectionStringBuilder.cs
- ConnectorDragDropGlyph.cs
- TreeNodeBinding.cs
- Vector3DCollection.cs
- Group.cs
- XamlWriter.cs
- EncoderExceptionFallback.cs
- TraceUtility.cs
- ToolStripContainer.cs
- DeadCharTextComposition.cs
- WebPartExportVerb.cs
- ImageCollectionEditor.cs
- DataGridViewToolTip.cs
- XmlNodeWriter.cs
- LinqTreeNodeEvaluator.cs
- GeometryCollection.cs
- NGCUIElementCollectionSerializerAsync.cs
- SearchExpression.cs
- PlacementWorkspace.cs
- OleDbSchemaGuid.cs
- HandlerWithFactory.cs
- ZoneMembershipCondition.cs
- OleDbReferenceCollection.cs
- RoamingStoreFile.cs
- ImageMapEventArgs.cs
- DoubleConverter.cs
- COM2IDispatchConverter.cs
- TransactionContext.cs
- FunctionDefinition.cs
- SQLDecimal.cs
- InputLanguageSource.cs
- XamlToRtfParser.cs
- TypeInfo.cs
- Rights.cs
- CopyAction.cs
- MultiBinding.cs
- EventRouteFactory.cs
- HtmlInputText.cs
- Select.cs
- UdpChannelFactory.cs
- GridViewRowCollection.cs
- FixedPageAutomationPeer.cs
- NetTcpBindingElement.cs
- DataGridViewLinkColumn.cs
- Accessible.cs
- VectorCollection.cs
- WebResourceAttribute.cs
- BindingList.cs
- GroupQuery.cs
- DataObjectSettingDataEventArgs.cs
- UnhandledExceptionEventArgs.cs
- ObjectComplexPropertyMapping.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- util.cs
- WindowsToolbarAsMenu.cs
- NotFiniteNumberException.cs
- StringValueSerializer.cs
- GenericAuthenticationEventArgs.cs
- MarginCollapsingState.cs
- BevelBitmapEffect.cs