Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / Design / DocumentEventArgs.cs / 1 / DocumentEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel.Design {
using Microsoft.Win32;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Security.Permissions;
///
/// Provides data for the System.ComponentModel.Design.IDesignerEventService.DesignerEvent
/// event that is generated when a document is created or disposed.
///
[HostProtection(SharedState = true)]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name = "FullTrust")]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")]
public class DesignerEventArgs : EventArgs {
private readonly IDesignerHost host;
///
///
/// Initializes a new instance of the System.ComponentModel.Design.DesignerEventArgs
/// class.
///
///
public DesignerEventArgs(IDesignerHost host) {
this.host = host;
}
///
///
/// Gets or
/// sets the host of the document.
///
///
public IDesignerHost Designer {
get {
return host;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResetableIterator.cs
- __Filters.cs
- SystemThemeKey.cs
- BookmarkOptionsHelper.cs
- SoapTransportImporter.cs
- VariableReference.cs
- Button.cs
- ObsoleteAttribute.cs
- WebBrowserUriTypeConverter.cs
- FileCodeGroup.cs
- Geometry.cs
- TargetParameterCountException.cs
- EntityCodeGenerator.cs
- JsonEnumDataContract.cs
- DocumentGridPage.cs
- LoginName.cs
- LookupNode.cs
- ParameterToken.cs
- TextEditorSelection.cs
- WebMessageEncodingElement.cs
- TextBoxAutoCompleteSourceConverter.cs
- _DisconnectOverlappedAsyncResult.cs
- ButtonChrome.cs
- ScriptIgnoreAttribute.cs
- QueryCursorEventArgs.cs
- URLIdentityPermission.cs
- BamlLocalizabilityResolver.cs
- EventArgs.cs
- SQLMembershipProvider.cs
- StickyNoteHelper.cs
- IndicShape.cs
- ElementProxy.cs
- ChannelSinkStacks.cs
- MultiSelectRootGridEntry.cs
- MailDefinitionBodyFileNameEditor.cs
- SqlGatherConsumedAliases.cs
- BuildProvider.cs
- RemotingServices.cs
- cache.cs
- followingsibling.cs
- StaticSiteMapProvider.cs
- GridItem.cs
- TabControlDesigner.cs
- RsaEndpointIdentity.cs
- QueryActivatableWorkflowsCommand.cs
- DesignTimeDataBinding.cs
- FixedPosition.cs
- ResetableIterator.cs
- OracleConnectionStringBuilder.cs
- XmlObjectSerializerReadContext.cs
- RelationshipWrapper.cs
- StructuredTypeEmitter.cs
- QilXmlWriter.cs
- BitmapMetadataEnumerator.cs
- PointCollectionValueSerializer.cs
- PerformanceCounterTraceRecord.cs
- UnmanagedMemoryStream.cs
- UnmanagedMemoryStream.cs
- DataGridToolTip.cs
- HostVisual.cs
- EntityDescriptor.cs
- XXXOnTypeBuilderInstantiation.cs
- EventItfInfo.cs
- InvalidDataException.cs
- SourceFileInfo.cs
- OleDbTransaction.cs
- UnsafeNativeMethods.cs
- StringPropertyBuilder.cs
- IndentedWriter.cs
- CommandTreeTypeHelper.cs
- RegexMatchCollection.cs
- ResourceDescriptionAttribute.cs
- BeginStoryboard.cs
- SoapObjectInfo.cs
- xmlfixedPageInfo.cs
- MetadataException.cs
- LinqDataSourceUpdateEventArgs.cs
- ContainerVisual.cs
- KoreanLunisolarCalendar.cs
- WebServiceAttribute.cs
- Msec.cs
- SoapWriter.cs
- ToolStripSeparatorRenderEventArgs.cs
- DelimitedListTraceListener.cs
- CommonProperties.cs
- CounterSetInstance.cs
- XmlSchemaCompilationSettings.cs
- DecimalConverter.cs
- ReadOnlyAttribute.cs
- DESCryptoServiceProvider.cs
- DropTarget.cs
- SqlConnection.cs
- Perspective.cs
- PointCollectionConverter.cs
- HttpApplicationStateWrapper.cs
- CustomAttributeBuilder.cs
- SafeFindHandle.cs
- FloaterParaClient.cs
- StyleHelper.cs
- PropertyMap.cs