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
- WsdlImporter.cs
- PagedControl.cs
- TreeViewAutomationPeer.cs
- CollectionContainer.cs
- MarshalByRefObject.cs
- TypeUtil.cs
- Utils.cs
- InputBuffer.cs
- TreeNodeBinding.cs
- BinaryParser.cs
- NavigationHelper.cs
- CachedPathData.cs
- HotSpotCollection.cs
- X509IssuerSerialKeyIdentifierClause.cs
- NetSectionGroup.cs
- BindingMemberInfo.cs
- DBConnectionString.cs
- MaskedTextBox.cs
- ConsoleTraceListener.cs
- EndEvent.cs
- DataSourceControlBuilder.cs
- TextSelection.cs
- TrackingProfile.cs
- TargetConverter.cs
- QilBinary.cs
- AspProxy.cs
- keycontainerpermission.cs
- XmlObjectSerializerReadContextComplexJson.cs
- IndicShape.cs
- TextLine.cs
- AttributeAction.cs
- ProfileProvider.cs
- NativeMethods.cs
- RoleGroupCollectionEditor.cs
- UnmanagedMemoryStream.cs
- SqlGenerator.cs
- InternalConfigHost.cs
- FontWeightConverter.cs
- StringSource.cs
- Brushes.cs
- CollectionViewProxy.cs
- DataTableTypeConverter.cs
- UrlParameterReader.cs
- Rectangle.cs
- DependencyPropertyValueSerializer.cs
- ParserHooks.cs
- IdentifierCollection.cs
- ResourceReader.cs
- TypeToken.cs
- HtmlProps.cs
- MimeParameters.cs
- DbConnectionFactory.cs
- AstTree.cs
- JsonReader.cs
- BinaryFormatterWriter.cs
- CustomErrorCollection.cs
- FontStyles.cs
- DataColumnMapping.cs
- WorkflowInstanceQuery.cs
- Stackframe.cs
- OdbcDataAdapter.cs
- RijndaelManagedTransform.cs
- PartialCachingAttribute.cs
- DataPager.cs
- DocumentReferenceCollection.cs
- EntityDataSourceValidationException.cs
- SubpageParagraph.cs
- GridViewRowPresenterBase.cs
- GPRECT.cs
- NamedElement.cs
- DisplayInformation.cs
- DriveNotFoundException.cs
- TransformGroup.cs
- ConnectionStringsExpressionBuilder.cs
- SqlInternalConnectionSmi.cs
- ConnectionsZone.cs
- CurrentChangingEventManager.cs
- SqlConnection.cs
- FixedSOMContainer.cs
- XmlSchemaSimpleContentExtension.cs
- ObjectParameter.cs
- UpdateRecord.cs
- remotingproxy.cs
- XmlComplianceUtil.cs
- Aes.cs
- SynchronizationHandlesCodeDomSerializer.cs
- contentDescriptor.cs
- ReadWriteSpinLock.cs
- ListViewGroupConverter.cs
- ValidatedMobileControlConverter.cs
- wgx_commands.cs
- UnauthorizedWebPart.cs
- SqlDataReaderSmi.cs
- GradientSpreadMethodValidation.cs
- XslCompiledTransform.cs
- Identity.cs
- RoleGroupCollection.cs
- TabletDeviceInfo.cs
- ExtentCqlBlock.cs
- ObjectHelper.cs