Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / DocumentEventArgs.cs / 1305376 / 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
- DesignerActionUIService.cs
- SaveFileDialog.cs
- Membership.cs
- AssemblyCacheEntry.cs
- PrintPreviewGraphics.cs
- PropertyTabChangedEvent.cs
- XPathBuilder.cs
- mediaclock.cs
- DBProviderConfigurationHandler.cs
- TraceSection.cs
- Focus.cs
- StreamReader.cs
- OleDbRowUpdatingEvent.cs
- ToolStripPanel.cs
- XslTransform.cs
- BaseDataList.cs
- SmiGettersStream.cs
- SmtpReplyReaderFactory.cs
- EraserBehavior.cs
- ComponentCodeDomSerializer.cs
- ServiceHostingEnvironment.cs
- MissingMemberException.cs
- ImageClickEventArgs.cs
- OverflowException.cs
- ClientTarget.cs
- SwitchAttribute.cs
- TransformBlockRequest.cs
- KeyValueConfigurationElement.cs
- Site.cs
- EditorZone.cs
- ClipboardData.cs
- CacheMemory.cs
- SafeArrayRankMismatchException.cs
- StorageScalarPropertyMapping.cs
- XmlComment.cs
- KeyNotFoundException.cs
- ExpandSegmentCollection.cs
- InvalidCastException.cs
- CodeExporter.cs
- CompareInfo.cs
- SystemColors.cs
- cookiecollection.cs
- MenuTracker.cs
- HtmlImage.cs
- ListSourceHelper.cs
- ActivityScheduledQuery.cs
- PropertyNames.cs
- MatrixUtil.cs
- UniqueIdentifierService.cs
- Cursor.cs
- ContractBase.cs
- SimpleTextLine.cs
- EntityReference.cs
- SolidBrush.cs
- Metadata.cs
- __TransparentProxy.cs
- EntityContainerEmitter.cs
- SqlCommandBuilder.cs
- DbConnectionClosed.cs
- HexParser.cs
- DeflateStream.cs
- OutputCacheSettingsSection.cs
- PropertySegmentSerializer.cs
- BidOverLoads.cs
- AssemblyContextControlItem.cs
- OptimisticConcurrencyException.cs
- EventToken.cs
- HttpException.cs
- TextEndOfLine.cs
- WebEncodingValidator.cs
- ProxyGenerationError.cs
- ScriptingJsonSerializationSection.cs
- PrintEvent.cs
- ToolStripComboBox.cs
- SQLDecimalStorage.cs
- DateTimeParse.cs
- ImportFileRequest.cs
- QilGeneratorEnv.cs
- Activity.cs
- TemplateBuilder.cs
- PeerCollaborationPermission.cs
- CapiSafeHandles.cs
- XPathSelfQuery.cs
- TrustManagerPromptUI.cs
- SortedList.cs
- TransportSecurityBindingElement.cs
- Rijndael.cs
- EventRecord.cs
- BufferModesCollection.cs
- MailAddressCollection.cs
- ISFTagAndGuidCache.cs
- HtmlControlPersistable.cs
- ResXFileRef.cs
- SimpleTextLine.cs
- MimeFormImporter.cs
- SqlMetaData.cs
- Simplifier.cs
- ReaderWriterLockWrapper.cs
- Binding.cs
- Debugger.cs