Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / IO / Ports / SerialPinChanges.cs / 1305376 / 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
- DataViewManagerListItemTypeDescriptor.cs
- CombinedGeometry.cs
- HttpWebRequest.cs
- DataGridPagerStyle.cs
- TypeSystemProvider.cs
- OdbcConnectionStringbuilder.cs
- SR.cs
- XXXOnTypeBuilderInstantiation.cs
- RoleManagerModule.cs
- IPAddressCollection.cs
- SessionStateSection.cs
- Path.cs
- LockedBorderGlyph.cs
- TreeWalker.cs
- SectionInformation.cs
- DispatcherHookEventArgs.cs
- ToolStripInSituService.cs
- HttpCacheVary.cs
- Int64.cs
- CookielessHelper.cs
- ProjectionPath.cs
- CommandBinding.cs
- MessageSmuggler.cs
- SerialReceived.cs
- StringUtil.cs
- FastPropertyAccessor.cs
- SettingsAttributes.cs
- DetailsViewCommandEventArgs.cs
- EntityDesignerDataSourceView.cs
- Math.cs
- TagPrefixCollection.cs
- SqlDataSourceFilteringEventArgs.cs
- CodeCompileUnit.cs
- XmlDocumentType.cs
- WebPartZoneCollection.cs
- LineProperties.cs
- Int32CAMarshaler.cs
- PeerPresenceInfo.cs
- CopyNodeSetAction.cs
- RegexMatchCollection.cs
- MetafileHeaderEmf.cs
- HTMLTagNameToTypeMapper.cs
- OdbcStatementHandle.cs
- TextPattern.cs
- indexingfiltermarshaler.cs
- ActivityXRefConverter.cs
- TextEvent.cs
- PageFunction.cs
- AppDomainCompilerProxy.cs
- ConnectionManagementSection.cs
- ProxyGenerationError.cs
- DataBoundLiteralControl.cs
- HtmlValidatorAdapter.cs
- Gdiplus.cs
- ParameterReplacerVisitor.cs
- SemanticTag.cs
- DataBindingValueUIHandler.cs
- ConnectionStringEditor.cs
- WmlListAdapter.cs
- TraceLevelStore.cs
- DateTimeParse.cs
- ZoneLinkButton.cs
- IdentifierCreationService.cs
- MsmqHostedTransportConfiguration.cs
- Point.cs
- XPathEmptyIterator.cs
- FocusChangedEventArgs.cs
- LogicalExpr.cs
- WindowsFormsLinkLabel.cs
- LinqDataSourceView.cs
- OleCmdHelper.cs
- MouseGesture.cs
- PropertiesTab.cs
- AttachedPropertiesService.cs
- Int16Storage.cs
- Point3DCollectionConverter.cs
- X509Utils.cs
- DebuggerAttributes.cs
- HtmlButton.cs
- FixedSOMTextRun.cs
- GcSettings.cs
- SmtpMail.cs
- CompositeDataBoundControl.cs
- ObjectQueryProvider.cs
- ToolZone.cs
- CommentEmitter.cs
- TextEditorDragDrop.cs
- NonParentingControl.cs
- CompilerState.cs
- EUCJPEncoding.cs
- DbMetaDataCollectionNames.cs
- ScriptingJsonSerializationSection.cs
- ToolStripPanelRow.cs
- BasicCommandTreeVisitor.cs
- AppModelKnownContentFactory.cs
- Socket.cs
- SHA512.cs
- XmlSchemaComplexContentRestriction.cs
- listitem.cs
- FacetEnabledSchemaElement.cs