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
- Transform.cs
- EntityDataSourceContainerNameConverter.cs
- LocalizedNameDescriptionPair.cs
- ComboBoxAutomationPeer.cs
- ScriptManager.cs
- ContentFileHelper.cs
- CDSsyncETWBCLProvider.cs
- StrokeNodeData.cs
- XmlAnyAttributeAttribute.cs
- BooleanExpr.cs
- MetadataItemSerializer.cs
- RepeaterItemCollection.cs
- RowToFieldTransformer.cs
- WindowsToolbarAsMenu.cs
- Opcode.cs
- LayoutEngine.cs
- NumericUpDownAccelerationCollection.cs
- DateTimeFormatInfo.cs
- UpdateTracker.cs
- NetCodeGroup.cs
- DataPager.cs
- StateBag.cs
- StateMachineWorkflow.cs
- SplayTreeNode.cs
- HttpProxyCredentialType.cs
- _ShellExpression.cs
- EdmType.cs
- PageVisual.cs
- WorkflowMarkupSerializationManager.cs
- SubstitutionResponseElement.cs
- ReservationCollection.cs
- UrlPath.cs
- PathSegmentCollection.cs
- FormView.cs
- Triplet.cs
- DynamicValidatorEventArgs.cs
- FontFamilyIdentifier.cs
- ReadOnlyTernaryTree.cs
- ErrorStyle.cs
- ToolTip.cs
- CodePageEncoding.cs
- MarkerProperties.cs
- WebSysDescriptionAttribute.cs
- ConcurrentBag.cs
- DrawTreeNodeEventArgs.cs
- HeaderPanel.cs
- CachedTypeface.cs
- HttpModuleAction.cs
- Accessible.cs
- WindowsListViewScroll.cs
- CompiledXpathExpr.cs
- BinHexDecoder.cs
- DesignerAttribute.cs
- WebPartZone.cs
- Publisher.cs
- XsltOutput.cs
- Permission.cs
- HttpCapabilitiesBase.cs
- PieceDirectory.cs
- ParentUndoUnit.cs
- CustomAttributeFormatException.cs
- EdmType.cs
- SplitterPanel.cs
- XmlCodeExporter.cs
- MainMenu.cs
- SourceFileBuildProvider.cs
- XamlStream.cs
- ProfileParameter.cs
- processwaithandle.cs
- LocalizationParserHooks.cs
- BufferedWebEventProvider.cs
- UnknownBitmapDecoder.cs
- SafeTimerHandle.cs
- webbrowsersite.cs
- ImagingCache.cs
- X509CertificateValidator.cs
- SessionPageStatePersister.cs
- BulletChrome.cs
- PublisherMembershipCondition.cs
- XmlQueryStaticData.cs
- PageContentAsyncResult.cs
- Point4D.cs
- ExpressionBuilder.cs
- InlineObject.cs
- AsyncStreamReader.cs
- UInt64Storage.cs
- SolidBrush.cs
- RadioButtonRenderer.cs
- EndOfStreamException.cs
- ConfigurationSectionGroupCollection.cs
- OutOfProcStateClientManager.cs
- StylusCaptureWithinProperty.cs
- DataGridViewCellConverter.cs
- ExeContext.cs
- WsatConfiguration.cs
- SecurityPermission.cs
- SafeProcessHandle.cs
- DropShadowBitmapEffect.cs
- TraceContextEventArgs.cs
- XmlSerializer.cs