Code:
/ DotNET / DotNET / 8.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
- SemanticValue.cs
- FamilyTypefaceCollection.cs
- ListArgumentProvider.cs
- Tracking.cs
- DesignerUtility.cs
- StandardCommands.cs
- TextWriter.cs
- CompilerInfo.cs
- AttributeConverter.cs
- ThrowHelper.cs
- ProjectionAnalyzer.cs
- XmlWrappingReader.cs
- DesignerObjectListAdapter.cs
- MemoryFailPoint.cs
- ArgumentException.cs
- SecurityContext.cs
- _emptywebproxy.cs
- HttpServerVarsCollection.cs
- MemberHolder.cs
- UIElement3DAutomationPeer.cs
- NeutralResourcesLanguageAttribute.cs
- DatePicker.cs
- ConfigurationException.cs
- SerializerWriterEventHandlers.cs
- ComNativeDescriptor.cs
- CodePageUtils.cs
- CodeGroup.cs
- HttpPostServerProtocol.cs
- ParenthesizePropertyNameAttribute.cs
- TypeGeneratedEventArgs.cs
- Command.cs
- Accessors.cs
- HierarchicalDataSourceIDConverter.cs
- ItemChangedEventArgs.cs
- NavigationProgressEventArgs.cs
- Win32Interop.cs
- EventWaitHandleSecurity.cs
- TextRangeEditTables.cs
- PointCollection.cs
- StoreItemCollection.cs
- SerialPort.cs
- UpdateException.cs
- XPathQueryGenerator.cs
- DataTablePropertyDescriptor.cs
- KnownAssemblyEntry.cs
- LocalValueEnumerator.cs
- ObjectDataProvider.cs
- TreeNodeEventArgs.cs
- SolidColorBrush.cs
- HttpCacheVary.cs
- RefType.cs
- MulticastOption.cs
- SqlEnums.cs
- FontSourceCollection.cs
- WebPartRestoreVerb.cs
- XmlProcessingInstruction.cs
- HtmlControlAdapter.cs
- FormParameter.cs
- MimeMultiPart.cs
- BordersPage.cs
- NestedContainer.cs
- Header.cs
- Rotation3D.cs
- ExtensibleClassFactory.cs
- CharacterBufferReference.cs
- MultiView.cs
- ItemAutomationPeer.cs
- XPathEmptyIterator.cs
- AuthorizationRuleCollection.cs
- SystemParameters.cs
- XPathPatternParser.cs
- CollectionViewProxy.cs
- OutputScopeManager.cs
- SafeRegistryHandle.cs
- HtmlTitle.cs
- Vector3DAnimationBase.cs
- PageThemeCodeDomTreeGenerator.cs
- Int32AnimationUsingKeyFrames.cs
- ProgressiveCrcCalculatingStream.cs
- BitmapEffectInputData.cs
- ScriptingJsonSerializationSection.cs
- TextBounds.cs
- PersonalizationProviderHelper.cs
- Underline.cs
- InfoCardRSACryptoProvider.cs
- SoapReflectionImporter.cs
- ComPlusContractBehavior.cs
- Timer.cs
- ExtendedProperty.cs
- ResourceContainer.cs
- TablePatternIdentifiers.cs
- FontFamilyConverter.cs
- FileDetails.cs
- Win32.cs
- SingleObjectCollection.cs
- SelectionProcessor.cs
- AtomMaterializerLog.cs
- ChtmlLinkAdapter.cs
- TextFormatterContext.cs
- AtomContentProperty.cs