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
- ImageCodecInfoPrivate.cs
- GetImportedCardRequest.cs
- XpsThumbnail.cs
- TimeoutValidationAttribute.cs
- Component.cs
- TypeLoadException.cs
- HttpPostProtocolImporter.cs
- XPathNodeInfoAtom.cs
- ProfileParameter.cs
- FileUtil.cs
- CodeGeneratorOptions.cs
- UnicastIPAddressInformationCollection.cs
- SqlAggregateChecker.cs
- DocobjHost.cs
- AttachedPropertiesService.cs
- MimeReturn.cs
- TreeViewCancelEvent.cs
- SiteMembershipCondition.cs
- MissingFieldException.cs
- UTF32Encoding.cs
- SessionStateModule.cs
- IOException.cs
- FunctionImportElement.cs
- AnnotationService.cs
- RenderTargetBitmap.cs
- DiscoveryExceptionDictionary.cs
- DrawingCollection.cs
- EncryptedKeyIdentifierClause.cs
- BitmapSizeOptions.cs
- InkCanvasFeedbackAdorner.cs
- RSAProtectedConfigurationProvider.cs
- PersianCalendar.cs
- StylusEditingBehavior.cs
- SoapExtensionReflector.cs
- SqlCharStream.cs
- CodeAttachEventStatement.cs
- keycontainerpermission.cs
- HttpGetServerProtocol.cs
- TraceLevelHelper.cs
- ComboBoxRenderer.cs
- CheckPair.cs
- DataServiceExpressionVisitor.cs
- RegexReplacement.cs
- dataobject.cs
- linebase.cs
- TrackingParameters.cs
- _emptywebproxy.cs
- ListViewItemEventArgs.cs
- LogicalTreeHelper.cs
- SortQuery.cs
- FtpWebRequest.cs
- WindowsAuthenticationEventArgs.cs
- NamespaceList.cs
- SQLInt64.cs
- RoutedEventValueSerializer.cs
- TextSelectionHighlightLayer.cs
- ToolStripPanelRow.cs
- ServiceInstanceProvider.cs
- EnterpriseServicesHelper.cs
- SqlDataRecord.cs
- HtmlPageAdapter.cs
- _ListenerRequestStream.cs
- SQLUtility.cs
- SchemaTableColumn.cs
- ASCIIEncoding.cs
- EarlyBoundInfo.cs
- StringCollectionEditor.cs
- diagnosticsswitches.cs
- CounterCreationData.cs
- AbstractExpressions.cs
- ValidationEventArgs.cs
- SiblingIterators.cs
- DuplexClientBase.cs
- ScriptResourceHandler.cs
- SqlUserDefinedTypeAttribute.cs
- ControlParameter.cs
- ZipIOExtraFieldZip64Element.cs
- DbParameterCollectionHelper.cs
- SettingsPropertyNotFoundException.cs
- NameValueFileSectionHandler.cs
- InternalMappingException.cs
- XLinq.cs
- HeaderElement.cs
- metadatamappinghashervisitor.cs
- EntityClientCacheEntry.cs
- ObjectDataSourceStatusEventArgs.cs
- MailMessageEventArgs.cs
- HttpCookieCollection.cs
- ColumnResizeUndoUnit.cs
- Script.cs
- ImageClickEventArgs.cs
- ProxyManager.cs
- VideoDrawing.cs
- SQlBooleanStorage.cs
- TextChange.cs
- BufferedGraphicsContext.cs
- ACL.cs
- ArglessEventHandlerProxy.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- PersistenceTypeAttribute.cs