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
- Parameter.cs
- GeneralTransform2DTo3D.cs
- _DynamicWinsockMethods.cs
- ProcessThread.cs
- DBDataPermissionAttribute.cs
- CTreeGenerator.cs
- ComAdminInterfaces.cs
- FrameworkRichTextComposition.cs
- ToolStripPanelRow.cs
- ToolStripCodeDomSerializer.cs
- TextParagraphCache.cs
- Hash.cs
- SqlWebEventProvider.cs
- PointCollectionValueSerializer.cs
- Encoder.cs
- BamlStream.cs
- DivideByZeroException.cs
- RowVisual.cs
- PrivilegeNotHeldException.cs
- RouteParameter.cs
- NetStream.cs
- ParameterCollection.cs
- TcpPortSharing.cs
- TransformerTypeCollection.cs
- QilDataSource.cs
- TreeNodeStyleCollection.cs
- DefaultSerializationProviderAttribute.cs
- ModuleBuilderData.cs
- MemberInfoSerializationHolder.cs
- TableLayoutSettings.cs
- HostedElements.cs
- AccessText.cs
- IPPacketInformation.cs
- safex509handles.cs
- iisPickupDirectory.cs
- LockCookie.cs
- AbsoluteQuery.cs
- BoolLiteral.cs
- TypeSystem.cs
- EventLogPermissionEntry.cs
- ConnectionManagementSection.cs
- DirectoryRootQuery.cs
- PerformanceCounterLib.cs
- RegexMatch.cs
- ColorContextHelper.cs
- DataGridViewColumnHeaderCell.cs
- ProcessStartInfo.cs
- AttributeSetAction.cs
- UpdateProgress.cs
- Util.cs
- SplineKeyFrames.cs
- HtmlLiteralTextAdapter.cs
- MarkupCompiler.cs
- DataGridViewRowsAddedEventArgs.cs
- DBCommandBuilder.cs
- BaseComponentEditor.cs
- WebConfigurationManager.cs
- Rotation3DAnimationBase.cs
- DataGridViewElement.cs
- BinaryReader.cs
- XsdCachingReader.cs
- MetadataCollection.cs
- CompModHelpers.cs
- WebPartsPersonalizationAuthorization.cs
- IsolatedStorageFileStream.cs
- HtmlHead.cs
- ImportCatalogPart.cs
- MsmqBindingFilter.cs
- AutoResetEvent.cs
- MouseCaptureWithinProperty.cs
- FlowDocumentReader.cs
- DelegateSerializationHolder.cs
- BinHexEncoder.cs
- TdsParserStateObject.cs
- StateDesigner.Helpers.cs
- VideoDrawing.cs
- SqlCacheDependency.cs
- GregorianCalendarHelper.cs
- FixUpCollection.cs
- DuplexChannel.cs
- Latin1Encoding.cs
- File.cs
- TextElementEditingBehaviorAttribute.cs
- Logging.cs
- SessionSwitchEventArgs.cs
- Matrix.cs
- NonBatchDirectoryCompiler.cs
- CheckBoxList.cs
- DisableDpiAwarenessAttribute.cs
- ZipIOExtraFieldZip64Element.cs
- CommentAction.cs
- InternalControlCollection.cs
- DataSourceView.cs
- GuidConverter.cs
- AuthorizationRule.cs
- SslStreamSecurityUpgradeProvider.cs
- HostingEnvironmentException.cs
- FileSystemEventArgs.cs
- AutomationPatternInfo.cs
- EmptyEnumerable.cs