Code:
/ FX-1434 / FX-1434 / 1.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
- MobileControlsSectionHelper.cs
- _LazyAsyncResult.cs
- SingleObjectCollection.cs
- EnumerationRangeValidationUtil.cs
- HasCopySemanticsAttribute.cs
- Button.cs
- DataControlLinkButton.cs
- ListViewItemMouseHoverEvent.cs
- Separator.cs
- Scripts.cs
- TraversalRequest.cs
- XPathExpr.cs
- TextRangeSerialization.cs
- CollectionChangeEventArgs.cs
- BorderGapMaskConverter.cs
- EmptyStringExpandableObjectConverter.cs
- Brush.cs
- ProtectedUri.cs
- ServicePointManager.cs
- ValidatedControlConverter.cs
- Misc.cs
- InternalRelationshipCollection.cs
- TokenBasedSetEnumerator.cs
- HostingEnvironment.cs
- SerialReceived.cs
- StylusPointProperties.cs
- DbConnectionInternal.cs
- CheckBox.cs
- TableCell.cs
- RegistryConfigurationProvider.cs
- OracleEncoding.cs
- DecimalKeyFrameCollection.cs
- TypeConverterBase.cs
- ElementUtil.cs
- RayMeshGeometry3DHitTestResult.cs
- SQLByte.cs
- RotateTransform.cs
- DbConnectionPoolGroupProviderInfo.cs
- XPathScanner.cs
- SpeechDetectedEventArgs.cs
- XPathDocument.cs
- DocumentScope.cs
- XmlDictionaryWriter.cs
- LowerCaseStringConverter.cs
- ToolStripDesigner.cs
- IMembershipProvider.cs
- unitconverter.cs
- ChineseLunisolarCalendar.cs
- Accessors.cs
- PersistenceTypeAttribute.cs
- WinFormsComponentEditor.cs
- ContextStaticAttribute.cs
- StorageInfo.cs
- EncryptedXml.cs
- _ShellExpression.cs
- PropertyIdentifier.cs
- DataObjectPastingEventArgs.cs
- DockingAttribute.cs
- xsdvalidator.cs
- ModelProperty.cs
- WebConvert.cs
- InstallerTypeAttribute.cs
- InputGestureCollection.cs
- AuthenticatedStream.cs
- ActionMessageFilter.cs
- Trace.cs
- StringSource.cs
- SecureConversationServiceCredential.cs
- NetSectionGroup.cs
- Html32TextWriter.cs
- storepermission.cs
- PageSettings.cs
- SignatureGenerator.cs
- FilteredDataSetHelper.cs
- EventMap.cs
- DescendantOverDescendantQuery.cs
- StructuredTypeInfo.cs
- Application.cs
- Point3DAnimationBase.cs
- StringAnimationUsingKeyFrames.cs
- DrawingContextDrawingContextWalker.cs
- XmlUtil.cs
- SerializationHelper.cs
- TreePrinter.cs
- KeyToListMap.cs
- OutputCacheSettings.cs
- SerializationStore.cs
- NamespaceEmitter.cs
- Vector3DCollectionValueSerializer.cs
- RegisteredHiddenField.cs
- DecimalConstantAttribute.cs
- Preprocessor.cs
- TraceLevelStore.cs
- PrivateFontCollection.cs
- Attributes.cs
- MachineKeySection.cs
- WebControlParameterProxy.cs
- StateMachineWorkflowDesigner.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- BrowserDefinition.cs