Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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); }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridRelationshipRow.cs
- PointAnimationClockResource.cs
- FigureParagraph.cs
- DispatcherExceptionFilterEventArgs.cs
- XmlWriterSettings.cs
- DateTimeOffset.cs
- DataServiceExpressionVisitor.cs
- HideDisabledControlAdapter.cs
- PkcsUtils.cs
- ContentHostHelper.cs
- SystemWebCachingSectionGroup.cs
- SByteConverter.cs
- RoutedEventValueSerializer.cs
- Privilege.cs
- TypeElement.cs
- ECDsaCng.cs
- HtmlInputPassword.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- UrlPath.cs
- TextRangeSerialization.cs
- NonBatchDirectoryCompiler.cs
- ComplexType.cs
- AdornerLayer.cs
- WindowsSlider.cs
- QueryableDataSource.cs
- MatrixStack.cs
- ResourcePart.cs
- ParamArrayAttribute.cs
- Util.cs
- XmlSchemaIdentityConstraint.cs
- FormViewCommandEventArgs.cs
- ListItemsPage.cs
- ListItemConverter.cs
- ResourceWriter.cs
- DataGridViewCellCollection.cs
- SectionXmlInfo.cs
- TypeElementCollection.cs
- XsdDuration.cs
- MenuItemAutomationPeer.cs
- HtmlLinkAdapter.cs
- ContentDisposition.cs
- HandledEventArgs.cs
- Util.cs
- ProfileModule.cs
- SortedList.cs
- SelectionPatternIdentifiers.cs
- EditorZoneAutoFormat.cs
- MatchNoneMessageFilter.cs
- ContextActivityUtils.cs
- TrackingProfile.cs
- Query.cs
- DBConcurrencyException.cs
- DesignerSerializationOptionsAttribute.cs
- AssemblyHash.cs
- Timer.cs
- QuotaThrottle.cs
- PeerCollaboration.cs
- SourceElementsCollection.cs
- _DynamicWinsockMethods.cs
- SByteConverter.cs
- ToolboxCategory.cs
- UpdateException.cs
- ResourcePool.cs
- KeyBinding.cs
- UshortList2.cs
- TextBoxView.cs
- SHA256.cs
- StrongNameIdentityPermission.cs
- ProtocolViolationException.cs
- TemplateLookupAction.cs
- LiteralDesigner.cs
- ParseNumbers.cs
- HierarchicalDataSourceConverter.cs
- XsltInput.cs
- ObjRef.cs
- CounterSampleCalculator.cs
- TableLayoutSettings.cs
- KeyValuePair.cs
- DataStorage.cs
- GraphicsState.cs
- HandleRef.cs
- JavaScriptObjectDeserializer.cs
- ClientType.cs
- MessageAction.cs
- EditorZone.cs
- Polyline.cs
- MethodCallConverter.cs
- CertificateManager.cs
- XpsS0ValidatingLoader.cs
- ToolboxComponentsCreatingEventArgs.cs
- Html32TextWriter.cs
- SerialStream.cs
- ZoneMembershipCondition.cs
- AttributeAction.cs
- PeerEndPoint.cs
- Interfaces.cs
- ServiceModelTimeSpanValidator.cs
- BuildManager.cs
- CssTextWriter.cs