Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PropertyAccessVisitor.cs
- DecimalConverter.cs
- DeviceSpecificChoice.cs
- App.cs
- StringResourceManager.cs
- WorkflowDesignerColors.cs
- TransactionScope.cs
- AssociationTypeEmitter.cs
- dbenumerator.cs
- CompilationSection.cs
- Transactions.cs
- CharacterString.cs
- XmlSerializerVersionAttribute.cs
- ListParagraph.cs
- FixedDocumentSequencePaginator.cs
- HttpClientProtocol.cs
- TimeSpanFormat.cs
- CollectionViewGroupRoot.cs
- Unit.cs
- EntitySqlException.cs
- Lease.cs
- IteratorFilter.cs
- Monitor.cs
- Propagator.ExtentPlaceholderCreator.cs
- Cursors.cs
- ByteAnimationUsingKeyFrames.cs
- XmlSignatureProperties.cs
- WindowsListBox.cs
- TriggerAction.cs
- SectionVisual.cs
- ListViewTableCell.cs
- TraceLog.cs
- ActivityExecutionContext.cs
- OracleDateTime.cs
- Rotation3D.cs
- RIPEMD160.cs
- XmlNotation.cs
- TagPrefixAttribute.cs
- handlecollector.cs
- XPathNavigator.cs
- Int32CollectionValueSerializer.cs
- ControlAdapter.cs
- DataGridCellInfo.cs
- AnnotationStore.cs
- VideoDrawing.cs
- ModuleConfigurationInfo.cs
- ColumnCollection.cs
- DbSourceParameterCollection.cs
- Opcode.cs
- CleanUpVirtualizedItemEventArgs.cs
- HttpCachePolicy.cs
- HexParser.cs
- RuntimeArgumentHandle.cs
- CaseStatementSlot.cs
- SchemaImporterExtension.cs
- SettingsPropertyNotFoundException.cs
- ILGenerator.cs
- PolyLineSegment.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DataFormats.cs
- QueryCacheManager.cs
- ToggleProviderWrapper.cs
- InputDevice.cs
- BufferedStream2.cs
- control.ime.cs
- IMembershipProvider.cs
- ListViewInsertionMark.cs
- NetNamedPipeBindingElement.cs
- CompilerErrorCollection.cs
- SelectionEditingBehavior.cs
- BufferBuilder.cs
- DecimalAnimationBase.cs
- NodeLabelEditEvent.cs
- SmiContextFactory.cs
- ScrollViewerAutomationPeer.cs
- TextDecorationUnitValidation.cs
- ToolStripButton.cs
- ReadOnlyMetadataCollection.cs
- TypeResolver.cs
- CheckBoxField.cs
- RenderContext.cs
- NativeMethods.cs
- UnsafeNetInfoNativeMethods.cs
- CriticalExceptions.cs
- FormsAuthenticationCredentials.cs
- SolidBrush.cs
- BuilderPropertyEntry.cs
- StylusPlugin.cs
- TagMapCollection.cs
- Bitmap.cs
- TypeElement.cs
- CreateUserErrorEventArgs.cs
- Set.cs
- DataRowView.cs
- SchemaImporter.cs
- XamlContextStack.cs
- WindowsListViewGroupHelper.cs
- ObjectListFieldsPage.cs
- SafeCryptContextHandle.cs
- InternalControlCollection.cs