Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SettingsSection.cs
- XmlQueryTypeFactory.cs
- Optimizer.cs
- UnhandledExceptionEventArgs.cs
- RbTree.cs
- Utils.cs
- LocalValueEnumerator.cs
- DataColumnCollection.cs
- QuadTree.cs
- SessionPageStateSection.cs
- File.cs
- ScriptResourceAttribute.cs
- Bind.cs
- DataSourceCache.cs
- CultureTable.cs
- HtmlShim.cs
- SecuritySessionSecurityTokenProvider.cs
- VisualProxy.cs
- TextSpan.cs
- Int32CAMarshaler.cs
- ViewPort3D.cs
- ManagedIStream.cs
- GridViewColumnHeader.cs
- PackagePartCollection.cs
- ClientApiGenerator.cs
- GeneralTransform3DGroup.cs
- EntityReference.cs
- MergeFailedEvent.cs
- TextBox.cs
- GenericPrincipal.cs
- EarlyBoundInfo.cs
- FactoryMaker.cs
- DynamicILGenerator.cs
- PropertyGridCommands.cs
- DataServiceQueryException.cs
- EntityConnectionStringBuilderItem.cs
- Italic.cs
- KeyValuePairs.cs
- ContentTextAutomationPeer.cs
- Formatter.cs
- WebPartHeaderCloseVerb.cs
- SignatureDescription.cs
- FatalException.cs
- DateTimePicker.cs
- XmlSchemaFacet.cs
- NavigationExpr.cs
- LogEntrySerializationException.cs
- GridViewRowPresenter.cs
- RegistryDataKey.cs
- LinqExpressionNormalizer.cs
- PasswordBox.cs
- AssemblyAssociatedContentFileAttribute.cs
- CodeAttributeArgumentCollection.cs
- ToolboxItem.cs
- XmlSchemaGroupRef.cs
- XamlTreeBuilderBamlRecordWriter.cs
- WebEvents.cs
- Bits.cs
- LocalFileSettingsProvider.cs
- SingleAnimationUsingKeyFrames.cs
- AuthenticationException.cs
- InternalCache.cs
- SplitterCancelEvent.cs
- UIElement3DAutomationPeer.cs
- ProfileEventArgs.cs
- ClientSponsor.cs
- IdentitySection.cs
- HttpCacheVaryByContentEncodings.cs
- AssemblyAttributesGoHere.cs
- TemplatedMailWebEventProvider.cs
- WebPartZoneCollection.cs
- PageBreakRecord.cs
- ValidatorCollection.cs
- EntityViewGenerator.cs
- RequestValidator.cs
- ResetableIterator.cs
- HierarchicalDataBoundControlAdapter.cs
- AssemblyFilter.cs
- DeviceSpecific.cs
- OleDbWrapper.cs
- AliasGenerator.cs
- CroppedBitmap.cs
- SqlNotificationEventArgs.cs
- Size.cs
- AppDomainShutdownMonitor.cs
- DetailsView.cs
- ToolStripItemClickedEventArgs.cs
- XPathNodeList.cs
- ProxyWebPartConnectionCollection.cs
- SqlBuffer.cs
- EntityConnection.cs
- PasswordPropertyTextAttribute.cs
- CommandHelper.cs
- TemplateBuilder.cs
- Style.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- OutputCacheProfile.cs
- ObjectDisposedException.cs
- FamilyTypeface.cs
- EntryPointNotFoundException.cs