Code:
                         / 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / BaseComponentEditor.cs / 1305376 / BaseComponentEditor.cs
                        
                        
                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
//  
//----------------------------------------------------------------------------- 
/* 
 */ 
namespace System.ComponentModel {
    using System; 
    using System.Diagnostics;
    using System.Security.Permissions;
    ///  
    ///     Provides the base class for a custom component
    ///       editor.  
    ///   
    [HostProtection(SharedState = true)]
    public abstract class ComponentEditor 
    {
        /// 
        ///    Gets a value indicating whether the component was modified.  
        ///  
        public bool EditComponent(object component) { 
            return EditComponent(null, component); 
        }
 
        /// 
        ///    Gets a value indicating whether the component was modified. 
        ///  
        public abstract bool EditComponent(ITypeDescriptorContext context, object component); 
    }
} 
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
//  
//----------------------------------------------------------------------------- 
/* 
 */ 
namespace System.ComponentModel {
    using System; 
    using System.Diagnostics;
    using System.Security.Permissions;
    ///  
    ///     Provides the base class for a custom component
    ///       editor.  
    ///   
    [HostProtection(SharedState = true)]
    public abstract class ComponentEditor 
    {
        /// 
        ///    Gets a value indicating whether the component was modified.  
        ///  
        public bool EditComponent(object component) { 
            return EditComponent(null, component); 
        }
 
        /// 
        ///    Gets a value indicating whether the component was modified. 
        ///  
        public abstract bool EditComponent(ITypeDescriptorContext context, object component); 
    }
} 
// 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
- DbDataSourceEnumerator.cs
 - CodeNamespaceCollection.cs
 - ClickablePoint.cs
 - HostingEnvironmentSection.cs
 - XmlNullResolver.cs
 - ExpandSegmentCollection.cs
 - WindowsEditBox.cs
 - relpropertyhelper.cs
 - EventQueueState.cs
 - FileAccessException.cs
 - ListItemsPage.cs
 - GetWinFXPath.cs
 - PropertyGridCommands.cs
 - SvcMapFileSerializer.cs
 - XmlValidatingReader.cs
 - DrawListViewSubItemEventArgs.cs
 - CodeNamespaceCollection.cs
 - FormViewUpdatedEventArgs.cs
 - Stylesheet.cs
 - ExtenderProvidedPropertyAttribute.cs
 - Visitors.cs
 - Activator.cs
 - IdleTimeoutMonitor.cs
 - Screen.cs
 - Component.cs
 - QuaternionAnimation.cs
 - ToolStripDropDownMenu.cs
 - StringFreezingAttribute.cs
 - ChangeProcessor.cs
 - ToolStripScrollButton.cs
 - DatagridviewDisplayedBandsData.cs
 - HelpKeywordAttribute.cs
 - DynamicQueryableWrapper.cs
 - EmptyReadOnlyDictionaryInternal.cs
 - ExpressionBindingCollection.cs
 - SoapSchemaExporter.cs
 - DependencyObjectProvider.cs
 - Util.cs
 - ObsoleteAttribute.cs
 - listviewsubitemcollectioneditor.cs
 - Literal.cs
 - TextEditorMouse.cs
 - SchemaTableColumn.cs
 - InvokeWebServiceDesigner.cs
 - RequestBringIntoViewEventArgs.cs
 - DifferencingCollection.cs
 - BitmapEffectGroup.cs
 - GridItem.cs
 - DrawingCollection.cs
 - XmlResolver.cs
 - FixedSOMLineRanges.cs
 - XmlSchemaSimpleContentRestriction.cs
 - ParentQuery.cs
 - StylusEditingBehavior.cs
 - CultureMapper.cs
 - DoubleAnimationUsingPath.cs
 - XdrBuilder.cs
 - CryptoApi.cs
 - XPathItem.cs
 - ScriptControlDescriptor.cs
 - SrgsItemList.cs
 - Viewport3DVisual.cs
 - UnsafeNativeMethods.cs
 - ProviderCollection.cs
 - CodeObjectCreateExpression.cs
 - CutCopyPasteHelper.cs
 - CodeDOMUtility.cs
 - PackagingUtilities.cs
 - ScriptReferenceBase.cs
 - ProviderConnectionPoint.cs
 - CacheHelper.cs
 - SqlCacheDependencySection.cs
 - RelationshipEndCollection.cs
 - DependencyPropertyConverter.cs
 - CodeFieldReferenceExpression.cs
 - WebBrowserNavigatingEventHandler.cs
 - SiteMapNode.cs
 - RequestUriProcessor.cs
 - TextRange.cs
 - ProxyWebPart.cs
 - ValueTypeFixupInfo.cs
 - TransformConverter.cs
 - Model3DGroup.cs
 - PrintDialogException.cs
 - _NTAuthentication.cs
 - Html32TextWriter.cs
 - XamlHttpHandlerFactory.cs
 - AttachedPropertyInfo.cs
 - PaginationProgressEventArgs.cs
 - SparseMemoryStream.cs
 - XmlDocumentFieldSchema.cs
 - ObjectTypeMapping.cs
 - BindingElementCollection.cs
 - Variant.cs
 - ChtmlPhoneCallAdapter.cs
 - ProxyFragment.cs
 - ClientBuildManager.cs
 - VirtualPath.cs
 - ContentPosition.cs
 - RightNameExpirationInfoPair.cs