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
- XmlSchemaGroupRef.cs
- MembershipPasswordException.cs
- SoapInteropTypes.cs
- CompModSwitches.cs
- SqlConnectionStringBuilder.cs
- AutoResetEvent.cs
- InfoCardBaseException.cs
- TimeSpanValidatorAttribute.cs
- XPathParser.cs
- COM2Properties.cs
- TextRangeSerialization.cs
- TransformCollection.cs
- ProcessMonitor.cs
- CookieProtection.cs
- Int16AnimationBase.cs
- NewExpression.cs
- RequiredFieldValidator.cs
- CommandLineParser.cs
- ActivityBindForm.cs
- SecurityElement.cs
- EventItfInfo.cs
- HttpResponse.cs
- Selection.cs
- PngBitmapDecoder.cs
- HttpCachePolicy.cs
- DataGridViewCellCollection.cs
- FormViewUpdateEventArgs.cs
- XmlTextWriter.cs
- MiniAssembly.cs
- SafeProcessHandle.cs
- XmlDictionaryString.cs
- ZipArchive.cs
- DecimalAverageAggregationOperator.cs
- SAPICategories.cs
- TransformCollection.cs
- ErrorRuntimeConfig.cs
- ControlAdapter.cs
- XmlSchemaExternal.cs
- EventRouteFactory.cs
- ApplicationFileParser.cs
- GraphicsContainer.cs
- MetadataHelper.cs
- AnimatedTypeHelpers.cs
- MaskDescriptor.cs
- ColorPalette.cs
- Documentation.cs
- BrowserCapabilitiesFactoryBase.cs
- CompModSwitches.cs
- ResponseStream.cs
- FormsIdentity.cs
- Trigger.cs
- ContainerFilterService.cs
- GatewayDefinition.cs
- QueryContinueDragEventArgs.cs
- _NTAuthentication.cs
- DataBoundControlAdapter.cs
- ConfigurationUtility.cs
- TextElementEnumerator.cs
- EmbeddedObject.cs
- StrongNameUtility.cs
- CollectionsUtil.cs
- FunctionCommandText.cs
- XmlFormatWriterGenerator.cs
- AsmxEndpointPickerExtension.cs
- SystemIPAddressInformation.cs
- StatusBar.cs
- ModelFunctionTypeElement.cs
- ProjectedSlot.cs
- xml.cs
- SecurityKeyEntropyMode.cs
- SchemaMerger.cs
- AdapterDictionary.cs
- CapabilitiesSection.cs
- ContextActivityUtils.cs
- WebPartConnectionsCancelVerb.cs
- Logging.cs
- SharedDp.cs
- HTTPNotFoundHandler.cs
- Rotation3D.cs
- ListSortDescriptionCollection.cs
- CopyAction.cs
- Odbc32.cs
- WorkflowRuntimeSection.cs
- ReaderOutput.cs
- RequestDescription.cs
- QilScopedVisitor.cs
- LinearGradientBrush.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ImageBrush.cs
- ValueChangedEventManager.cs
- DynamicActionMessageFilter.cs
- ParallelDesigner.cs
- SHA512.cs
- OleDbPermission.cs
- Message.cs
- XPathNodeHelper.cs
- QueryOperator.cs
- InstanceContextManager.cs
- Journal.cs
- XPathMessageFilterTable.cs