Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / BaseComponentEditor.cs / 1 / 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
- QilFunction.cs
- WindowVisualStateTracker.cs
- XPathConvert.cs
- ListBindingConverter.cs
- ValidationError.cs
- TreeChangeInfo.cs
- ConversionHelper.cs
- TrustSection.cs
- MessageSecurityOverTcp.cs
- ISFClipboardData.cs
- TrackingConditionCollection.cs
- UIElementCollection.cs
- LinqDataSourceInsertEventArgs.cs
- Matrix3DStack.cs
- RemoveStoryboard.cs
- SchemaConstraints.cs
- ISCIIEncoding.cs
- Rss20ItemFormatter.cs
- Single.cs
- ExpandoObject.cs
- MouseButton.cs
- OrderByBuilder.cs
- VisualBasicSettingsConverter.cs
- AnnotationStore.cs
- LinkLabel.cs
- XmlReflectionMember.cs
- UnsafeNativeMethodsPenimc.cs
- ParenExpr.cs
- StorageAssociationSetMapping.cs
- FontFamilyConverter.cs
- SafeProcessHandle.cs
- Scene3D.cs
- SecurityUtils.cs
- InteropAutomationProvider.cs
- ConvertEvent.cs
- AnchoredBlock.cs
- BinHexEncoder.cs
- RangeBaseAutomationPeer.cs
- PathSegment.cs
- GeneralTransform3DGroup.cs
- CommandLineParser.cs
- ExtendedPropertyDescriptor.cs
- DocumentPropertiesDialog.cs
- NavigationWindowAutomationPeer.cs
- SecurityContext.cs
- Viewport3DAutomationPeer.cs
- LayoutDump.cs
- NameValueConfigurationCollection.cs
- MethodBuilderInstantiation.cs
- CqlErrorHelper.cs
- CodeCatchClause.cs
- ImageListUtils.cs
- FontStyles.cs
- XmlSchemaFacet.cs
- OleDbException.cs
- ByeMessageCD1.cs
- GeneratedCodeAttribute.cs
- ImageAttributes.cs
- BitFlagsGenerator.cs
- ColorTransform.cs
- Win32KeyboardDevice.cs
- ClientUrlResolverWrapper.cs
- CompareValidator.cs
- UrlParameterWriter.cs
- ToolStripButton.cs
- NamespaceMapping.cs
- CompositionTarget.cs
- SoapExtensionReflector.cs
- Mutex.cs
- ValueUtilsSmi.cs
- OperationBehaviorAttribute.cs
- ThreadStateException.cs
- DataPagerField.cs
- basecomparevalidator.cs
- BasePropertyDescriptor.cs
- streamingZipPartStream.cs
- TreeViewEvent.cs
- LoginView.cs
- EdmProviderManifest.cs
- Header.cs
- ConstrainedDataObject.cs
- Style.cs
- CodeChecksumPragma.cs
- WebBrowserNavigatedEventHandler.cs
- InputScopeNameConverter.cs
- EntityContainer.cs
- HTMLTextWriter.cs
- BrushConverter.cs
- IntPtr.cs
- VisemeEventArgs.cs
- GregorianCalendar.cs
- XmlSchemaInferenceException.cs
- PopupRootAutomationPeer.cs
- UriTemplate.cs
- ConfigXmlCDataSection.cs
- FillErrorEventArgs.cs
- MouseWheelEventArgs.cs
- WindowsScrollBarBits.cs
- ArgumentException.cs
- TabletCollection.cs