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
- FindCriteria11.cs
- ThicknessConverter.cs
- DocumentSchemaValidator.cs
- SharedStatics.cs
- DataGridCommandEventArgs.cs
- HWStack.cs
- ProcessHostMapPath.cs
- ClassDataContract.cs
- MetaModel.cs
- CqlErrorHelper.cs
- QueryOutputWriter.cs
- Logging.cs
- FileLoadException.cs
- EventData.cs
- ActiveXHelper.cs
- KeyValueInternalCollection.cs
- X509Certificate2.cs
- GenericTypeParameterBuilder.cs
- Font.cs
- ObjectComplexPropertyMapping.cs
- BamlLocalizer.cs
- ObjectStorage.cs
- ObjectDisposedException.cs
- SmtpMail.cs
- RSAPKCS1KeyExchangeFormatter.cs
- TableRow.cs
- SystemBrushes.cs
- ExitEventArgs.cs
- _BaseOverlappedAsyncResult.cs
- DataGridViewComboBoxCell.cs
- DataContractAttribute.cs
- DataControlButton.cs
- CredentialSelector.cs
- AVElementHelper.cs
- Classification.cs
- ItemAutomationPeer.cs
- SyndicationPerson.cs
- WebBrowserUriTypeConverter.cs
- XmlNodeWriter.cs
- DbBuffer.cs
- AsymmetricSignatureDeformatter.cs
- HttpListenerPrefixCollection.cs
- DependencyPropertyConverter.cs
- Configuration.cs
- OrthographicCamera.cs
- XmlSerializerSection.cs
- ShaderEffect.cs
- ScrollableControlDesigner.cs
- HtmlTextArea.cs
- PriorityQueue.cs
- ConfigXmlCDataSection.cs
- SafeRightsManagementSessionHandle.cs
- InvocationExpression.cs
- WebServiceFaultDesigner.cs
- BindMarkupExtensionSerializer.cs
- CaseStatementSlot.cs
- FixedSOMTableRow.cs
- AuthorizationSection.cs
- TraceContext.cs
- dtdvalidator.cs
- WorkflowDebuggerSteppingAttribute.cs
- BaseCAMarshaler.cs
- StorageComplexTypeMapping.cs
- TableLayout.cs
- SmiEventStream.cs
- WsdlBuildProvider.cs
- storepermissionattribute.cs
- WebCodeGenerator.cs
- TimeStampChecker.cs
- SystemWebSectionGroup.cs
- SystemDiagnosticsSection.cs
- PackageFilter.cs
- ScrollItemProviderWrapper.cs
- RuleSettings.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ServicePointManager.cs
- Int32AnimationBase.cs
- AstTree.cs
- GridView.cs
- ExceptionUtil.cs
- EditingMode.cs
- SimpleWebHandlerParser.cs
- RegexRunner.cs
- DetectRunnableInstancesTask.cs
- WinInetCache.cs
- DesignOnlyAttribute.cs
- QilVisitor.cs
- DbReferenceCollection.cs
- StreamResourceInfo.cs
- IssuedTokenClientElement.cs
- LoginName.cs
- SchemaObjectWriter.cs
- XmlValidatingReaderImpl.cs
- XmlSerializerVersionAttribute.cs
- RawStylusInputCustomDataList.cs
- JoinGraph.cs
- VirtualDirectoryMapping.cs
- FolderLevelBuildProvider.cs
- ListBoxItem.cs
- XmlDocumentSurrogate.cs