Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / EventPrivateKey.cs / 1 / EventPrivateKey.cs
using System; namespace System.Windows { ////// This class is meant to provide identification /// for Clr events whose handlers are stored /// into EventHandlersStore /// ////// This type has been specifically added so that it /// is easy to enforce via fxcop rules or such that /// event keys of this type must be private static /// fields on the declaring class. /// public class EventPrivateKey { ////// Constructor for EventPrivateKey /// public EventPrivateKey() { _globalIndex = GlobalEventManager.GetNextAvailableGlobalIndex(this); } internal int GlobalIndex { get { return _globalIndex; } } private int _globalIndex; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WorkflowOwnershipException.cs
- Process.cs
- StorageBasedPackageProperties.cs
- SignedXmlDebugLog.cs
- SvcMapFileLoader.cs
- BamlReader.cs
- SortFieldComparer.cs
- WindowPattern.cs
- ProfileParameter.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SqlUserDefinedTypeAttribute.cs
- BaseTemplateParser.cs
- XmlTypeMapping.cs
- TextModifier.cs
- BitmapEffectGroup.cs
- EventHandlingScope.cs
- PointAnimationUsingKeyFrames.cs
- TableItemStyle.cs
- HealthMonitoringSection.cs
- DataGridViewRowsAddedEventArgs.cs
- Compiler.cs
- WindowsComboBox.cs
- XmlConvert.cs
- EndPoint.cs
- URLEditor.cs
- ThreadPool.cs
- AsyncParams.cs
- IntSecurity.cs
- Set.cs
- InputLanguageManager.cs
- TemplateControlParser.cs
- EntityDataSourceView.cs
- DesignerImageAdapter.cs
- HandleRef.cs
- EmptyEnumerator.cs
- NavigationFailedEventArgs.cs
- ScalarOps.cs
- LOSFormatter.cs
- SessionStateUtil.cs
- BrowserInteropHelper.cs
- TemplateControlBuildProvider.cs
- SecurityContextSecurityToken.cs
- InstanceNotFoundException.cs
- CodeArrayIndexerExpression.cs
- HierarchicalDataBoundControlAdapter.cs
- OrthographicCamera.cs
- TextTreeInsertElementUndoUnit.cs
- SerializationSectionGroup.cs
- RegexWriter.cs
- WinFormsUtils.cs
- WebPartConnectionCollection.cs
- DictionaryContent.cs
- CodeVariableDeclarationStatement.cs
- MediaTimeline.cs
- CFStream.cs
- XamlWriter.cs
- BitmapEncoder.cs
- ItemList.cs
- Classification.cs
- ResourceReferenceKeyNotFoundException.cs
- ProgressBar.cs
- _HTTPDateParse.cs
- PerformanceCountersElement.cs
- RoutedEventValueSerializer.cs
- ScriptingJsonSerializationSection.cs
- ConfigXmlText.cs
- XmlFormatReaderGenerator.cs
- HttpWebRequest.cs
- Activator.cs
- ControllableStoryboardAction.cs
- XmlBoundElement.cs
- HttpCachePolicyElement.cs
- ErrorLog.cs
- HtmlTableRowCollection.cs
- SoapParser.cs
- OleDbConnectionInternal.cs
- RepeatBehavior.cs
- PageBreakRecord.cs
- RowBinding.cs
- DatatypeImplementation.cs
- BaseDataList.cs
- HttpCacheParams.cs
- CroppedBitmap.cs
- SqlCaseSimplifier.cs
- LocationSectionRecord.cs
- SqlOuterApplyReducer.cs
- OleDbConnection.cs
- PreviewPrintController.cs
- GridSplitter.cs
- ParentUndoUnit.cs
- LiteralControl.cs
- UInt32Converter.cs
- CodeThrowExceptionStatement.cs
- webclient.cs
- NegatedConstant.cs
- ContentPropertyAttribute.cs
- BuildManagerHost.cs
- StylusShape.cs
- SimpleApplicationHost.cs
- TimeZone.cs