Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MessageBox.cs
- OracleBoolean.cs
- DataObjectMethodAttribute.cs
- StylusEditingBehavior.cs
- SimpleHandlerBuildProvider.cs
- ListBindingConverter.cs
- PointLightBase.cs
- MarkupObject.cs
- DataGridViewCellStyleBuilderDialog.cs
- InstanceBehavior.cs
- PeerNearMe.cs
- TableLayoutRowStyleCollection.cs
- ListViewItem.cs
- MouseGestureConverter.cs
- TextDecorationCollection.cs
- DataGridCell.cs
- RadioButtonPopupAdapter.cs
- EmptyEnumerator.cs
- RecognizerInfo.cs
- QuaternionValueSerializer.cs
- __Filters.cs
- ActivationServices.cs
- X509Certificate2.cs
- XmlSchemaComplexType.cs
- MissingManifestResourceException.cs
- Crc32.cs
- SuspendDesigner.cs
- TrustManager.cs
- Decimal.cs
- Point3DCollectionConverter.cs
- CultureInfoConverter.cs
- ISessionStateStore.cs
- MimeAnyImporter.cs
- DbParameterHelper.cs
- DigitShape.cs
- CustomValidator.cs
- LineServices.cs
- UnhandledExceptionEventArgs.cs
- EncryptedReference.cs
- DesignTimeTemplateParser.cs
- PickDesigner.xaml.cs
- UnmanagedMemoryStream.cs
- ReflectEventDescriptor.cs
- SelectionManager.cs
- ScrollProperties.cs
- BitmapDownload.cs
- UITypeEditors.cs
- List.cs
- SqlServer2KCompatibilityCheck.cs
- ChannelListenerBase.cs
- _NativeSSPI.cs
- ExecutionScope.cs
- CapiSymmetricAlgorithm.cs
- SpotLight.cs
- XmlTypeAttribute.cs
- CryptoApi.cs
- ObjectListItemCollection.cs
- ImageList.cs
- ImageListStreamer.cs
- ListViewItemSelectionChangedEvent.cs
- StatusBarItem.cs
- EntityCommand.cs
- MediaSystem.cs
- SecurityDescriptor.cs
- DataGridViewCheckBoxColumn.cs
- XPathNodeHelper.cs
- EnlistmentTraceIdentifier.cs
- ResourceAssociationType.cs
- ClientRoleProvider.cs
- DataControlCommands.cs
- Int32Animation.cs
- SqlConnectionString.cs
- EmptyQuery.cs
- PropertyPushdownHelper.cs
- InProcStateClientManager.cs
- CodeNamespaceImportCollection.cs
- DataBindEngine.cs
- updatecommandorderer.cs
- ListMarkerLine.cs
- PropertyAccessVisitor.cs
- BitmapVisualManager.cs
- RegexCapture.cs
- TableStyle.cs
- CaretElement.cs
- Partitioner.cs
- RuleProcessor.cs
- DtrList.cs
- ServerProtocol.cs
- AnimatedTypeHelpers.cs
- PropertyChangingEventArgs.cs
- GenericWebPart.cs
- DefaultParameterValueAttribute.cs
- ToolStripSeparator.cs
- HttpServerVarsCollection.cs
- ContentIterators.cs
- SqlMetaData.cs
- InternalSendMessage.cs
- DataServiceQueryProvider.cs
- _LoggingObject.cs
- EditorZone.cs