Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ProfileInfo.cs
- ApplicationFileCodeDomTreeGenerator.cs
- NativeStructs.cs
- DeviceSpecificChoiceCollection.cs
- WsdlInspector.cs
- Clause.cs
- FormsAuthenticationUser.cs
- Camera.cs
- PagesSection.cs
- KeyedHashAlgorithm.cs
- ToolStripRenderer.cs
- FormsAuthenticationEventArgs.cs
- ConcurrentBag.cs
- FontConverter.cs
- SemaphoreSecurity.cs
- EmptyEnumerator.cs
- PropertyValue.cs
- SafeLocalMemHandle.cs
- NameValueSectionHandler.cs
- BitmapEffectGroup.cs
- InternalPermissions.cs
- Vector3DCollectionValueSerializer.cs
- SqlDataSource.cs
- SqlUserDefinedTypeAttribute.cs
- SqlDataSourceStatusEventArgs.cs
- ComboBoxRenderer.cs
- AcceleratedTokenAuthenticator.cs
- SemanticResultValue.cs
- MediaTimeline.cs
- ColumnMapCopier.cs
- SystemDiagnosticsSection.cs
- VariableAction.cs
- CommandBinding.cs
- XmlReflectionMember.cs
- ProjectedSlot.cs
- CaseInsensitiveHashCodeProvider.cs
- MessageSecurityProtocolFactory.cs
- GenericParameterDataContract.cs
- WebPartUtil.cs
- XmlWellformedWriter.cs
- TimeZoneNotFoundException.cs
- ProcessHost.cs
- XmlILCommand.cs
- CodeTypeParameterCollection.cs
- PathFigure.cs
- AtomServiceDocumentSerializer.cs
- HttpHandlerActionCollection.cs
- CaseInsensitiveComparer.cs
- ISAPIApplicationHost.cs
- SoapReflectionImporter.cs
- TransformValueSerializer.cs
- ObjectConverter.cs
- PreviewKeyDownEventArgs.cs
- ScriptModule.cs
- HybridObjectCache.cs
- ProcessInfo.cs
- _KerberosClient.cs
- ObjectStateFormatter.cs
- DocumentPageTextView.cs
- AssociationSetMetadata.cs
- DecoderExceptionFallback.cs
- TextEndOfSegment.cs
- SyndicationContent.cs
- BitVec.cs
- EmptyElement.cs
- RawStylusInputCustomDataList.cs
- FontUnit.cs
- TableColumn.cs
- CompoundFileDeflateTransform.cs
- XmlCharType.cs
- GridViewRow.cs
- ValueTypePropertyReference.cs
- DescendantBaseQuery.cs
- PaperSource.cs
- CompilerHelpers.cs
- SymmetricAlgorithm.cs
- sqlcontext.cs
- PartialCachingControl.cs
- DataMisalignedException.cs
- TemplateBaseAction.cs
- DateTimeConstantAttribute.cs
- ElementsClipboardData.cs
- Error.cs
- MulticastNotSupportedException.cs
- ReadOnlyDictionary.cs
- MissingFieldException.cs
- WCFServiceClientProxyGenerator.cs
- DataServiceResponse.cs
- DbMetaDataFactory.cs
- BasicBrowserDialog.cs
- AxHost.cs
- LicenseContext.cs
- VirtualPath.cs
- SiteMapHierarchicalDataSourceView.cs
- PenCursorManager.cs
- DataServices.cs
- ProcessHostMapPath.cs
- VoiceObjectToken.cs
- GACMembershipCondition.cs
- DataGrid.cs