Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ComponentModel / COM2Interop / COM2ExtendedBrowsingHandler.cs / 1 / COM2ExtendedBrowsingHandler.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms.ComponentModel.Com2Interop { using System.ComponentModel; using System.Diagnostics; using System; ////// /// This is the base class for handlers for COM2 extended browsing interface /// such as IPerPropertyBrowsing, etc. /// /// These handlers should be stateless. That is, they should keep no refs to object /// and should only work on a give object and dispid. That way all objects that /// support a give interface can share a handler. /// /// See COM2Properties for the array of handler classes to interface classes /// where handlers should be registered. /// internal abstract class Com2ExtendedBrowsingHandler{ ////// /// The interface that this handler managers /// such as IPerPropertyBrowsing, IProvidePropertyBuilder, etc. /// public abstract Type Interface{ get; } ////// /// Called to setup the property handlers on a given property /// In this method, the handler will add listeners to the events that /// the COM2PropertyDescriptor surfaces that it cares about. /// public virtual void SetupPropertyHandlers(Com2PropertyDescriptor propDesc){ SetupPropertyHandlers(new Com2PropertyDescriptor[]{propDesc}); } ////// /// Called to setup the property handlers on a given properties /// In this method, the handler will add listeners to the events that /// the Com2PropertyDescriptor surfaces that it cares about. /// public abstract void SetupPropertyHandlers(Com2PropertyDescriptor[] propDesc); } } // 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
- SessionStateModule.cs
- ContextStaticAttribute.cs
- Pens.cs
- WebPartMenuStyle.cs
- Empty.cs
- Blend.cs
- TargetFrameworkAttribute.cs
- ISAPIApplicationHost.cs
- ConfigurationManagerHelper.cs
- _NTAuthentication.cs
- AnnotationStore.cs
- JavaScriptString.cs
- WebDescriptionAttribute.cs
- While.cs
- MetadataItemEmitter.cs
- TreePrinter.cs
- InputReportEventArgs.cs
- AppSettingsReader.cs
- JpegBitmapEncoder.cs
- XmlElementElementCollection.cs
- CheckBox.cs
- ContentIterators.cs
- _IPv4Address.cs
- MarkupWriter.cs
- SchemaComplexType.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- CreateUserWizardStep.cs
- HMACSHA512.cs
- StorageEndPropertyMapping.cs
- TargetParameterCountException.cs
- IPipelineRuntime.cs
- XdrBuilder.cs
- ellipse.cs
- ListItemConverter.cs
- OleDbErrorCollection.cs
- DateTimeConverter.cs
- PnrpPeerResolverElement.cs
- StructuredTypeEmitter.cs
- AssemblyLoader.cs
- isolationinterop.cs
- TdsParser.cs
- WindowsListViewGroupSubsetLink.cs
- DesignerOptionService.cs
- SqlParameterizer.cs
- QueueProcessor.cs
- UrlEncodedParameterWriter.cs
- DatatypeImplementation.cs
- Configuration.cs
- XmlTypeMapping.cs
- FilterEventArgs.cs
- PackWebRequestFactory.cs
- SettingsSavedEventArgs.cs
- ParamArrayAttribute.cs
- SqlIdentifier.cs
- ServicePoint.cs
- SHA1Managed.cs
- HelpInfo.cs
- WebAdminConfigurationHelper.cs
- OdbcParameterCollection.cs
- StorageRoot.cs
- EndOfStreamException.cs
- DateTimeUtil.cs
- ContainerAction.cs
- SplineKeyFrames.cs
- ValidatingReaderNodeData.cs
- Int64AnimationUsingKeyFrames.cs
- SliderAutomationPeer.cs
- SubMenuStyle.cs
- KeysConverter.cs
- BinaryMethodMessage.cs
- SortedSetDebugView.cs
- SafeFileMapViewHandle.cs
- InsufficientMemoryException.cs
- RequestCache.cs
- SByte.cs
- ConfigurationSection.cs
- VScrollBar.cs
- DropSource.cs
- TextParaClient.cs
- ExpressionNormalizer.cs
- GridViewColumnHeader.cs
- ResourcesBuildProvider.cs
- HotCommands.cs
- QualifiedCellIdBoolean.cs
- ScriptReferenceBase.cs
- ResourcesGenerator.cs
- BaseConfigurationRecord.cs
- CqlBlock.cs
- CorrelationRequestContext.cs
- TransformPatternIdentifiers.cs
- codemethodreferenceexpression.cs
- SecurityPermission.cs
- UnmanagedMemoryStreamWrapper.cs
- EmptyStringExpandableObjectConverter.cs
- TextTreeUndo.cs
- BinaryEditor.cs
- Rectangle.cs
- Events.cs
- CryptoKeySecurity.cs
- RecipientServiceModelSecurityTokenRequirement.cs