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
- Tile.cs
- SelectionRange.cs
- DataPagerFieldItem.cs
- coordinator.cs
- WebPartEditorOkVerb.cs
- ProfileSettings.cs
- _LocalDataStore.cs
- OutOfProcStateClientManager.cs
- MsmqBindingFilter.cs
- HtmlTable.cs
- SelectorAutomationPeer.cs
- PackageStore.cs
- PasswordDeriveBytes.cs
- InputMethodStateTypeInfo.cs
- TimestampInformation.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- HttpClientProtocol.cs
- SigningDialog.cs
- ClientTarget.cs
- MLangCodePageEncoding.cs
- Closure.cs
- PageAsyncTask.cs
- InternalBase.cs
- RbTree.cs
- RequestCachePolicyConverter.cs
- DataRelation.cs
- PerfService.cs
- RowSpanVector.cs
- XmlResolver.cs
- WSHttpBindingBaseElement.cs
- StringUtil.cs
- StaticResourceExtension.cs
- ReliabilityContractAttribute.cs
- CodeChecksumPragma.cs
- NamedElement.cs
- __ConsoleStream.cs
- AQNBuilder.cs
- RoutedUICommand.cs
- Quaternion.cs
- ActivityExecutorOperation.cs
- contentDescriptor.cs
- SqlPersonalizationProvider.cs
- ContextMenuStripGroupCollection.cs
- UnhandledExceptionEventArgs.cs
- EntityCommandExecutionException.cs
- TreeViewImageIndexConverter.cs
- AddressHeader.cs
- SelectQueryOperator.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- FolderBrowserDialogDesigner.cs
- ManipulationVelocities.cs
- ServiceModelEnumValidator.cs
- HtmlProps.cs
- TraceSection.cs
- DataExpression.cs
- RadioButtonStandardAdapter.cs
- Int16KeyFrameCollection.cs
- DPTypeDescriptorContext.cs
- TranslateTransform3D.cs
- LogReserveAndAppendState.cs
- FontCollection.cs
- ConstructorBuilder.cs
- TransportChannelListener.cs
- AdPostCacheSubstitution.cs
- TextEditorLists.cs
- XmlResolver.cs
- WaveHeader.cs
- ExceptionRoutedEventArgs.cs
- Listbox.cs
- AsyncOperation.cs
- XmlTextReaderImpl.cs
- MorphHelper.cs
- PostBackTrigger.cs
- InvokePattern.cs
- ReceiveSecurityHeader.cs
- UnorderedHashRepartitionStream.cs
- XPathParser.cs
- DataGridAutoFormatDialog.cs
- CodeActivityContext.cs
- UpdateCommand.cs
- CipherData.cs
- InvalidContentTypeException.cs
- IncrementalReadDecoders.cs
- HttpWebRequest.cs
- ApplicationSecurityManager.cs
- PanelStyle.cs
- UnSafeCharBuffer.cs
- ContainerFilterService.cs
- TextChange.cs
- SafeLocalMemHandle.cs
- CatalogPartCollection.cs
- PeerDuplexChannelListener.cs
- HttpCacheParams.cs
- Action.cs
- Size.cs
- followingsibling.cs
- QilXmlReader.cs
- URIFormatException.cs
- GeometryModel3D.cs
- XMLUtil.cs