Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Sys / System / IO / Ports / SerialPinChanges.cs / 1 / SerialPinChanges.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Type: SerialPinChange ** ** Purpose: Used to describe which pin has changed on a PinChanged event. ** ** Date: August 2002 ** ** ===========================================================*/ using Microsoft.Win32; namespace System.IO.Ports { public enum SerialPinChange { CtsChanged = NativeMethods.EV_CTS, DsrChanged = NativeMethods.EV_DSR, CDChanged = NativeMethods.EV_RLSD, Ring = NativeMethods.EV_RING, Break = NativeMethods.EV_BREAK, } public class SerialPinChangedEventArgs : EventArgs { private SerialPinChange pinChanged; internal SerialPinChangedEventArgs (SerialPinChange eventCode) { pinChanged = eventCode; } public SerialPinChange EventType { get { return pinChanged; } } } public delegate void SerialPinChangedEventHandler(object sender, SerialPinChangedEventArgs e); } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Type: SerialPinChange ** ** Purpose: Used to describe which pin has changed on a PinChanged event. ** ** Date: August 2002 ** ** ===========================================================*/ using Microsoft.Win32; namespace System.IO.Ports { public enum SerialPinChange { CtsChanged = NativeMethods.EV_CTS, DsrChanged = NativeMethods.EV_DSR, CDChanged = NativeMethods.EV_RLSD, Ring = NativeMethods.EV_RING, Break = NativeMethods.EV_BREAK, } public class SerialPinChangedEventArgs : EventArgs { private SerialPinChange pinChanged; internal SerialPinChangedEventArgs (SerialPinChange eventCode) { pinChanged = eventCode; } public SerialPinChange EventType { get { return pinChanged; } } } public delegate void SerialPinChangedEventHandler(object sender, SerialPinChangedEventArgs e); } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ElementHostAutomationPeer.cs
- XmlDeclaration.cs
- LicenseContext.cs
- CommandSet.cs
- ApplicationGesture.cs
- AmbientLight.cs
- InfoCardAsymmetricCrypto.cs
- StaticSiteMapProvider.cs
- WorkflowNamespace.cs
- UpdateTracker.cs
- OleDbInfoMessageEvent.cs
- TreeIterator.cs
- RayHitTestParameters.cs
- SapiRecognizer.cs
- GeometryGroup.cs
- ModuleConfigurationInfo.cs
- FrameworkEventSource.cs
- DbConnectionFactory.cs
- SetStoryboardSpeedRatio.cs
- DetailsViewCommandEventArgs.cs
- LocatorBase.cs
- mediaeventargs.cs
- MSAANativeProvider.cs
- ContentElement.cs
- _DisconnectOverlappedAsyncResult.cs
- Misc.cs
- InfoCardSymmetricCrypto.cs
- SmiEventStream.cs
- MetadataPropertyvalue.cs
- CommandDevice.cs
- TraceSource.cs
- OdbcCommand.cs
- XmlElementAttribute.cs
- DeobfuscatingStream.cs
- CacheAxisQuery.cs
- XmlSerializerImportOptions.cs
- GPStream.cs
- SqlDataAdapter.cs
- WebConfigurationFileMap.cs
- DesignTimeHTMLTextWriter.cs
- UInt16Storage.cs
- ComponentResourceKey.cs
- EdmComplexTypeAttribute.cs
- TemporaryBitmapFile.cs
- EnlistmentTraceIdentifier.cs
- _UncName.cs
- ArithmeticException.cs
- ProjectionCamera.cs
- CacheEntry.cs
- EventLogPermission.cs
- MethodBuilder.cs
- ArgumentNullException.cs
- ReplyChannelBinder.cs
- EntityContainerAssociationSet.cs
- IHttpResponseInternal.cs
- CatalogZone.cs
- DataSvcMapFileSerializer.cs
- XmlSerializerVersionAttribute.cs
- View.cs
- SchemaConstraints.cs
- PageCopyCount.cs
- DataReaderContainer.cs
- TraceHandlerErrorFormatter.cs
- RepeaterCommandEventArgs.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- SpeechUI.cs
- MSG.cs
- XmlSchemaComplexContentRestriction.cs
- SplashScreenNativeMethods.cs
- AssemblyCache.cs
- ProviderIncompatibleException.cs
- SemaphoreSecurity.cs
- DocumentViewerHelper.cs
- DesignTimeHTMLTextWriter.cs
- MediaTimeline.cs
- BoundPropertyEntry.cs
- DataGridViewColumnCollection.cs
- RawKeyboardInputReport.cs
- LZCodec.cs
- CancellationTokenSource.cs
- OperationCanceledException.cs
- HostedController.cs
- PeerNameRegistration.cs
- HiddenField.cs
- GeneralTransform3D.cs
- DesignerAutoFormatCollection.cs
- Registry.cs
- TraceUtility.cs
- ContentWrapperAttribute.cs
- ControlBuilder.cs
- SecurityCriticalDataForSet.cs
- AttachedPropertyMethodSelector.cs
- TrustSection.cs
- ConfigPathUtility.cs
- SqlAliaser.cs
- Menu.cs
- SqlServer2KCompatibilityAnnotation.cs
- HostedHttpContext.cs
- ZipQueryOperator.cs
- LostFocusEventManager.cs