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
- PolicyLevel.cs
- JsonQNameDataContract.cs
- DesignerToolboxInfo.cs
- OAVariantLib.cs
- SharedDp.cs
- DeadCharTextComposition.cs
- SmiMetaData.cs
- AutomationEvent.cs
- PolygonHotSpot.cs
- TrackBarRenderer.cs
- ResolveNameEventArgs.cs
- BitStack.cs
- List.cs
- EnumBuilder.cs
- TextReader.cs
- SqlMultiplexer.cs
- ValueTable.cs
- MenuCommands.cs
- FrameworkName.cs
- EntityModelBuildProvider.cs
- ListItemParagraph.cs
- XmlCodeExporter.cs
- RulePatternOps.cs
- TableItemStyle.cs
- MemoryRecordBuffer.cs
- ImmComposition.cs
- ConsumerConnectionPoint.cs
- SecUtil.cs
- ConfigurationElementProperty.cs
- MappingModelBuildProvider.cs
- FixedSOMTable.cs
- ListDictionary.cs
- TemplateNodeContextMenu.cs
- CategoryList.cs
- SqlDependencyListener.cs
- PostBackTrigger.cs
- StandardCommands.cs
- complextypematerializer.cs
- ResourceSet.cs
- TextEffectResolver.cs
- MulticastDelegate.cs
- WebPartManager.cs
- MessageDesigner.cs
- BitmapEffect.cs
- EventLogEntryCollection.cs
- HtmlFormWrapper.cs
- SQLGuidStorage.cs
- DashStyle.cs
- CodeStatementCollection.cs
- RoutedEvent.cs
- PageSetupDialog.cs
- ReadContentAsBinaryHelper.cs
- SamlConstants.cs
- WebBrowserProgressChangedEventHandler.cs
- ArrayElementGridEntry.cs
- BufferBuilder.cs
- FontConverter.cs
- OleDbParameter.cs
- KeyedHashAlgorithm.cs
- WebBrowserContainer.cs
- KoreanLunisolarCalendar.cs
- AdjustableArrowCap.cs
- XmlArrayItemAttributes.cs
- RangeValuePatternIdentifiers.cs
- Vector3DIndependentAnimationStorage.cs
- NavigationExpr.cs
- TransportDefaults.cs
- RecommendedAsConfigurableAttribute.cs
- TableDetailsRow.cs
- SelectionPattern.cs
- NetworkStream.cs
- TransactionBridgeSection.cs
- SessionEndingEventArgs.cs
- SqlPersonalizationProvider.cs
- cache.cs
- LocatorPartList.cs
- DSACryptoServiceProvider.cs
- DataList.cs
- Renderer.cs
- RuntimeCompatibilityAttribute.cs
- TimeSpanStorage.cs
- ProgressBarRenderer.cs
- AssemblyUtil.cs
- ByteAnimationUsingKeyFrames.cs
- SharedDp.cs
- UIPermission.cs
- Gdiplus.cs
- Roles.cs
- HostVisual.cs
- SHA1.cs
- Graphics.cs
- WebBaseEventKeyComparer.cs
- SafeIUnknown.cs
- TdsValueSetter.cs
- regiisutil.cs
- XmlSchemaSimpleContentExtension.cs
- ApplicationServiceManager.cs
- XmlNode.cs
- DataGridViewColumnEventArgs.cs
- _RequestCacheProtocol.cs