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
- EnumerableRowCollection.cs
- AttributeInfo.cs
- InputMethod.cs
- IndentTextWriter.cs
- WebConfigurationManager.cs
- EdmError.cs
- EntityCommand.cs
- AppearanceEditorPart.cs
- InheritanceAttribute.cs
- CommandDesigner.cs
- StreamInfo.cs
- FileSystemInfo.cs
- ConnectorDragDropGlyph.cs
- ResourcePart.cs
- RoleService.cs
- UDPClient.cs
- DeclaredTypeValidator.cs
- VectorConverter.cs
- OrderingInfo.cs
- CodeLinePragma.cs
- safelinkcollection.cs
- VariableAction.cs
- KnownBoxes.cs
- Transform3DGroup.cs
- CodeMemberProperty.cs
- UnsafeNativeMethods.cs
- MILUtilities.cs
- MruCache.cs
- ColorPalette.cs
- EventLogPropertySelector.cs
- RuntimeVariablesExpression.cs
- NullableFloatMinMaxAggregationOperator.cs
- StateWorkerRequest.cs
- QilInvokeEarlyBound.cs
- XmlCompatibilityReader.cs
- Misc.cs
- DBCommand.cs
- invalidudtexception.cs
- Style.cs
- XXXOnTypeBuilderInstantiation.cs
- DocumentPageTextView.cs
- DebuggerService.cs
- Point3DAnimation.cs
- WebPartRestoreVerb.cs
- PrincipalPermission.cs
- Point3DKeyFrameCollection.cs
- WmlControlAdapter.cs
- ThreadPool.cs
- ConvertersCollection.cs
- PersistenceProviderBehavior.cs
- StyleModeStack.cs
- JournalNavigationScope.cs
- FormViewModeEventArgs.cs
- FactoryRecord.cs
- GeneralTransform3DGroup.cs
- DesignerActionPropertyItem.cs
- SafeCryptContextHandle.cs
- ApplicationContext.cs
- PaintEvent.cs
- SoapFault.cs
- UrlRoutingModule.cs
- GetMemberBinder.cs
- SoapDocumentMethodAttribute.cs
- CrossContextChannel.cs
- DispatchChannelSink.cs
- SqlPersonalizationProvider.cs
- AdornerLayer.cs
- MetadataPropertyvalue.cs
- BamlRecordReader.cs
- InternalCache.cs
- ObjectToIdCache.cs
- ScrollProperties.cs
- XmlSerializerNamespaces.cs
- HttpCacheParams.cs
- GeneralTransform.cs
- DashStyle.cs
- TextRunProperties.cs
- UnsafeNativeMethods.cs
- BufferedResponseStream.cs
- FrameworkContentElementAutomationPeer.cs
- XmlElementAttribute.cs
- AnnotationHighlightLayer.cs
- NamespaceExpr.cs
- StyleXamlParser.cs
- CommandEventArgs.cs
- SqlReferenceCollection.cs
- WorkflowControlClient.cs
- IteratorDescriptor.cs
- DBBindings.cs
- RestClientProxyHandler.cs
- PageMediaSize.cs
- TrackingWorkflowEventArgs.cs
- CommentEmitter.cs
- SqlReorderer.cs
- BitmapPalette.cs
- HiddenField.cs
- InvokeGenerator.cs
- RegexTree.cs
- TraceContextRecord.cs
- SelectedCellsChangedEventArgs.cs