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
- basecomparevalidator.cs
- MemberHolder.cs
- QilExpression.cs
- XDRSchema.cs
- CrossAppDomainChannel.cs
- DPCustomTypeDescriptor.cs
- CodeDomConfigurationHandler.cs
- ContainerActivationHelper.cs
- PriorityItem.cs
- Literal.cs
- Type.cs
- SplineKeyFrames.cs
- LogManagementAsyncResult.cs
- DeobfuscatingStream.cs
- UInt32Storage.cs
- CommandBindingCollection.cs
- AllMembershipCondition.cs
- SessionStateSection.cs
- BaseDataList.cs
- hwndwrapper.cs
- CompositeScriptReferenceEventArgs.cs
- RoleManagerModule.cs
- PointCollection.cs
- ColorContextHelper.cs
- InternalConfigRoot.cs
- _OSSOCK.cs
- ColorAnimationBase.cs
- SoapTypeAttribute.cs
- CleanUpVirtualizedItemEventArgs.cs
- CriticalHandle.cs
- BrowserDefinition.cs
- TabItemWrapperAutomationPeer.cs
- BinHexEncoding.cs
- MembershipValidatePasswordEventArgs.cs
- DataGridViewToolTip.cs
- OrderedDictionary.cs
- _SslSessionsCache.cs
- SectionXmlInfo.cs
- CapabilitiesSection.cs
- ToolStripDropDownClosedEventArgs.cs
- PriorityRange.cs
- storepermission.cs
- FontSourceCollection.cs
- ColorDialog.cs
- MLangCodePageEncoding.cs
- HandlerMappingMemo.cs
- LineMetrics.cs
- SqlBuilder.cs
- ToggleButton.cs
- ProvideValueServiceProvider.cs
- CheckBoxFlatAdapter.cs
- SystemUnicastIPAddressInformation.cs
- ProcessHostConfigUtils.cs
- NotConverter.cs
- EncodingInfo.cs
- SignedXml.cs
- FactoryRecord.cs
- EventLogException.cs
- CollectionType.cs
- QilDataSource.cs
- CdpEqualityComparer.cs
- HostingPreferredMapPath.cs
- CatalogPartCollection.cs
- OdbcConnectionString.cs
- Metadata.cs
- RelatedEnd.cs
- ChunkedMemoryStream.cs
- BinaryNode.cs
- isolationinterop.cs
- QilDataSource.cs
- SortedList.cs
- ToolStripSystemRenderer.cs
- ChtmlFormAdapter.cs
- ExclusiveHandle.cs
- ButtonField.cs
- ExpressionParser.cs
- ExtendedPropertyCollection.cs
- MSHTMLHostUtil.cs
- SqlTriggerAttribute.cs
- ProviderUtil.cs
- COSERVERINFO.cs
- BrowserCapabilitiesFactoryBase.cs
- SqlParameterizer.cs
- RuntimeWrappedException.cs
- MetadataWorkspace.cs
- Collection.cs
- CodeIndexerExpression.cs
- Base64Encoding.cs
- QueueProcessor.cs
- SettingsAttributeDictionary.cs
- HMACMD5.cs
- XmlBinaryReader.cs
- WebPartVerb.cs
- ListViewItem.cs
- WebBrowsableAttribute.cs
- InputScopeNameConverter.cs
- ManagedFilter.cs
- dataprotectionpermissionattribute.cs
- WindowsAuthenticationEventArgs.cs
- GridViewHeaderRowPresenterAutomationPeer.cs