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
- Point3DIndependentAnimationStorage.cs
- HtmlContainerControl.cs
- typedescriptorpermissionattribute.cs
- HtmlEmptyTagControlBuilder.cs
- XmlElementAttributes.cs
- CodeLabeledStatement.cs
- SSmlParser.cs
- SafeArrayTypeMismatchException.cs
- EdmEntityTypeAttribute.cs
- StorageSetMapping.cs
- ContentDisposition.cs
- HelpKeywordAttribute.cs
- SelectionItemProviderWrapper.cs
- WebConvert.cs
- RelationshipWrapper.cs
- Certificate.cs
- Accessible.cs
- KnownBoxes.cs
- ModelFunction.cs
- UserControlBuildProvider.cs
- CanonicalFontFamilyReference.cs
- FontNamesConverter.cs
- dtdvalidator.cs
- Variable.cs
- TextDecoration.cs
- StreamProxy.cs
- TemplateBindingExpressionConverter.cs
- validationstate.cs
- CreateRefExpr.cs
- GridViewHeaderRowPresenter.cs
- Thickness.cs
- TextBox.cs
- BasicExpandProvider.cs
- CommonProperties.cs
- NullableFloatSumAggregationOperator.cs
- SafeViewOfFileHandle.cs
- HyperLinkColumn.cs
- InlineObject.cs
- RectAnimation.cs
- EnumValAlphaComparer.cs
- PropertyCondition.cs
- NavigationProgressEventArgs.cs
- SocketElement.cs
- OleAutBinder.cs
- HtmlTable.cs
- WizardStepBase.cs
- DataGridViewBindingCompleteEventArgs.cs
- WebServiceErrorEvent.cs
- SelectorAutomationPeer.cs
- Base64Stream.cs
- TableMethodGenerator.cs
- SqlInternalConnectionSmi.cs
- DesignerCommandSet.cs
- CodeSnippetStatement.cs
- StylusDevice.cs
- PathFigure.cs
- processwaithandle.cs
- XmlNamespaceDeclarationsAttribute.cs
- RectangleGeometry.cs
- GroupBoxRenderer.cs
- MarshalByRefObject.cs
- ModifierKeysConverter.cs
- XmlDataProvider.cs
- SmtpAuthenticationManager.cs
- Clipboard.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- IsolatedStorageFilePermission.cs
- ExclusiveCanonicalizationTransform.cs
- MSAANativeProvider.cs
- XmlDictionaryReader.cs
- DataGridViewSortCompareEventArgs.cs
- HtmlTableRowCollection.cs
- FactoryMaker.cs
- AspCompat.cs
- CommandPlan.cs
- ScriptResourceInfo.cs
- NavigationPropertySingletonExpression.cs
- LineServicesCallbacks.cs
- ToolboxDataAttribute.cs
- CommonRemoteMemoryBlock.cs
- TypeDescriptor.cs
- NonSerializedAttribute.cs
- HtmlShimManager.cs
- XmlSchemaNotation.cs
- XmlSchemaValidationException.cs
- ProcessModule.cs
- ScopedKnownTypes.cs
- ProfileSettings.cs
- TextServicesCompartment.cs
- ObjectKeyFrameCollection.cs
- PersistenceTypeAttribute.cs
- RotateTransform.cs
- FacetValues.cs
- ExtendedPropertyCollection.cs
- LogRestartAreaEnumerator.cs
- MulticastNotSupportedException.cs
- PeerName.cs
- WebConfigurationHostFileChange.cs
- ColumnReorderedEventArgs.cs
- PathNode.cs