Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SystemWebSectionGroup.cs
- TransformBlockRequest.cs
- Flowchart.cs
- returneventsaver.cs
- Symbol.cs
- CultureInfoConverter.cs
- ObjectKeyFrameCollection.cs
- OdbcErrorCollection.cs
- LocationUpdates.cs
- QuaternionAnimationBase.cs
- Codec.cs
- UIElement3DAutomationPeer.cs
- SymDocumentType.cs
- OdbcParameter.cs
- HandleRef.cs
- DebugViewWriter.cs
- StringSorter.cs
- TraceContextRecord.cs
- GiveFeedbackEvent.cs
- SelectionItemPatternIdentifiers.cs
- SqlDataSource.cs
- WindowsGraphics2.cs
- BidirectionalDictionary.cs
- ClockGroup.cs
- ObjectDataProvider.cs
- NetWebProxyFinder.cs
- ThumbAutomationPeer.cs
- HtmlInputPassword.cs
- CommonDialog.cs
- StringExpressionSet.cs
- WebPartAuthorizationEventArgs.cs
- RMEnrollmentPage2.cs
- CompilerTypeWithParams.cs
- TextAction.cs
- PopOutPanel.cs
- XmlIlVisitor.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- RadioButtonStandardAdapter.cs
- ObjectAnimationBase.cs
- Logging.cs
- NavigationHelper.cs
- DataBoundControl.cs
- ResourceKey.cs
- Profiler.cs
- RuntimeHandles.cs
- TextTreeRootNode.cs
- DynamicUpdateCommand.cs
- DebugView.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- ISO2022Encoding.cs
- SqlCacheDependencyDatabaseCollection.cs
- MenuScrollingVisibilityConverter.cs
- LogArchiveSnapshot.cs
- AdRotator.cs
- SQLChars.cs
- HtmlToClrEventProxy.cs
- LineGeometry.cs
- ClassGenerator.cs
- Nullable.cs
- HandlerFactoryCache.cs
- WebPartConnectionCollection.cs
- CodePageUtils.cs
- webeventbuffer.cs
- ProtocolsConfigurationHandler.cs
- RightsManagementInformation.cs
- ISAPIRuntime.cs
- CodeAttachEventStatement.cs
- PasswordPropertyTextAttribute.cs
- ImageEditor.cs
- HwndSourceParameters.cs
- ConstraintConverter.cs
- ExceptionTranslationTable.cs
- RequestDescription.cs
- CapabilitiesAssignment.cs
- AssemblyNameProxy.cs
- PropertyGridView.cs
- _NativeSSPI.cs
- XmlDataContract.cs
- HttpCachePolicyElement.cs
- xml.cs
- HiddenFieldDesigner.cs
- DrawItemEvent.cs
- WindowsGraphics.cs
- SoapObjectReader.cs
- PathGeometry.cs
- HtmlHead.cs
- XamlVector3DCollectionSerializer.cs
- DataSourceControl.cs
- OpenTypeLayout.cs
- ByValueEqualityComparer.cs
- OperationAbortedException.cs
- DataTable.cs
- BlurEffect.cs
- SponsorHelper.cs
- DesignerSerializerAttribute.cs
- ProgressBarHighlightConverter.cs
- LogicalChannelCollection.cs
- PartialCachingAttribute.cs
- MsmqHostedTransportConfiguration.cs
- CommonDialog.cs