Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ImageInfo.cs
- NotImplementedException.cs
- GridViewUpdateEventArgs.cs
- TextTreeInsertUndoUnit.cs
- ChangePassword.cs
- SpecialFolderEnumConverter.cs
- RowSpanVector.cs
- ChtmlMobileTextWriter.cs
- ReadOnlyTernaryTree.cs
- ActivityWithResult.cs
- BlurBitmapEffect.cs
- StylusDevice.cs
- CustomTrackingQuery.cs
- CapabilitiesUse.cs
- PropertyCollection.cs
- ApplicationHost.cs
- OutputScope.cs
- TableLayoutStyleCollection.cs
- NullableLongSumAggregationOperator.cs
- RubberbandSelector.cs
- DefaultShape.cs
- TouchEventArgs.cs
- LabelExpression.cs
- SignedPkcs7.cs
- DetailsViewUpdateEventArgs.cs
- CacheModeConverter.cs
- DoubleAnimationClockResource.cs
- XmlnsDefinitionAttribute.cs
- AsymmetricSignatureFormatter.cs
- SecurityCookieModeValidator.cs
- ValuePattern.cs
- HttpClientProtocol.cs
- InputLangChangeRequestEvent.cs
- WebServiceAttribute.cs
- DataQuery.cs
- OLEDB_Enum.cs
- CodeExpressionStatement.cs
- Pen.cs
- SoapEnvelopeProcessingElement.cs
- DirectoryInfo.cs
- DetailsViewUpdatedEventArgs.cs
- propertyentry.cs
- ManagementPath.cs
- PackUriHelper.cs
- CustomCategoryAttribute.cs
- DisplayClaim.cs
- CharStorage.cs
- ObjectStateManagerMetadata.cs
- CopyOfAction.cs
- UnmanagedHandle.cs
- AnnotationService.cs
- ConcurrentQueue.cs
- GrammarBuilderPhrase.cs
- CompilerHelpers.cs
- PolicyStatement.cs
- ADRoleFactory.cs
- TableRowGroup.cs
- XmlFormatExtensionAttribute.cs
- Array.cs
- DataProtection.cs
- BamlCollectionHolder.cs
- COM2EnumConverter.cs
- SerialReceived.cs
- TdsParameterSetter.cs
- WizardStepBase.cs
- ResourceContainer.cs
- WindowClosedEventArgs.cs
- EntitySqlQueryCacheKey.cs
- UntrustedRecipientException.cs
- XpsSerializationManager.cs
- IdentityValidationException.cs
- AsyncDataRequest.cs
- ByteStream.cs
- FormsAuthenticationCredentials.cs
- ClientFactory.cs
- HandledMouseEvent.cs
- SamlAuthorizationDecisionClaimResource.cs
- MasterPageCodeDomTreeGenerator.cs
- InputMethodStateTypeInfo.cs
- regiisutil.cs
- DeflateStream.cs
- TraversalRequest.cs
- PreservationFileReader.cs
- ErrorHandlingReceiver.cs
- SingleAnimationUsingKeyFrames.cs
- RuleSettings.cs
- TemplateBuilder.cs
- PageDeviceFont.cs
- KoreanCalendar.cs
- __ConsoleStream.cs
- SqlParameterCollection.cs
- DisableDpiAwarenessAttribute.cs
- XmlSchemaIdentityConstraint.cs
- BroadcastEventHelper.cs
- RuleSettingsCollection.cs
- HttpDictionary.cs
- XsdDateTime.cs
- DragAssistanceManager.cs
- DefaultPrintController.cs
- XsdValidatingReader.cs