Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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); } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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
- DataGridColumnHeadersPresenterAutomationPeer.cs
- MetadataItemCollectionFactory.cs
- CompilerError.cs
- OrderedDictionaryStateHelper.cs
- DBSchemaTable.cs
- ThicknessConverter.cs
- Model3D.cs
- PermissionAttributes.cs
- GlyphRunDrawing.cs
- ListViewCommandEventArgs.cs
- ParentQuery.cs
- RenderTargetBitmap.cs
- TextTreeTextBlock.cs
- UdpContractFilterBehavior.cs
- PropertyItem.cs
- ProxySimple.cs
- WindowsListViewGroupHelper.cs
- FixedDocumentSequencePaginator.cs
- InstanceCreationEditor.cs
- ExpressionEditorAttribute.cs
- StrongNameIdentityPermission.cs
- MailWriter.cs
- ProtocolsSection.cs
- SqlDataReader.cs
- QuadraticBezierSegment.cs
- TreeNodeClickEventArgs.cs
- CompositionDesigner.cs
- X509Utils.cs
- RangeValidator.cs
- DrawingBrush.cs
- QueryableFilterUserControl.cs
- RemoteWebConfigurationHostStream.cs
- ChildrenQuery.cs
- MonthChangedEventArgs.cs
- ValueTable.cs
- SqlDeflator.cs
- FolderBrowserDialog.cs
- DataExchangeServiceBinder.cs
- Stopwatch.cs
- _CommandStream.cs
- ObjectStateEntry.cs
- Model3DGroup.cs
- IndicFontClient.cs
- WebPartManagerInternals.cs
- SelectionBorderGlyph.cs
- assemblycache.cs
- Int64.cs
- HtmlEmptyTagControlBuilder.cs
- EdmProperty.cs
- WebPartMinimizeVerb.cs
- WindowsButton.cs
- SystemIPGlobalProperties.cs
- ActiveXContainer.cs
- TCEAdapterGenerator.cs
- SHA256Managed.cs
- SmiConnection.cs
- SchemaImporterExtensionsSection.cs
- isolationinterop.cs
- ColorKeyFrameCollection.cs
- FormViewDeletedEventArgs.cs
- RegexTree.cs
- PngBitmapDecoder.cs
- SystemThemeKey.cs
- CryptoApi.cs
- WeakReference.cs
- NameValueConfigurationElement.cs
- SetStoryboardSpeedRatio.cs
- DeclaredTypeValidatorAttribute.cs
- Compiler.cs
- FileDialog.cs
- WriteFileContext.cs
- MetadataItemEmitter.cs
- List.cs
- RenderContext.cs
- StoreItemCollection.cs
- ReferentialConstraint.cs
- StackOverflowException.cs
- LineMetrics.cs
- TreeNodeCollection.cs
- AsymmetricKeyExchangeDeformatter.cs
- TextServicesPropertyRanges.cs
- ObjectToIdCache.cs
- DrawingAttributesDefaultValueFactory.cs
- OleDbCommand.cs
- UrlRoutingModule.cs
- RoutedUICommand.cs
- SkipStoryboardToFill.cs
- InstancePersistenceException.cs
- NativeCppClassAttribute.cs
- DynamicMetaObjectBinder.cs
- CultureSpecificCharacterBufferRange.cs
- UseLicense.cs
- coordinatorscratchpad.cs
- ToolStripPanel.cs
- WebPartMovingEventArgs.cs
- InputReferenceExpression.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- FileClassifier.cs
- ProxyElement.cs
- NewArray.cs