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
- FontDriver.cs
- BamlRecordReader.cs
- DTCTransactionManager.cs
- WebPartEditorOkVerb.cs
- UrlPropertyAttribute.cs
- ComponentManagerBroker.cs
- OdbcReferenceCollection.cs
- AvTraceDetails.cs
- WmlFormAdapter.cs
- ScrollItemProviderWrapper.cs
- ProcessThreadCollection.cs
- PipeConnection.cs
- ValueTable.cs
- DbConnectionStringCommon.cs
- RequiredFieldValidator.cs
- HttpWriter.cs
- XPathSelfQuery.cs
- ObjectSet.cs
- TextBox.cs
- SpecialNameAttribute.cs
- SoapWriter.cs
- FormsIdentity.cs
- Parser.cs
- XmlValueConverter.cs
- CounterCreationDataCollection.cs
- ProcessModuleCollection.cs
- EntityDescriptor.cs
- ModulesEntry.cs
- SamlAuthorityBinding.cs
- JobInputBins.cs
- MLangCodePageEncoding.cs
- SafeRightsManagementEnvironmentHandle.cs
- SqlCommand.cs
- SecondaryViewProvider.cs
- SqlDataSourceDesigner.cs
- InfoCardClaim.cs
- LineServicesRun.cs
- BigIntegerStorage.cs
- ExpressionBindingCollection.cs
- counter.cs
- NetworkInterface.cs
- DirectoryLocalQuery.cs
- TranslateTransform3D.cs
- MinMaxParagraphWidth.cs
- CharEntityEncoderFallback.cs
- SrgsGrammarCompiler.cs
- XmlNamespaceMappingCollection.cs
- ILGenerator.cs
- TextRunProperties.cs
- XmlSchemaExternal.cs
- RbTree.cs
- CodeDomSerializationProvider.cs
- OracleDataReader.cs
- DataAdapter.cs
- ObjectComplexPropertyMapping.cs
- TransformedBitmap.cs
- CodeTypeMember.cs
- SqlConnectionManager.cs
- EDesignUtil.cs
- MenuItemAutomationPeer.cs
- OdbcParameterCollection.cs
- DesignOnlyAttribute.cs
- RemotingConfiguration.cs
- ConnectionPoolManager.cs
- MachineKeyConverter.cs
- Int16Storage.cs
- ColumnWidthChangedEvent.cs
- SwitchElementsCollection.cs
- FileUpload.cs
- EntityDataSourceDesignerHelper.cs
- CodeNamespaceCollection.cs
- UDPClient.cs
- AsyncResult.cs
- LayoutEditorPart.cs
- GlyphInfoList.cs
- TextRangeProviderWrapper.cs
- WebOperationContext.cs
- NameTable.cs
- Message.cs
- EntityTransaction.cs
- DataColumnCollection.cs
- StoragePropertyMapping.cs
- FreezableCollection.cs
- DbModificationClause.cs
- SqlReferenceCollection.cs
- EntityDataSourceQueryBuilder.cs
- WindowsTitleBar.cs
- DocumentProperties.cs
- DbDataRecord.cs
- KeyProperty.cs
- DataGridViewSortCompareEventArgs.cs
- Codec.cs
- BuildProvidersCompiler.cs
- TreeNodeConverter.cs
- DeclaredTypeValidatorAttribute.cs
- MessageHeader.cs
- TextViewDesigner.cs
- MailMessageEventArgs.cs
- RootBuilder.cs
- StateMachineWorkflowDesigner.cs