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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SimpleTextLine.cs
- FileDetails.cs
- smtpconnection.cs
- DmlSqlGenerator.cs
- ComplexPropertyEntry.cs
- GridItemPattern.cs
- rsa.cs
- CaseInsensitiveOrdinalStringComparer.cs
- RetrieveVirtualItemEventArgs.cs
- XmlSchemas.cs
- WriteableOnDemandStream.cs
- FilterException.cs
- SimpleHandlerBuildProvider.cs
- DataGridViewHitTestInfo.cs
- LowerCaseStringConverter.cs
- EntitySqlException.cs
- ListBoxAutomationPeer.cs
- TableCellCollection.cs
- UrlPropertyAttribute.cs
- CompositeCollectionView.cs
- ObjectConverter.cs
- XmlJsonReader.cs
- SmtpNegotiateAuthenticationModule.cs
- SqlProviderManifest.cs
- DeclarationUpdate.cs
- Condition.cs
- ApplicationProxyInternal.cs
- Adorner.cs
- ByteStreamGeometryContext.cs
- SynchronizedDispatch.cs
- DataRelationCollection.cs
- InsufficientExecutionStackException.cs
- TextRunCache.cs
- HMACMD5.cs
- ToolStripManager.cs
- ButtonBase.cs
- DataErrorValidationRule.cs
- MsmqAppDomainProtocolHandler.cs
- DataSvcMapFile.cs
- DomainUpDown.cs
- WebPartVerbsEventArgs.cs
- EntityCollection.cs
- AspProxy.cs
- Int16Storage.cs
- TraceHandlerErrorFormatter.cs
- EventQueueState.cs
- TypeConverter.cs
- ExceptionUtil.cs
- DocobjHost.cs
- ApplicationCommands.cs
- ValueQuery.cs
- ScriptIgnoreAttribute.cs
- RegexNode.cs
- TextFormatterHost.cs
- ScriptResourceHandler.cs
- ShaperBuffers.cs
- StoreAnnotationsMap.cs
- WindowsTokenRoleProvider.cs
- StringUtil.cs
- ConstraintConverter.cs
- TypedServiceChannelBuilder.cs
- ServiceTimeoutsBehavior.cs
- AxisAngleRotation3D.cs
- WebPartUtil.cs
- WorkflowServiceOperationListItem.cs
- MapPathBasedVirtualPathProvider.cs
- DataGridViewComboBoxCell.cs
- TreeNode.cs
- OleTxTransaction.cs
- DataComponentGenerator.cs
- TdsParserStaticMethods.cs
- DataGridItemEventArgs.cs
- Error.cs
- HttpListenerRequestTraceRecord.cs
- TailPinnedEventArgs.cs
- DocumentViewerConstants.cs
- AnnotationResourceChangedEventArgs.cs
- Utility.cs
- PerformanceCountersElement.cs
- TerminatingOperationBehavior.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- AudioBase.cs
- ZoneMembershipCondition.cs
- GenericIdentity.cs
- SQLMembershipProvider.cs
- XmlNodeChangedEventArgs.cs
- DisposableCollectionWrapper.cs
- TypeForwardedFromAttribute.cs
- PageAsyncTaskManager.cs
- InheritanceService.cs
- UnauthorizedAccessException.cs
- UserPersonalizationStateInfo.cs
- DbConnectionPoolGroup.cs
- BamlTreeMap.cs
- MemoryRecordBuffer.cs
- XmlNodeList.cs
- BufferedWebEventProvider.cs
- AncillaryOps.cs
- PersonalizationStateInfoCollection.cs
- DocumentViewerConstants.cs