Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; ////// [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; ///Provides data for the System.ComponentModel.Design.IDesignerEventService.DesignerEvent /// event that is generated when a document is created or disposed. ////// public DesignerEventArgs(IDesignerHost host) { this.host = host; } ////// Initializes a new instance of the System.ComponentModel.Design.DesignerEventArgs /// class. /// ////// public IDesignerHost Designer { get { return host; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or /// sets the host of the document. /// ///// 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; ////// [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; ///Provides data for the System.ComponentModel.Design.IDesignerEventService.DesignerEvent /// event that is generated when a document is created or disposed. ////// public DesignerEventArgs(IDesignerHost host) { this.host = host; } ////// Initializes a new instance of the System.ComponentModel.Design.DesignerEventArgs /// class. /// ////// public IDesignerHost Designer { get { return host; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or /// sets the host of the document. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TemplateControlCodeDomTreeGenerator.cs
- IriParsingElement.cs
- TreeNodeCollectionEditorDialog.cs
- HttpProfileBase.cs
- _NestedSingleAsyncResult.cs
- FindCriteria.cs
- DecoderFallback.cs
- XmlLanguage.cs
- HelloOperation11AsyncResult.cs
- AsyncContentLoadedEventArgs.cs
- RestHandler.cs
- ToolStripLocationCancelEventArgs.cs
- Membership.cs
- Win32.cs
- SignatureToken.cs
- PrincipalPermissionMode.cs
- NCryptNative.cs
- HandlerFactoryCache.cs
- ClientData.cs
- SqlAggregateChecker.cs
- GridViewUpdateEventArgs.cs
- DelayedRegex.cs
- MimePart.cs
- MemberInfoSerializationHolder.cs
- StringHandle.cs
- ErrorWebPart.cs
- BindingManagerDataErrorEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- DecoratedNameAttribute.cs
- AttributeUsageAttribute.cs
- ElementHost.cs
- FixedSOMPage.cs
- ObjectStorage.cs
- HostingPreferredMapPath.cs
- ColumnWidthChangedEvent.cs
- MappableObjectManager.cs
- ThousandthOfEmRealPoints.cs
- ToolStripTextBox.cs
- HandlerMappingMemo.cs
- DefaultEventAttribute.cs
- DetailsViewPageEventArgs.cs
- ExceptionUtil.cs
- DataGridViewEditingControlShowingEventArgs.cs
- EntityDataSource.cs
- ApplicationBuildProvider.cs
- InputMethodStateChangeEventArgs.cs
- EventLogPermissionEntryCollection.cs
- WebCodeGenerator.cs
- WebResourceAttribute.cs
- PenContext.cs
- ADMembershipUser.cs
- MaterialGroup.cs
- DataSetMappper.cs
- DataGridItem.cs
- TypeDescriptionProvider.cs
- ClusterSafeNativeMethods.cs
- WindowsFormsDesignerOptionService.cs
- XmlBinaryReader.cs
- Matrix.cs
- GroupBox.cs
- SchemaElementLookUpTable.cs
- ImageFormat.cs
- Oid.cs
- XmlSiteMapProvider.cs
- HMACRIPEMD160.cs
- Command.cs
- TemplateNodeContextMenu.cs
- OracleConnectionString.cs
- CommandPlan.cs
- ReadOnlyTernaryTree.cs
- namescope.cs
- SafeNativeMethodsMilCoreApi.cs
- FreezableCollection.cs
- ColumnCollection.cs
- BitmapFrameEncode.cs
- LineProperties.cs
- BuildTopDownAttribute.cs
- SafeArchiveContext.cs
- IgnoreSection.cs
- SafeCryptoHandles.cs
- DrawListViewColumnHeaderEventArgs.cs
- TableCellCollection.cs
- EmptyStringExpandableObjectConverter.cs
- SelectedPathEditor.cs
- DataGridViewCellStyleConverter.cs
- SqlBulkCopy.cs
- PropertyEmitter.cs
- DiscreteKeyFrames.cs
- TextParagraphProperties.cs
- TypeInitializationException.cs
- GlyphCollection.cs
- MapPathBasedVirtualPathProvider.cs
- Int32AnimationBase.cs
- CallTemplateAction.cs
- UseAttributeSetsAction.cs
- BamlRecordHelper.cs
- ProfilePropertySettings.cs
- NonBatchDirectoryCompiler.cs
- NativeMethods.cs
- Shared.cs