Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- rsa.cs
- XslAstAnalyzer.cs
- QueryOptionExpression.cs
- TableLayoutPanelBehavior.cs
- EntityTypeEmitter.cs
- EndPoint.cs
- MergeEnumerator.cs
- MemberHolder.cs
- BinaryWriter.cs
- odbcmetadatafactory.cs
- ScriptRef.cs
- CodePrimitiveExpression.cs
- _TimerThread.cs
- SystemThemeKey.cs
- TextCompositionEventArgs.cs
- RectangleHotSpot.cs
- COM2ICategorizePropertiesHandler.cs
- GridItemCollection.cs
- InsufficientMemoryException.cs
- XmlNavigatorStack.cs
- DriveInfo.cs
- TCPListener.cs
- DataContractJsonSerializerOperationFormatter.cs
- ExtenderProvidedPropertyAttribute.cs
- SendDesigner.xaml.cs
- IdnElement.cs
- MasterPageCodeDomTreeGenerator.cs
- String.cs
- DataGridViewCellLinkedList.cs
- HeaderedItemsControl.cs
- MonthCalendar.cs
- Int64.cs
- Error.cs
- MultiDataTrigger.cs
- ExpandCollapseProviderWrapper.cs
- IconConverter.cs
- SecurityStateEncoder.cs
- HttpStreamMessage.cs
- RowToParametersTransformer.cs
- TableItemProviderWrapper.cs
- TheQuery.cs
- PointHitTestParameters.cs
- XdrBuilder.cs
- TraceHandlerErrorFormatter.cs
- TextEditorTyping.cs
- XPathSingletonIterator.cs
- ApplicationManager.cs
- XPathNodePointer.cs
- Control.cs
- __ConsoleStream.cs
- ComboBoxItem.cs
- AddInPipelineAttributes.cs
- IdentityVerifier.cs
- WebBrowserNavigatingEventHandler.cs
- PlainXmlDeserializer.cs
- SchemaInfo.cs
- EarlyBoundInfo.cs
- EventArgs.cs
- WebServiceEndpoint.cs
- TextEditorTyping.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- SerTrace.cs
- OptimizerPatterns.cs
- DataSvcMapFile.cs
- TextBoxRenderer.cs
- IsolatedStorageFileStream.cs
- RootProfilePropertySettingsCollection.cs
- cookiecollection.cs
- DataControlFieldTypeEditor.cs
- RedistVersionInfo.cs
- COM2ColorConverter.cs
- RadioButtonPopupAdapter.cs
- TreeNodeBindingDepthConverter.cs
- HttpConfigurationSystem.cs
- SkinBuilder.cs
- AsymmetricKeyExchangeDeformatter.cs
- SelectionProviderWrapper.cs
- ArgumentException.cs
- StructuredProperty.cs
- DBConnectionString.cs
- CompressEmulationStream.cs
- PageBreakRecord.cs
- SqlUDTStorage.cs
- ProcessModelInfo.cs
- RtfToXamlLexer.cs
- FlatButtonAppearance.cs
- CallbackCorrelationInitializer.cs
- ServiceModelConfigurationSectionCollection.cs
- DataComponentGenerator.cs
- QuotedPairReader.cs
- SmtpSection.cs
- ExtentKey.cs
- COM2EnumConverter.cs
- Context.cs
- SamlSubject.cs
- XslTransformFileEditor.cs
- thaishape.cs
- HyperlinkAutomationPeer.cs
- BaseCodeDomTreeGenerator.cs
- HtmlImageAdapter.cs