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
- XmlIncludeAttribute.cs
- ProfileInfo.cs
- DispatcherSynchronizationContext.cs
- DefaultEventAttribute.cs
- ConnectionInterfaceCollection.cs
- NativeRecognizer.cs
- EditingCommands.cs
- MenuCommand.cs
- SymLanguageVendor.cs
- ServiceModelEnumValidatorAttribute.cs
- hebrewshape.cs
- DetailsViewUpdatedEventArgs.cs
- XmlSchemaAttributeGroupRef.cs
- DataSourceHelper.cs
- OdbcEnvironmentHandle.cs
- TextCompositionEventArgs.cs
- ParserContext.cs
- DependencyPropertyHelper.cs
- HtmlControl.cs
- ZeroOpNode.cs
- NativeMethods.cs
- TypeSystemProvider.cs
- SafeEventLogReadHandle.cs
- ForeignConstraint.cs
- ArcSegment.cs
- DesignerTransaction.cs
- StateValidator.cs
- ToolboxDataAttribute.cs
- InputLanguageProfileNotifySink.cs
- SqlDataSourceCommandEventArgs.cs
- MaskInputRejectedEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- DataGrid.cs
- DataGridBoolColumn.cs
- WebPartEditorApplyVerb.cs
- PageAsyncTaskManager.cs
- PageRequestManager.cs
- Single.cs
- RetrieveVirtualItemEventArgs.cs
- Publisher.cs
- WebControlAdapter.cs
- HtmlTableRow.cs
- PermissionSetEnumerator.cs
- ExpressionVisitorHelpers.cs
- TransformCollection.cs
- SecurityMessageProperty.cs
- ModuleConfigurationInfo.cs
- WebPartTransformer.cs
- XmlHierarchicalDataSourceView.cs
- SqlTrackingService.cs
- CredentialCache.cs
- ToolStripGripRenderEventArgs.cs
- _NestedSingleAsyncResult.cs
- FileVersionInfo.cs
- DispatcherEventArgs.cs
- Utils.cs
- CharacterShapingProperties.cs
- EmitterCache.cs
- InstanceDataCollectionCollection.cs
- AttributeUsageAttribute.cs
- UndoManager.cs
- XmlSchemaAll.cs
- TimersDescriptionAttribute.cs
- DeploymentSection.cs
- _BufferOffsetSize.cs
- ProcessHostConfigUtils.cs
- ByteRangeDownloader.cs
- WindowsComboBox.cs
- MessageSecurityOverMsmq.cs
- MailHeaderInfo.cs
- ShapeTypeface.cs
- XPathPatternBuilder.cs
- InvalidPrinterException.cs
- ServiceOperationViewControl.cs
- MappingMetadataHelper.cs
- ParagraphVisual.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- SiteMapNode.cs
- MissingManifestResourceException.cs
- TraceSection.cs
- LayoutTableCell.cs
- DrawingCollection.cs
- DataBindEngine.cs
- SqlUtils.cs
- TrackingProfileCache.cs
- WizardPanel.cs
- WebPartCancelEventArgs.cs
- SamlSecurityTokenAuthenticator.cs
- SqlNotificationRequest.cs
- RegularExpressionValidator.cs
- LayoutInformation.cs
- DictationGrammar.cs
- LinqDataSourceValidationException.cs
- DBSqlParserTable.cs
- StandardToolWindows.cs
- BindingManagerDataErrorEventArgs.cs
- RecognizerBase.cs
- ActiveXSerializer.cs
- WebPartMenuStyle.cs
- ActivityXRefPropertyEditor.cs