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
- SqlLiftWhereClauses.cs
- SudsWriter.cs
- CompilationLock.cs
- HttpRequestCacheValidator.cs
- WebDescriptionAttribute.cs
- ArrayTypeMismatchException.cs
- ImageIndexConverter.cs
- StaticDataManager.cs
- ValidationRuleCollection.cs
- StandardToolWindows.cs
- ResourceContainer.cs
- NetworkAddressChange.cs
- Rights.cs
- TemplateGroupCollection.cs
- Component.cs
- DataGridViewDataErrorEventArgs.cs
- WorkflowApplicationCompletedEventArgs.cs
- RegisteredScript.cs
- RelationshipManager.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- ItemAutomationPeer.cs
- IsolatedStorageException.cs
- Geometry.cs
- SolidColorBrush.cs
- HierarchicalDataBoundControl.cs
- AssemblyAttributesGoHere.cs
- SqlConnectionString.cs
- MouseGestureConverter.cs
- FileSystemInfo.cs
- PaperSource.cs
- IndentedWriter.cs
- SecurityNegotiationException.cs
- COSERVERINFO.cs
- HyperLinkStyle.cs
- CodeExpressionCollection.cs
- updateconfighost.cs
- EnvelopeVersion.cs
- StateMachine.cs
- BrowserDefinition.cs
- EventlogProvider.cs
- ListenerUnsafeNativeMethods.cs
- OdbcConnectionOpen.cs
- WmlObjectListAdapter.cs
- PeerNameRegistration.cs
- WebPartVerb.cs
- _WebProxyDataBuilder.cs
- DataTrigger.cs
- CroppedBitmap.cs
- SequentialActivityDesigner.cs
- ExpanderAutomationPeer.cs
- TypeInfo.cs
- WorkflowTransactionService.cs
- DesignTableCollection.cs
- Literal.cs
- InternalCache.cs
- ProviderCollection.cs
- DataRow.cs
- InvalidDataException.cs
- MeasurementDCInfo.cs
- AtomMaterializerLog.cs
- ClrProviderManifest.cs
- PackWebRequest.cs
- EventLogQuery.cs
- NetworkStream.cs
- HttpCacheParams.cs
- DataKey.cs
- RequestQueryProcessor.cs
- SmtpNetworkElement.cs
- TextMarkerSource.cs
- WebPartDescriptionCollection.cs
- SQLBinaryStorage.cs
- RectangleGeometry.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- FrameworkElementAutomationPeer.cs
- SocketInformation.cs
- FlowNode.cs
- PackageRelationshipSelector.cs
- ParenthesizePropertyNameAttribute.cs
- CanonicalFontFamilyReference.cs
- CodeDefaultValueExpression.cs
- NamespaceMapping.cs
- Char.cs
- ServicePointManagerElement.cs
- AssociationTypeEmitter.cs
- PropertyConverter.cs
- ContextStaticAttribute.cs
- HttpCookieCollection.cs
- PolyBezierSegment.cs
- StylusPlugin.cs
- ClientSponsor.cs
- ButtonAutomationPeer.cs
- AssemblyNameProxy.cs
- HttpModuleAction.cs
- TypeForwardedToAttribute.cs
- WebPartConnectionsCancelVerb.cs
- CroppedBitmap.cs
- Clause.cs
- CacheMode.cs
- PasswordPropertyTextAttribute.cs
- GridViewAutomationPeer.cs