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
- CqlLexer.cs
- AutoGeneratedFieldProperties.cs
- SoapSchemaImporter.cs
- Base64Decoder.cs
- TextViewDesigner.cs
- Listener.cs
- PaintEvent.cs
- TypeResolver.cs
- CookielessHelper.cs
- StandardToolWindows.cs
- XmlCharCheckingReader.cs
- ExecutionEngineException.cs
- AnnouncementEndpointElement.cs
- StackOverflowException.cs
- TextBlockAutomationPeer.cs
- QueryStringConverter.cs
- ProgressBarBrushConverter.cs
- HtmlValidatorAdapter.cs
- StringUtil.cs
- xmlglyphRunInfo.cs
- MaskedTextBoxTextEditor.cs
- TransactionInformation.cs
- HitTestWithGeometryDrawingContextWalker.cs
- TrackingProfile.cs
- ProjectionCamera.cs
- SqlClientWrapperSmiStreamChars.cs
- ParameterModifier.cs
- TargetInvocationException.cs
- ClusterUtils.cs
- DirectoryRootQuery.cs
- DefaultExpressionVisitor.cs
- ToolBarButton.cs
- ProxyDataContractResolver.cs
- MenuScrollingVisibilityConverter.cs
- CreateUserWizardStep.cs
- MemberMaps.cs
- DataPagerFieldCommandEventArgs.cs
- MappedMetaModel.cs
- SmiEventSink.cs
- PropertyChangedEventManager.cs
- StylusCaptureWithinProperty.cs
- ListViewTableRow.cs
- XhtmlBasicLabelAdapter.cs
- CommentGlyph.cs
- processwaithandle.cs
- BrowserCapabilitiesCodeGenerator.cs
- StringAnimationUsingKeyFrames.cs
- PersistenceProviderBehavior.cs
- HttpApplicationFactory.cs
- UserControl.cs
- GridViewColumnHeader.cs
- MaterializeFromAtom.cs
- TableSectionStyle.cs
- RelatedView.cs
- MediaEntryAttribute.cs
- BuildProvider.cs
- PropertyEntry.cs
- NullableIntMinMaxAggregationOperator.cs
- TextContainerChangedEventArgs.cs
- SortExpressionBuilder.cs
- FocusChangedEventArgs.cs
- ObjectTag.cs
- NullReferenceException.cs
- ClientUtils.cs
- XmlSchemaComplexContentRestriction.cs
- TextTreeInsertElementUndoUnit.cs
- ImageButton.cs
- ApplicationActivator.cs
- CodeDOMUtility.cs
- XmlChildNodes.cs
- WebBrowserEvent.cs
- Convert.cs
- SmiSettersStream.cs
- DocumentViewerHelper.cs
- ResourceDefaultValueAttribute.cs
- MouseGestureValueSerializer.cs
- BamlWriter.cs
- DataGridAddNewRow.cs
- SqlNode.cs
- PersonalizationStateInfoCollection.cs
- CompressedStack.cs
- Vector3DCollectionValueSerializer.cs
- SHA384Managed.cs
- ArithmeticException.cs
- NativeMethodsCLR.cs
- ProcessHostFactoryHelper.cs
- TabControl.cs
- IOException.cs
- RegionIterator.cs
- AuthorizationRuleCollection.cs
- PeerChannelFactory.cs
- XmlNodeChangedEventArgs.cs
- SqlWebEventProvider.cs
- RegionData.cs
- TCPClient.cs
- Literal.cs
- UIElement3D.cs
- ListViewDeleteEventArgs.cs
- Annotation.cs
- BaseParaClient.cs