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
- CommandHelper.cs
- HttpModulesSection.cs
- Helper.cs
- EntityCommand.cs
- Color.cs
- Quaternion.cs
- RoutedEvent.cs
- ToolStripContainerDesigner.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- DataService.cs
- CompoundFileIOPermission.cs
- PolyLineSegment.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- NavigationEventArgs.cs
- AuthenticateEventArgs.cs
- TemplateInstanceAttribute.cs
- ApplicationException.cs
- SqlNodeAnnotations.cs
- DataGridCaption.cs
- CompensatableSequenceActivity.cs
- ContextStaticAttribute.cs
- LocatorBase.cs
- RowToParametersTransformer.cs
- CheckPair.cs
- NavigatorInput.cs
- Menu.cs
- WindowsFormsHostAutomationPeer.cs
- BoundsDrawingContextWalker.cs
- UIPermission.cs
- TypeLibConverter.cs
- ConfigurationManager.cs
- BitmapEffectGeneralTransform.cs
- DocobjHost.cs
- PriorityItem.cs
- UIPropertyMetadata.cs
- ObjectTag.cs
- TemplateField.cs
- RangeValidator.cs
- DataServiceEntityAttribute.cs
- ReferenceEqualityComparer.cs
- CodeTypeMemberCollection.cs
- Exception.cs
- NameValueSectionHandler.cs
- EntityViewGenerator.cs
- DataGridViewRowCancelEventArgs.cs
- MachineKeyConverter.cs
- UniqueIdentifierService.cs
- Span.cs
- EmptyReadOnlyDictionaryInternal.cs
- ExtendedPropertyDescriptor.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- LocatorGroup.cs
- InfoCardRSACryptoProvider.cs
- RequestQueryProcessor.cs
- ErrorBehavior.cs
- FormsAuthenticationCredentials.cs
- MemoryRecordBuffer.cs
- TargetControlTypeAttribute.cs
- ClientSettingsProvider.cs
- TraceHandlerErrorFormatter.cs
- WindowsListBox.cs
- PartialList.cs
- IconBitmapDecoder.cs
- ConstraintManager.cs
- LocationInfo.cs
- SafeViewOfFileHandle.cs
- ValueProviderWrapper.cs
- QueryStringConverter.cs
- PointAnimation.cs
- OwnerDrawPropertyBag.cs
- BufferedGraphics.cs
- DependencyPropertyAttribute.cs
- DataGridViewColumnCollectionDialog.cs
- ValidationManager.cs
- Parameter.cs
- DataTemplate.cs
- XamlStackWriter.cs
- SafeRightsManagementHandle.cs
- ClientProxyGenerator.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- KoreanCalendar.cs
- ServiceModelSecurityTokenTypes.cs
- TextSimpleMarkerProperties.cs
- WebEvents.cs
- Attribute.cs
- Int32AnimationUsingKeyFrames.cs
- WebBrowserDocumentCompletedEventHandler.cs
- DoubleUtil.cs
- XmlSchemaGroupRef.cs
- SamlAudienceRestrictionCondition.cs
- SqlCaseSimplifier.cs
- XmlAttributeCollection.cs
- DataGridViewButtonCell.cs
- MouseGestureConverter.cs
- BookmarkCallbackWrapper.cs
- SafeArrayRankMismatchException.cs
- ScriptResourceHandler.cs
- NativeMethods.cs
- DataFormats.cs
- AvtEvent.cs