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
- RSAPKCS1KeyExchangeDeformatter.cs
- TypeToken.cs
- ValidationErrorCollection.cs
- System.Data_BID.cs
- Int32RectValueSerializer.cs
- DifferencingCollection.cs
- RootAction.cs
- MailWriter.cs
- WebResourceUtil.cs
- SerializerDescriptor.cs
- OleDbWrapper.cs
- MailDefinition.cs
- SqlTopReducer.cs
- PartialCachingControl.cs
- XmlSchemaChoice.cs
- Utility.cs
- InputBindingCollection.cs
- DiscoveryClientRequestChannel.cs
- TemplateBindingExpressionConverter.cs
- ToolTip.cs
- Button.cs
- MultiPartWriter.cs
- CatalogZoneBase.cs
- PersonalizationProviderHelper.cs
- ChangeInterceptorAttribute.cs
- MdiWindowListItemConverter.cs
- WebPartDescriptionCollection.cs
- EntityCommandDefinition.cs
- XamlParser.cs
- ControlCollection.cs
- PermissionAttributes.cs
- IdentityHolder.cs
- BindingListCollectionView.cs
- MutexSecurity.cs
- TypeContext.cs
- ServiceOperation.cs
- NonSerializedAttribute.cs
- WebRequest.cs
- Tokenizer.cs
- GlyphCache.cs
- FrugalMap.cs
- NetworkInformationPermission.cs
- RuntimeConfigLKG.cs
- DataPagerFieldItem.cs
- XmlQueryRuntime.cs
- BitmapEffectDrawing.cs
- HttpHandlerAction.cs
- AccessibleObject.cs
- DateTimeFormatInfo.cs
- DSASignatureDeformatter.cs
- DropDownList.cs
- StorageBasedPackageProperties.cs
- AsyncPostBackErrorEventArgs.cs
- ReadContentAsBinaryHelper.cs
- RegexMatch.cs
- XmlSortKeyAccumulator.cs
- XmlNamespaceMappingCollection.cs
- ParameterDataSourceExpression.cs
- Point.cs
- basevalidator.cs
- DebugView.cs
- LightweightCodeGenerator.cs
- DataGridViewCellEventArgs.cs
- ThicknessAnimation.cs
- MenuScrollingVisibilityConverter.cs
- SHA512Managed.cs
- _BasicClient.cs
- COM2FontConverter.cs
- PageSettings.cs
- SpeechEvent.cs
- StrokeSerializer.cs
- metadatamappinghashervisitor.cs
- ChtmlTextWriter.cs
- DeviceContext2.cs
- ChineseLunisolarCalendar.cs
- CodeMemberField.cs
- SqlConnectionString.cs
- TypeSource.cs
- XmlSchemaSimpleTypeRestriction.cs
- UrlPath.cs
- TextureBrush.cs
- MonitoringDescriptionAttribute.cs
- EncodingInfo.cs
- PageFunction.cs
- SpeakCompletedEventArgs.cs
- MenuItemCollectionEditor.cs
- UsernameTokenFactoryCredential.cs
- Knowncolors.cs
- SemaphoreSecurity.cs
- PolyLineSegment.cs
- ProcessModelSection.cs
- EditorAttribute.cs
- PackagePart.cs
- ServiceManager.cs
- ObjectStateFormatter.cs
- EventProviderWriter.cs
- FragmentNavigationEventArgs.cs
- LineInfo.cs
- SqlDataSourceStatusEventArgs.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs