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
- Debugger.cs
- Composition.cs
- SymDocumentType.cs
- Input.cs
- RawStylusActions.cs
- SettingsSavedEventArgs.cs
- ObjectNavigationPropertyMapping.cs
- ProvidersHelper.cs
- CssStyleCollection.cs
- NullRuntimeConfig.cs
- Fonts.cs
- PropertyPathConverter.cs
- cookiecollection.cs
- ExpressionVisitor.cs
- ViewgenGatekeeper.cs
- RegexWorker.cs
- ThemeDirectoryCompiler.cs
- CommonGetThemePartSize.cs
- RtfControlWordInfo.cs
- WebBrowser.cs
- RawStylusActions.cs
- GroupBox.cs
- CssTextWriter.cs
- CodeDOMUtility.cs
- NavigationWindowAutomationPeer.cs
- LongTypeConverter.cs
- MailAddressCollection.cs
- ExternalFile.cs
- PropertyGeneratedEventArgs.cs
- ConstraintCollection.cs
- SignatureToken.cs
- GradientStopCollection.cs
- SerializationException.cs
- XPathExpr.cs
- DocumentSchemaValidator.cs
- HMACMD5.cs
- SessionStateItemCollection.cs
- SkinBuilder.cs
- StreamWriter.cs
- DrawTreeNodeEventArgs.cs
- SelectionEditor.cs
- JournalEntryStack.cs
- _FtpControlStream.cs
- FormViewInsertedEventArgs.cs
- ProfileSection.cs
- SchemaSetCompiler.cs
- ConsumerConnectionPoint.cs
- GeneralTransform3DCollection.cs
- PointCollection.cs
- CommonXSendMessage.cs
- CellTreeNode.cs
- DataRecord.cs
- MenuItemCollection.cs
- ValueSerializer.cs
- MLangCodePageEncoding.cs
- SmtpClient.cs
- XamlFilter.cs
- MsiStyleLogWriter.cs
- HierarchicalDataSourceControl.cs
- HashSetDebugView.cs
- SafeArrayRankMismatchException.cs
- ManagementOperationWatcher.cs
- XmlUtilWriter.cs
- OperationAbortedException.cs
- ArraySegment.cs
- DataContext.cs
- Comparer.cs
- BoundsDrawingContextWalker.cs
- TaskFactory.cs
- _NestedSingleAsyncResult.cs
- Crc32.cs
- Triplet.cs
- CreateUserWizard.cs
- PageThemeBuildProvider.cs
- LineProperties.cs
- DateTimeValueSerializerContext.cs
- StaticTextPointer.cs
- RepeatInfo.cs
- MenuCommand.cs
- QueryOptionExpression.cs
- NavigateEvent.cs
- AutomationElementCollection.cs
- SqlDataSourceCommandParser.cs
- GeneralTransform2DTo3DTo2D.cs
- CollectionView.cs
- DocumentGridPage.cs
- TextDecorationCollection.cs
- DefaultParameterValueAttribute.cs
- StylusEditingBehavior.cs
- GlyphRunDrawing.cs
- SuppressMessageAttribute.cs
- HttpGetServerProtocol.cs
- WebPartZone.cs
- EnlistmentState.cs
- Clause.cs
- UserPersonalizationStateInfo.cs
- RotateTransform.cs
- EntityDataSourceChangingEventArgs.cs
- DataSourceControl.cs
- SecurityUniqueId.cs