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
- RightNameExpirationInfoPair.cs
- File.cs
- InputMethodStateTypeInfo.cs
- LinkLabelLinkClickedEvent.cs
- SystemGatewayIPAddressInformation.cs
- CurrentChangingEventArgs.cs
- SqlBuilder.cs
- InsufficientMemoryException.cs
- HttpServerChannel.cs
- StringUtil.cs
- QuadraticBezierSegment.cs
- XmlDesignerDataSourceView.cs
- InlinedAggregationOperator.cs
- GridViewAutoFormat.cs
- commandenforcer.cs
- Light.cs
- TemplateBindingExpression.cs
- Policy.cs
- HandleExceptionArgs.cs
- peersecuritysettings.cs
- SqlDataSourceEnumerator.cs
- MetadataArtifactLoader.cs
- XhtmlTextWriter.cs
- TimelineGroup.cs
- CacheHelper.cs
- XmlEntityReference.cs
- HashCodeCombiner.cs
- SharedPerformanceCounter.cs
- SqlDesignerDataSourceView.cs
- XmlUnspecifiedAttribute.cs
- DoubleIndependentAnimationStorage.cs
- DataBindingExpressionBuilder.cs
- DependencyPropertyConverter.cs
- ComplexType.cs
- ProcessModuleCollection.cs
- ExcludeFromCodeCoverageAttribute.cs
- XmlSchemaAnnotation.cs
- HostedTransportConfigurationManager.cs
- CodeDelegateInvokeExpression.cs
- Double.cs
- AcceleratedTokenProvider.cs
- StdValidatorsAndConverters.cs
- SelectionRangeConverter.cs
- PeerNameResolver.cs
- PathGeometry.cs
- DesignerTransaction.cs
- MaterializeFromAtom.cs
- TableRowCollection.cs
- WindowsPrincipal.cs
- COM2ExtendedBrowsingHandler.cs
- MediaEntryAttribute.cs
- SapiGrammar.cs
- Package.cs
- GorillaCodec.cs
- DataGridViewComboBoxColumn.cs
- DataSourceSelectArguments.cs
- ToolStripStatusLabel.cs
- UIntPtr.cs
- ScrollItemProviderWrapper.cs
- RuntimeHelpers.cs
- sqlpipe.cs
- InheritanceContextHelper.cs
- BatchServiceHost.cs
- PageClientProxyGenerator.cs
- NumberSubstitution.cs
- ContourSegment.cs
- DesignerValidatorAdapter.cs
- GlobalizationSection.cs
- HttpServerProtocol.cs
- TablePattern.cs
- ContextQuery.cs
- BackgroundWorker.cs
- SafeArrayTypeMismatchException.cs
- SizeConverter.cs
- UrlPath.cs
- ParseNumbers.cs
- DrawingVisual.cs
- ScriptReferenceEventArgs.cs
- PeekCompletedEventArgs.cs
- Command.cs
- DocumentStatusResources.cs
- NativeMethods.cs
- DBSchemaTable.cs
- TransformerInfo.cs
- FacetDescriptionElement.cs
- AlphabeticalEnumConverter.cs
- XDeferredAxisSource.cs
- SecurityAccessDeniedException.cs
- ColorInterpolationModeValidation.cs
- GrammarBuilderBase.cs
- BooleanExpr.cs
- WebPartConnectionsCloseVerb.cs
- CharConverter.cs
- AppSettingsSection.cs
- HttpInputStream.cs
- DiscriminatorMap.cs
- TypeBuilder.cs
- Mapping.cs
- CacheChildrenQuery.cs
- FontCacheLogic.cs