Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PreProcessor.cs
- LifetimeServices.cs
- XmlSchemaException.cs
- ByteAnimationUsingKeyFrames.cs
- PropertyGrid.cs
- ConnectionManagementElementCollection.cs
- InputBinder.cs
- DispatchWrapper.cs
- WorkflowElementDialog.cs
- MailAddressCollection.cs
- DockingAttribute.cs
- Int16Storage.cs
- CollectionChangedEventManager.cs
- SynchronizedInputHelper.cs
- ChildChangedEventArgs.cs
- ACL.cs
- IPAddress.cs
- CommandBindingCollection.cs
- AdministrationHelpers.cs
- QueryCursorEventArgs.cs
- MutexSecurity.cs
- Paragraph.cs
- LinkedResourceCollection.cs
- EventLogInformation.cs
- XmlWrappingWriter.cs
- ExtensionDataReader.cs
- PageVisual.cs
- InfoCardProofToken.cs
- XmlILModule.cs
- NativeMethodsOther.cs
- SoapFormatExtensions.cs
- XmlFormatExtensionPrefixAttribute.cs
- ColumnHeader.cs
- ListParagraph.cs
- PagedControl.cs
- RuntimeConfig.cs
- CodeEventReferenceExpression.cs
- KeyGesture.cs
- QueryComponents.cs
- NamespaceDecl.cs
- CollectionViewGroupInternal.cs
- StoragePropertyMapping.cs
- ConnectionPoolManager.cs
- RouteTable.cs
- RequestDescription.cs
- ImageMap.cs
- Pen.cs
- SessionPageStatePersister.cs
- Schema.cs
- DashStyle.cs
- XmlSchemaImporter.cs
- MetadataCacheItem.cs
- XmlProcessingInstruction.cs
- RectAnimationUsingKeyFrames.cs
- TypeTypeConverter.cs
- ReadOnlyMetadataCollection.cs
- RadioButtonList.cs
- Renderer.cs
- XNameConverter.cs
- Variable.cs
- ServiceBuildProvider.cs
- EdmType.cs
- SetIndexBinder.cs
- ProcessThread.cs
- ParameterEditorUserControl.cs
- SerializationSectionGroup.cs
- MachineKeySection.cs
- ProcessThread.cs
- AssemblyName.cs
- LineSegment.cs
- StaticFileHandler.cs
- PropertyGrid.cs
- MappedMetaModel.cs
- ViewCellRelation.cs
- SafeFileMappingHandle.cs
- ToolStripOverflow.cs
- Drawing.cs
- Graph.cs
- TextEditorSelection.cs
- Module.cs
- ControlValuePropertyAttribute.cs
- TypeElementCollection.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- WithStatement.cs
- ISFClipboardData.cs
- DrawingGroup.cs
- DictionaryBase.cs
- Encoding.cs
- EmbeddedMailObject.cs
- ToolStripPanelCell.cs
- CssStyleCollection.cs
- DesignerActionItemCollection.cs
- ToolStrip.cs
- CodeTypeReference.cs
- UnknownWrapper.cs
- ControlDesigner.cs
- RangeContentEnumerator.cs
- listitem.cs
- ResetableIterator.cs
- EncryptedReference.cs