Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / IO / Ports / SerialPinChanges.cs / 1305376 / 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
- EpmCustomContentWriterNodeData.cs
- SystemIcmpV4Statistics.cs
- DescendantBaseQuery.cs
- ComplexType.cs
- StyleCollection.cs
- WebServiceBindingAttribute.cs
- MSG.cs
- UnmanagedMemoryStream.cs
- ToolStripItemTextRenderEventArgs.cs
- ItemCheckEvent.cs
- XmlUtil.cs
- OuterGlowBitmapEffect.cs
- COM2ExtendedBrowsingHandler.cs
- NotCondition.cs
- XsdDataContractExporter.cs
- SystemFonts.cs
- LocatorManager.cs
- TextLineBreak.cs
- AssemblyResourceLoader.cs
- EntityDataSourceViewSchema.cs
- EllipseGeometry.cs
- GeometryDrawing.cs
- _SpnDictionary.cs
- Input.cs
- EntityDataSourceEntityTypeFilterItem.cs
- PhysicalOps.cs
- ReliabilityContractAttribute.cs
- AssertFilter.cs
- ErrorInfoXmlDocument.cs
- WindowsAuthenticationEventArgs.cs
- ThumbButtonInfoCollection.cs
- ScrollChrome.cs
- CompilerErrorCollection.cs
- TextEditorParagraphs.cs
- VectorValueSerializer.cs
- PDBReader.cs
- ColorConvertedBitmap.cs
- Opcode.cs
- SqlDataSourceConfigureSortForm.cs
- PackagingUtilities.cs
- SafeFileHandle.cs
- SymbolMethod.cs
- WmfPlaceableFileHeader.cs
- MatrixTransform.cs
- XmlTextAttribute.cs
- ObjectPersistData.cs
- ProfileGroupSettingsCollection.cs
- FontStretch.cs
- WindowsToolbarAsMenu.cs
- StandardCommands.cs
- BulletChrome.cs
- RemoteWebConfigurationHostServer.cs
- ParallelActivityDesigner.cs
- XmlMembersMapping.cs
- TargetControlTypeCache.cs
- StaticExtension.cs
- LineProperties.cs
- DeclaredTypeValidatorAttribute.cs
- TaiwanCalendar.cs
- Section.cs
- CriticalHandle.cs
- TraceContextRecord.cs
- DataGridViewRowEventArgs.cs
- Normalizer.cs
- XamlValidatingReader.cs
- GeneratedContractType.cs
- SQLDoubleStorage.cs
- UriSectionData.cs
- Models.cs
- SqlCacheDependencyDatabaseCollection.cs
- BaseCAMarshaler.cs
- MonitorWrapper.cs
- ISO2022Encoding.cs
- _Events.cs
- Crc32.cs
- ExpressionLink.cs
- DesignerLinkAdapter.cs
- BindingList.cs
- UnionCodeGroup.cs
- SqlDependencyUtils.cs
- SingleConverter.cs
- DbgUtil.cs
- PathSegmentCollection.cs
- MonthCalendar.cs
- ScriptComponentDescriptor.cs
- DateTime.cs
- WebControlAdapter.cs
- SoapUnknownHeader.cs
- IIS7ConfigurationLoader.cs
- CommandSet.cs
- IisTraceListener.cs
- CodeVariableReferenceExpression.cs
- SpellCheck.cs
- WebPartEditorApplyVerb.cs
- XmlSchemaSubstitutionGroup.cs
- AsyncStreamReader.cs
- InvokeBase.cs
- TrayIconDesigner.cs
- PropertyInformation.cs
- ConfigurationException.cs