Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ComponentModel / COM2Interop / COM2ExtendedBrowsingHandler.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExtentCqlBlock.cs
- SamlSubject.cs
- ListViewTableCell.cs
- VerificationAttribute.cs
- SQLBytes.cs
- ToolStripSeparator.cs
- SqlDuplicator.cs
- SEHException.cs
- XMLSchema.cs
- CodeTypeDeclarationCollection.cs
- TabPanel.cs
- OleDbDataReader.cs
- DivideByZeroException.cs
- TextLine.cs
- FlowDocumentFormatter.cs
- TransformConverter.cs
- CodePageUtils.cs
- PartialCachingControl.cs
- PolicyStatement.cs
- DeflateEmulationStream.cs
- WebConfigurationManager.cs
- TableDetailsRow.cs
- sqlnorm.cs
- Thumb.cs
- JoinCqlBlock.cs
- HtmlLink.cs
- StreamUpdate.cs
- TCEAdapterGenerator.cs
- CodeBinaryOperatorExpression.cs
- WorkflowItemsPresenter.cs
- FactoryMaker.cs
- BoundingRectTracker.cs
- DynamicILGenerator.cs
- ExpressionList.cs
- DefaultShape.cs
- TabControlEvent.cs
- DesignerActionService.cs
- ListSortDescriptionCollection.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- ClassValidator.cs
- CodeTypeReferenceSerializer.cs
- AutomationEventArgs.cs
- ProxyElement.cs
- ObjectListCommandCollection.cs
- SQLByteStorage.cs
- NavigationProperty.cs
- Peer.cs
- QueryStringParameter.cs
- MethodBody.cs
- LinkClickEvent.cs
- CommandDevice.cs
- PreviewKeyDownEventArgs.cs
- AddInServer.cs
- ReadOnlyAttribute.cs
- _DomainName.cs
- SubpageParagraph.cs
- PreloadHost.cs
- CustomTypeDescriptor.cs
- BinaryFormatterWriter.cs
- CannotUnloadAppDomainException.cs
- XmlSchemaExternal.cs
- LicenseContext.cs
- InkCanvasSelectionAdorner.cs
- TemplateApplicationHelper.cs
- GridProviderWrapper.cs
- WindowsListViewGroup.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- QilNode.cs
- SqlRowUpdatingEvent.cs
- ExpressionNode.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- Monitor.cs
- SettingsSavedEventArgs.cs
- DataGridViewRowStateChangedEventArgs.cs
- ServicePointManagerElement.cs
- TextRunCacheImp.cs
- DbExpressionBuilder.cs
- VisualStyleRenderer.cs
- CollectionEditorDialog.cs
- EntityDataSourceChangedEventArgs.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- MessageBox.cs
- ExtensibleSyndicationObject.cs
- Identity.cs
- FixedBufferAttribute.cs
- DateTimeFormatInfoScanner.cs
- PopupEventArgs.cs
- AdRotator.cs
- Camera.cs
- DataServiceRequestArgs.cs
- ExpressionPrinter.cs
- OdbcConnectionStringbuilder.cs
- FrameworkContextData.cs
- ISFClipboardData.cs
- RootBrowserWindow.cs
- ProjectionPathSegment.cs
- StreamReader.cs
- Registry.cs
- AnnouncementSendsAsyncResult.cs
- DrawingCollection.cs