Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PackageStore.cs
- TriggerAction.cs
- DataServiceBehavior.cs
- OperationAbortedException.cs
- BufferAllocator.cs
- EmptyStringExpandableObjectConverter.cs
- AsymmetricKeyExchangeFormatter.cs
- TCEAdapterGenerator.cs
- BitmapScalingModeValidation.cs
- PointValueSerializer.cs
- SplayTreeNode.cs
- ProxyHelper.cs
- DefaultMemberAttribute.cs
- PerformanceCounter.cs
- SignalGate.cs
- SvcMapFileLoader.cs
- ComPlusTraceRecord.cs
- ManagementObject.cs
- DuplicateWaitObjectException.cs
- SourceFileInfo.cs
- BitmapMetadataEnumerator.cs
- SamlAuthenticationClaimResource.cs
- FileClassifier.cs
- DeferredBinaryDeserializerExtension.cs
- SerialErrors.cs
- XmlObjectSerializerReadContextComplex.cs
- NativeMethods.cs
- AttachedPropertiesService.cs
- _ListenerAsyncResult.cs
- ColumnReorderedEventArgs.cs
- ContextProperty.cs
- _IPv4Address.cs
- TabItemAutomationPeer.cs
- XmlTypeAttribute.cs
- AsyncWaitHandle.cs
- AppDomainUnloadedException.cs
- ConfigurationStrings.cs
- SiteMap.cs
- TaskFileService.cs
- ScrollChangedEventArgs.cs
- HMAC.cs
- FileDialogPermission.cs
- LayoutUtils.cs
- SettingsContext.cs
- Group.cs
- Image.cs
- ToolStripPanelRenderEventArgs.cs
- ContextItem.cs
- Bidi.cs
- LogConverter.cs
- ContentType.cs
- BitmapCache.cs
- ProcessInfo.cs
- CompilerResults.cs
- RtfControls.cs
- FontConverter.cs
- ObjectResult.cs
- FamilyMap.cs
- DesignerTextWriter.cs
- TextureBrush.cs
- CategoryAttribute.cs
- PeerCustomResolverSettings.cs
- OptimisticConcurrencyException.cs
- CodeTryCatchFinallyStatement.cs
- SecurityKeyIdentifierClause.cs
- Tuple.cs
- ThicknessAnimationBase.cs
- OleDbCommand.cs
- AnalyzedTree.cs
- ShapeTypeface.cs
- DiscriminatorMap.cs
- AsymmetricSecurityProtocolFactory.cs
- ColorComboBox.cs
- ItemsChangedEventArgs.cs
- OutgoingWebResponseContext.cs
- ServicePointManagerElement.cs
- SplitterPanelDesigner.cs
- HwndStylusInputProvider.cs
- CurrentChangedEventManager.cs
- PromptStyle.cs
- QilTargetType.cs
- PrintingPermission.cs
- ResizingMessageFilter.cs
- PropertyPushdownHelper.cs
- BypassElement.cs
- EntityDataSourceWrapperCollection.cs
- EventManager.cs
- WebControlToolBoxItem.cs
- CroppedBitmap.cs
- Propagator.ExtentPlaceholderCreator.cs
- GenericUI.cs
- RegisteredDisposeScript.cs
- BridgeDataReader.cs
- ReachUIElementCollectionSerializer.cs
- InvalidDocumentContentsException.cs
- EnumerableCollectionView.cs
- MachineKeyValidationConverter.cs
- RegistryConfigurationProvider.cs
- ExtendedProperty.cs
- ViewManager.cs