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
- PageThemeParser.cs
- MessageQueueException.cs
- ArrangedElementCollection.cs
- NamespaceInfo.cs
- OdbcDataAdapter.cs
- SerializationStore.cs
- ItemMap.cs
- _NtlmClient.cs
- EditModeSwitchButton.cs
- WebReferencesBuildProvider.cs
- ScrollContentPresenter.cs
- objectquery_tresulttype.cs
- MatrixAnimationUsingKeyFrames.cs
- ConditionalAttribute.cs
- printdlgexmarshaler.cs
- ObjectListCommandEventArgs.cs
- TemplateEditingFrame.cs
- DataControlReference.cs
- NavigationPropertyEmitter.cs
- Model3DGroup.cs
- GridItemPattern.cs
- DoWorkEventArgs.cs
- PlanCompiler.cs
- ExpressionVisitor.cs
- XmlBaseReader.cs
- HttpHeaderCollection.cs
- DataGridViewSelectedCellCollection.cs
- ThreadExceptionEvent.cs
- Command.cs
- ConcurrentDictionary.cs
- DataSourceCollectionBase.cs
- ZipIOCentralDirectoryFileHeader.cs
- CustomValidator.cs
- TemplateComponentConnector.cs
- FontStyles.cs
- TextDecorationLocationValidation.cs
- TextFindEngine.cs
- WrappedDispatcherException.cs
- XmlUtf8RawTextWriter.cs
- TypeInfo.cs
- Vector3DCollectionConverter.cs
- SerializationAttributes.cs
- SQLSingle.cs
- XXXInfos.cs
- PageSetupDialog.cs
- SimpleParser.cs
- SoapCodeExporter.cs
- TemplateComponentConnector.cs
- SrgsElementList.cs
- ChangeNode.cs
- XmlUtf8RawTextWriter.cs
- TextLine.cs
- TemplateKeyConverter.cs
- RestHandler.cs
- Expr.cs
- MasterPageParser.cs
- PointLight.cs
- EdmSchemaError.cs
- SetIterators.cs
- AssemblyHash.cs
- InplaceBitmapMetadataWriter.cs
- StringBuilder.cs
- XPathLexer.cs
- DataGridViewRowPrePaintEventArgs.cs
- ImageConverter.cs
- WorkerRequest.cs
- UTF32Encoding.cs
- ValidationEventArgs.cs
- DataTableReaderListener.cs
- Stylus.cs
- HtmlWindowCollection.cs
- TagElement.cs
- ExceptionWrapper.cs
- Pkcs9Attribute.cs
- Page.cs
- StringArrayConverter.cs
- HybridWebProxyFinder.cs
- Parser.cs
- FrameworkContextData.cs
- HuffmanTree.cs
- ProcessInputEventArgs.cs
- xmlformatgeneratorstatics.cs
- DialogBaseForm.cs
- JsonDeserializer.cs
- BasicKeyConstraint.cs
- NavigationExpr.cs
- AutoCompleteStringCollection.cs
- remotingproxy.cs
- ToolStripDropDownClosedEventArgs.cs
- AutomationPeer.cs
- ApplicationSettingsBase.cs
- DbProviderFactory.cs
- StateChangeEvent.cs
- HyperLinkDesigner.cs
- _LazyAsyncResult.cs
- COM2TypeInfoProcessor.cs
- ErrorView.xaml.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PageStatePersister.cs
- StrokeNode.cs