Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / DocumentEventArgs.cs / 1305376 / 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
- CustomAttribute.cs
- VBCodeProvider.cs
- GradientStop.cs
- RemotingAttributes.cs
- PrintSchema.cs
- DeadCharTextComposition.cs
- MobileControl.cs
- ShapingWorkspace.cs
- MethodExpression.cs
- FacetDescriptionElement.cs
- ProcessInfo.cs
- OdbcConnection.cs
- XpsPackagingPolicy.cs
- TypedReference.cs
- TabControlCancelEvent.cs
- CharAnimationUsingKeyFrames.cs
- StringConverter.cs
- FocusManager.cs
- ExtensionQuery.cs
- ContentElementAutomationPeer.cs
- WorkflowElementDialog.cs
- EditableTreeList.cs
- HttpHeaderCollection.cs
- InputLanguageProfileNotifySink.cs
- CompositeFontFamily.cs
- CryptoHelper.cs
- coordinatorscratchpad.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ComPlusContractBehavior.cs
- SettingsPropertyWrongTypeException.cs
- WSUtilitySpecificationVersion.cs
- TaskForm.cs
- PropertyRef.cs
- SoapBinding.cs
- ListViewEditEventArgs.cs
- ContentControl.cs
- GB18030Encoding.cs
- DeclaredTypeValidatorAttribute.cs
- _CacheStreams.cs
- XmlSchemaSubstitutionGroup.cs
- XmlLanguageConverter.cs
- CodeTypeReferenceExpression.cs
- StyleXamlParser.cs
- tabpagecollectioneditor.cs
- ObjectDataSourceDisposingEventArgs.cs
- BinaryUtilClasses.cs
- LassoHelper.cs
- Imaging.cs
- FlowDocumentFormatter.cs
- ToolstripProfessionalRenderer.cs
- WebServiceReceiveDesigner.cs
- DataGridClipboardCellContent.cs
- WebBrowsableAttribute.cs
- CookielessHelper.cs
- DataGridViewSelectedColumnCollection.cs
- Qualifier.cs
- ObjectViewEntityCollectionData.cs
- SystemInfo.cs
- FilterableData.cs
- RowType.cs
- MsmqMessageSerializationFormat.cs
- Duration.cs
- ObjectView.cs
- UriSection.cs
- RIPEMD160Managed.cs
- codemethodreferenceexpression.cs
- GridProviderWrapper.cs
- TextDecorationUnitValidation.cs
- DesignerAttribute.cs
- EntityTypeEmitter.cs
- SQLDecimalStorage.cs
- QfeChecker.cs
- sqlcontext.cs
- LostFocusEventManager.cs
- PointHitTestParameters.cs
- GridView.cs
- ControlBindingsCollection.cs
- DynamicFilterExpression.cs
- TextTreeTextBlock.cs
- TableAdapterManagerMethodGenerator.cs
- XmlSchemaComplexContentExtension.cs
- ConfigurationFileMap.cs
- InvalidPropValue.cs
- DesignerForm.cs
- SystemDropShadowChrome.cs
- ImageSource.cs
- SqlDataSourceCommandParser.cs
- MatrixCamera.cs
- TransformerInfoCollection.cs
- HttpResponseMessageProperty.cs
- RightsManagementPermission.cs
- BinaryParser.cs
- HttpProxyTransportBindingElement.cs
- wmiutil.cs
- DesignerAutoFormat.cs
- ScriptIgnoreAttribute.cs
- ValidationRule.cs
- _DigestClient.cs
- PathFigure.cs
- Char.cs