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
- XPathNodeHelper.cs
- TcpHostedTransportConfiguration.cs
- _PooledStream.cs
- MemoryPressure.cs
- coordinatorscratchpad.cs
- AdapterUtil.cs
- FontWeights.cs
- CustomValidator.cs
- XmlSerializer.cs
- BufferAllocator.cs
- PartialTrustVisibleAssembly.cs
- HttpDictionary.cs
- UrlEncodedParameterWriter.cs
- ThreadSafeList.cs
- JsonEnumDataContract.cs
- MatrixAnimationBase.cs
- ComplexType.cs
- MissingMemberException.cs
- ConstructorNeedsTagAttribute.cs
- LayoutSettings.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- GuidConverter.cs
- JsonXmlDataContract.cs
- Typeface.cs
- OrthographicCamera.cs
- Help.cs
- InputMethod.cs
- LinqDataSourceContextEventArgs.cs
- DataView.cs
- EventProviderWriter.cs
- JumpPath.cs
- XhtmlConformanceSection.cs
- InputChannelAcceptor.cs
- CommentEmitter.cs
- BindingWorker.cs
- ScriptControlDescriptor.cs
- MemberInfoSerializationHolder.cs
- AssemblyAttributes.cs
- TypeSemantics.cs
- Paragraph.cs
- RelationshipManager.cs
- IPAddress.cs
- TypeSemantics.cs
- Code.cs
- MessageBox.cs
- AcceleratedTokenProviderState.cs
- Decimal.cs
- ColorTransformHelper.cs
- XamlReader.cs
- DataObjectFieldAttribute.cs
- DbConnectionHelper.cs
- AuthenticationConfig.cs
- ZipIOExtraFieldZip64Element.cs
- InstanceLockedException.cs
- HyperLinkColumn.cs
- DiagnosticTraceSchemas.cs
- BindingCompleteEventArgs.cs
- BufferedStream.cs
- FileChangesMonitor.cs
- SecurityContext.cs
- DataGridCell.cs
- DataFieldConverter.cs
- SpStreamWrapper.cs
- RegexEditorDialog.cs
- XmlMemberMapping.cs
- WindowsSolidBrush.cs
- IteratorDescriptor.cs
- XmlSerializer.cs
- XmlSchemaSequence.cs
- Variable.cs
- OpCellTreeNode.cs
- ComponentRenameEvent.cs
- OutputWindow.cs
- SmtpLoginAuthenticationModule.cs
- AliasedExpr.cs
- PointLightBase.cs
- ListQueryResults.cs
- FormsAuthenticationEventArgs.cs
- TrackingServices.cs
- Int32EqualityComparer.cs
- CodeConstructor.cs
- ReflectionTypeLoadException.cs
- MemoryRecordBuffer.cs
- WebColorConverter.cs
- SendKeys.cs
- MemoryStream.cs
- InstanceCompleteException.cs
- WebRequest.cs
- nulltextnavigator.cs
- StorageMappingItemCollection.cs
- Effect.cs
- Point3D.cs
- WebReferencesBuildProvider.cs
- TypeAccessException.cs
- PeerNameResolver.cs
- Timer.cs
- SerialErrors.cs
- SourceInterpreter.cs
- PagedDataSource.cs
- AppDomainInstanceProvider.cs