Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the power mode. ///// 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
- Run.cs
- RegexWorker.cs
- OuterGlowBitmapEffect.cs
- CommentEmitter.cs
- FormsIdentity.cs
- FixedSOMGroup.cs
- WorkflowRuntimeEndpoint.cs
- NTAccount.cs
- TextViewDesigner.cs
- SelectionRangeConverter.cs
- InvalidEnumArgumentException.cs
- FloatAverageAggregationOperator.cs
- ChildrenQuery.cs
- Attributes.cs
- CurrencyManager.cs
- RayMeshGeometry3DHitTestResult.cs
- UnmanagedMarshal.cs
- ThreadInterruptedException.cs
- FileVersionInfo.cs
- WebBrowserContainer.cs
- DictionaryBase.cs
- IntranetCredentialPolicy.cs
- Base64Encoding.cs
- WebPartRestoreVerb.cs
- Label.cs
- DynamicActionMessageFilter.cs
- BuildProviderCollection.cs
- XamlToRtfWriter.cs
- CustomTypeDescriptor.cs
- DataServiceConfiguration.cs
- HandlerBase.cs
- ErrorView.xaml.cs
- LogReservationCollection.cs
- SrgsSubset.cs
- ObjectMemberMapping.cs
- Quaternion.cs
- DefaultValidator.cs
- GPStream.cs
- Propagator.JoinPropagator.cs
- TextCharacters.cs
- ContourSegment.cs
- XmlImplementation.cs
- assertwrapper.cs
- BufferedReadStream.cs
- GridViewRowCollection.cs
- TypeElement.cs
- CompressedStack.cs
- ScrollPatternIdentifiers.cs
- MobileControlsSectionHelper.cs
- GenericAuthenticationEventArgs.cs
- basecomparevalidator.cs
- ToggleButton.cs
- InstanceContextManager.cs
- StreamGeometryContext.cs
- ObservableCollection.cs
- XmlSchemaComplexContent.cs
- EntityDataSourceWrapper.cs
- DispatcherExceptionFilterEventArgs.cs
- TrackingStringDictionary.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- DateTimeConverter2.cs
- CompositeTypefaceMetrics.cs
- WebControlAdapter.cs
- DataGridComboBoxColumn.cs
- SecurityCriticalDataForSet.cs
- Annotation.cs
- NameGenerator.cs
- SqlParameterizer.cs
- ReadOnlyObservableCollection.cs
- DataGridViewCellCancelEventArgs.cs
- PreProcessInputEventArgs.cs
- ObjectPersistData.cs
- ErasingStroke.cs
- ExtensibleClassFactory.cs
- SymbolUsageManager.cs
- ExpressionTextBox.xaml.cs
- TypeSystem.cs
- TagMapInfo.cs
- PersistenceException.cs
- ScrollViewer.cs
- Model3D.cs
- HideDisabledControlAdapter.cs
- CLSCompliantAttribute.cs
- IDReferencePropertyAttribute.cs
- FillErrorEventArgs.cs
- ScrollContentPresenter.cs
- MsmqBindingElementBase.cs
- KeyValuePairs.cs
- NamespaceQuery.cs
- Block.cs
- ToolStripControlHost.cs
- SubstitutionList.cs
- SkinBuilder.cs
- HtmlWindow.cs
- ReliableChannelBinder.cs
- ZoneLinkButton.cs
- OutputCacheSettingsSection.cs
- RIPEMD160Managed.cs
- AuthenticateEventArgs.cs
- DateTimeConverter.cs