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
- WmiEventSink.cs
- FrameworkElementFactory.cs
- sqlinternaltransaction.cs
- SvcFileManager.cs
- MaterialCollection.cs
- JsonReaderDelegator.cs
- Fonts.cs
- RuleInfoComparer.cs
- XamlWriter.cs
- XhtmlConformanceSection.cs
- SqlWebEventProvider.cs
- TemplateControlCodeDomTreeGenerator.cs
- PathFigureCollection.cs
- ProfilePropertySettings.cs
- ClientReliableChannelBinder.cs
- CatchDesigner.xaml.cs
- Paragraph.cs
- IPGlobalProperties.cs
- Content.cs
- Msec.cs
- AssemblyBuilderData.cs
- OneOfScalarConst.cs
- ToolStripMenuItemCodeDomSerializer.cs
- ManagedIStream.cs
- sqlstateclientmanager.cs
- RelationalExpressions.cs
- WindowsSysHeader.cs
- ListItemCollection.cs
- MaterialGroup.cs
- HMACRIPEMD160.cs
- ObjectCacheHost.cs
- ResourcePart.cs
- SafeEventHandle.cs
- ToolStripDropDownItemDesigner.cs
- SoapSchemaImporter.cs
- GcHandle.cs
- RSAPKCS1SignatureFormatter.cs
- AssociatedControlConverter.cs
- ExpressionBinding.cs
- Dump.cs
- CngKeyCreationParameters.cs
- DelegateHelpers.cs
- CodeEntryPointMethod.cs
- ExternalException.cs
- ISAPIRuntime.cs
- HtmlInputSubmit.cs
- GifBitmapEncoder.cs
- SqlBuilder.cs
- EdgeProfileValidation.cs
- dsa.cs
- XamlNamespaceHelper.cs
- CurrentChangingEventManager.cs
- ChannelFactoryBase.cs
- TreeNodeCollection.cs
- SendActivityEventArgs.cs
- VisualStyleTypesAndProperties.cs
- SqlRecordBuffer.cs
- xamlnodes.cs
- Span.cs
- ExpandCollapseIsCheckedConverter.cs
- BufferBuilder.cs
- __Filters.cs
- NamespaceInfo.cs
- NetworkInformationPermission.cs
- BypassElementCollection.cs
- FormsAuthenticationConfiguration.cs
- UserControl.cs
- DebugView.cs
- APCustomTypeDescriptor.cs
- ApplicationServiceHelper.cs
- SplashScreenNativeMethods.cs
- ISCIIEncoding.cs
- GlyphingCache.cs
- RequiredAttributeAttribute.cs
- TextEffectResolver.cs
- UrlPath.cs
- InstallerTypeAttribute.cs
- ImageSourceConverter.cs
- FloaterBaseParagraph.cs
- OletxResourceManager.cs
- Semaphore.cs
- ToolBarButtonDesigner.cs
- cookiecollection.cs
- DropTarget.cs
- TextServicesCompartmentContext.cs
- UserControl.cs
- PenThreadPool.cs
- DataGridViewAccessibleObject.cs
- Resources.Designer.cs
- SamlSecurityToken.cs
- ButtonAutomationPeer.cs
- PreviewPrintController.cs
- HttpModuleActionCollection.cs
- ContentDefinition.cs
- InheritanceAttribute.cs
- RuleSet.cs
- Metafile.cs
- Misc.cs
- Conditional.cs
- HttpCapabilitiesBase.cs