Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- StandardBindingImporter.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- DataGridViewDesigner.cs
- compensatingcollection.cs
- RectangleGeometry.cs
- QilUnary.cs
- ExtensionDataObject.cs
- Ref.cs
- FormsAuthenticationEventArgs.cs
- ViewValidator.cs
- ProxyWebPart.cs
- XmlQueryOutput.cs
- TypeGenericEnumerableViewSchema.cs
- TextDecoration.cs
- processwaithandle.cs
- BitmapMetadataBlob.cs
- DetailsViewPagerRow.cs
- TargetControlTypeAttribute.cs
- DataGridCommandEventArgs.cs
- ParameterRefs.cs
- DomainConstraint.cs
- Clock.cs
- ConstNode.cs
- EditorPart.cs
- CustomErrorCollection.cs
- _ProxyRegBlob.cs
- NetworkStream.cs
- PrivacyNoticeBindingElement.cs
- X500Name.cs
- EntryPointNotFoundException.cs
- StyleSheet.cs
- QueryContinueDragEventArgs.cs
- GroupBoxRenderer.cs
- UrlAuthorizationModule.cs
- PropertyMetadata.cs
- ComponentRenameEvent.cs
- SQLBinaryStorage.cs
- ProfileProvider.cs
- CodeSpit.cs
- ValueUtilsSmi.cs
- EditingScopeUndoUnit.cs
- HtmlInputPassword.cs
- HttpGetProtocolImporter.cs
- SeekStoryboard.cs
- ThemeableAttribute.cs
- TreeNodeStyle.cs
- Frame.cs
- CalendarDataBindingHandler.cs
- WindowsGraphics.cs
- PopupRoot.cs
- TextAction.cs
- AuthenticatedStream.cs
- SqlParameter.cs
- ConfigurationSettings.cs
- FreezableCollection.cs
- TextBounds.cs
- CheckoutException.cs
- _DisconnectOverlappedAsyncResult.cs
- IdentityManager.cs
- RootBrowserWindow.cs
- ToolStripOverflow.cs
- GetWorkflowTree.cs
- InteropBitmapSource.cs
- Subset.cs
- GPRECTF.cs
- FloaterBaseParagraph.cs
- DTCTransactionManager.cs
- IgnoreSectionHandler.cs
- ComPlusThreadInitializer.cs
- ScriptDescriptor.cs
- TreeIterator.cs
- ScriptComponentDescriptor.cs
- TextEditorParagraphs.cs
- SqlDataSourceDesigner.cs
- ZipIOExtraFieldZip64Element.cs
- GACMembershipCondition.cs
- IDictionary.cs
- DefaultValueAttribute.cs
- GridViewDeletedEventArgs.cs
- SiteMapSection.cs
- TypeLibConverter.cs
- Geometry.cs
- TreeViewImageKeyConverter.cs
- TCEAdapterGenerator.cs
- SectionVisual.cs
- XPathDocument.cs
- WebServiceErrorEvent.cs
- WebPartActionVerb.cs
- SQLRoleProvider.cs
- ListManagerBindingsCollection.cs
- recordstate.cs
- PeerNearMe.cs
- ToolStripRenderEventArgs.cs
- DesignerSerializationOptionsAttribute.cs
- FactoryMaker.cs
- hresults.cs
- ParamArrayAttribute.cs
- DocumentPageViewAutomationPeer.cs
- listitem.cs
- CallbackValidatorAttribute.cs