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
- ImpersonationContext.cs
- NavigationProperty.cs
- FormsIdentity.cs
- CancellationState.cs
- PublisherIdentityPermission.cs
- UnknownWrapper.cs
- oledbmetadatacolumnnames.cs
- DataGridViewHeaderCell.cs
- MetadataArtifactLoaderResource.cs
- OutOfMemoryException.cs
- GridViewHeaderRowPresenter.cs
- VScrollBar.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- CharUnicodeInfo.cs
- XamlToRtfWriter.cs
- Freezable.cs
- ToolBarPanel.cs
- UpdatableGenericsFeature.cs
- RowTypePropertyElement.cs
- Expression.cs
- WebConfigurationHost.cs
- TickBar.cs
- NetworkInformationPermission.cs
- OptimalBreakSession.cs
- DataTableNameHandler.cs
- EditingCommands.cs
- BackgroundFormatInfo.cs
- EdmSchemaError.cs
- DocumentGrid.cs
- ContractListAdapter.cs
- Metadata.cs
- SqlCommand.cs
- BigInt.cs
- WebRequest.cs
- Nodes.cs
- SqlEnums.cs
- BlobPersonalizationState.cs
- XmlQueryCardinality.cs
- EncoderFallback.cs
- SettingsPropertyIsReadOnlyException.cs
- SizeChangedInfo.cs
- OracleLob.cs
- Win32PrintDialog.cs
- IgnoreDeviceFilterElementCollection.cs
- ProviderBase.cs
- WebServiceEnumData.cs
- IsolationInterop.cs
- FtpWebResponse.cs
- _PooledStream.cs
- DataGridViewDesigner.cs
- UserControl.cs
- NonSerializedAttribute.cs
- SuppressMergeCheckAttribute.cs
- SystemInfo.cs
- SettingsPropertyValue.cs
- SqlDependency.cs
- TdsParserSessionPool.cs
- MetricEntry.cs
- TripleDESCryptoServiceProvider.cs
- GeneralTransform3DGroup.cs
- EdmItemCollection.cs
- Label.cs
- ContextMarshalException.cs
- SwitchExpression.cs
- wgx_commands.cs
- CircleHotSpot.cs
- MachineSettingsSection.cs
- UserControlAutomationPeer.cs
- SynchronizationContext.cs
- EventLogPermissionEntry.cs
- DateRangeEvent.cs
- WebBrowserNavigatingEventHandler.cs
- errorpatternmatcher.cs
- cookieexception.cs
- XmlMemberMapping.cs
- CompiledXpathExpr.cs
- Button.cs
- WeakEventManager.cs
- OdbcInfoMessageEvent.cs
- translator.cs
- AnonymousIdentificationSection.cs
- MSG.cs
- LocatorPartList.cs
- SrgsText.cs
- EntityContainerAssociationSet.cs
- ToolboxBitmapAttribute.cs
- PerfCounterSection.cs
- DataObject.cs
- DoWorkEventArgs.cs
- DynamicResourceExtensionConverter.cs
- RepeaterItemCollection.cs
- XsltContext.cs
- EventRoute.cs
- UInt16Storage.cs
- UniqueContractNameValidationBehavior.cs
- ImageSource.cs
- BitmapEffect.cs
- SqlBuffer.cs
- AttachmentService.cs
- RealProxy.cs