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
- TimeSpanSecondsOrInfiniteConverter.cs
- HandledEventArgs.cs
- PersonalizationEntry.cs
- AssemblyBuilder.cs
- Canvas.cs
- ToolStripArrowRenderEventArgs.cs
- DocumentSequenceHighlightLayer.cs
- TriggerAction.cs
- Brush.cs
- FrameworkElementAutomationPeer.cs
- BasicHttpMessageCredentialType.cs
- QueryOpcode.cs
- UnescapedXmlDiagnosticData.cs
- HostingPreferredMapPath.cs
- RequestUriProcessor.cs
- QilPatternVisitor.cs
- SystemGatewayIPAddressInformation.cs
- SqlBinder.cs
- RelationshipEnd.cs
- OleDbMetaDataFactory.cs
- Win32Exception.cs
- SchemaTypeEmitter.cs
- ViewStateModeByIdAttribute.cs
- ExtendedPropertyDescriptor.cs
- VerticalAlignConverter.cs
- DataObjectFieldAttribute.cs
- DocumentPageViewAutomationPeer.cs
- DefaultValueTypeConverter.cs
- NavigatorInput.cs
- XmlSchemaInferenceException.cs
- InputBinding.cs
- Font.cs
- TypeSource.cs
- MiniAssembly.cs
- LightweightEntityWrapper.cs
- FileLogRecord.cs
- ScrollProperties.cs
- HttpCookiesSection.cs
- Decoder.cs
- ObjectItemNoOpAssemblyLoader.cs
- Int16KeyFrameCollection.cs
- DataGridViewCellParsingEventArgs.cs
- xml.cs
- ProjectionNode.cs
- MostlySingletonList.cs
- contentDescriptor.cs
- PerformanceCounterCategory.cs
- CommandBindingCollection.cs
- TextBlockAutomationPeer.cs
- AssemblyResourceLoader.cs
- SQLMoneyStorage.cs
- XmlDocumentType.cs
- ShutDownListener.cs
- ComponentFactoryHelpers.cs
- WindowsListViewScroll.cs
- XmlSchemaAnnotation.cs
- AuthStoreRoleProvider.cs
- SvcMapFileSerializer.cs
- RadioButton.cs
- DataGridViewComboBoxCell.cs
- NativeMethods.cs
- EventSourceCreationData.cs
- ICollection.cs
- SerialPinChanges.cs
- IERequestCache.cs
- RemotingService.cs
- GridItemPattern.cs
- TextContainerChangedEventArgs.cs
- DataColumnPropertyDescriptor.cs
- StreamingContext.cs
- OrCondition.cs
- MultiViewDesigner.cs
- SystemUnicastIPAddressInformation.cs
- InvalidWMPVersionException.cs
- precedingsibling.cs
- FontFamilyValueSerializer.cs
- DataGridTextBox.cs
- TextRangeSerialization.cs
- XmlCDATASection.cs
- AxParameterData.cs
- BitmapCache.cs
- CngProvider.cs
- WebPartPersonalization.cs
- ReturnType.cs
- ResourceReferenceExpression.cs
- AttributeTableBuilder.cs
- iisPickupDirectory.cs
- DesignerActionHeaderItem.cs
- HtmlInputSubmit.cs
- UrlEncodedParameterWriter.cs
- DataIdProcessor.cs
- OleDbStruct.cs
- DoubleLinkList.cs
- ScrollableControl.cs
- DbSourceCommand.cs
- AttributeUsageAttribute.cs
- ComponentResourceKeyConverter.cs
- IndentedWriter.cs
- Encoding.cs
- DataControlFieldCollection.cs