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
- ContentDefinition.cs
- EditBehavior.cs
- Paragraph.cs
- CodeExporter.cs
- SingleAnimationUsingKeyFrames.cs
- Point3D.cs
- ProxyWebPartManager.cs
- ButtonPopupAdapter.cs
- HttpApplicationFactory.cs
- HttpAsyncResult.cs
- ContourSegment.cs
- URIFormatException.cs
- Lease.cs
- ScriptReferenceEventArgs.cs
- Calendar.cs
- CompleteWizardStep.cs
- IsolatedStorage.cs
- DataGridViewCellMouseEventArgs.cs
- ThemeInfoAttribute.cs
- IsolatedStorageFile.cs
- RequestCachingSection.cs
- WindowsListViewGroupHelper.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- SelectorItemAutomationPeer.cs
- FontInfo.cs
- objectresult_tresulttype.cs
- DeviceContext2.cs
- StrongNamePublicKeyBlob.cs
- _RequestCacheProtocol.cs
- XmlElementCollection.cs
- CodeAttributeDeclarationCollection.cs
- ConfigurationManagerHelper.cs
- SelectorItemAutomationPeer.cs
- ToolTip.cs
- LicFileLicenseProvider.cs
- querybuilder.cs
- PointCollection.cs
- PriorityBinding.cs
- UnsafeNativeMethods.cs
- AppDomainFactory.cs
- FunctionQuery.cs
- PropertyGroupDescription.cs
- AppSettingsExpressionBuilder.cs
- DataGridViewCellCollection.cs
- XmlNotation.cs
- EmptyCollection.cs
- CheckBox.cs
- HtmlElementEventArgs.cs
- CacheForPrimitiveTypes.cs
- CombinedGeometry.cs
- PerformanceCounterPermissionEntryCollection.cs
- VisualStyleRenderer.cs
- exports.cs
- BuilderPropertyEntry.cs
- EndpointNotFoundException.cs
- PlainXmlWriter.cs
- ControlCachePolicy.cs
- Int16Converter.cs
- DropShadowBitmapEffect.cs
- validationstate.cs
- Win32Exception.cs
- dataprotectionpermissionattribute.cs
- ChainedAsyncResult.cs
- DefaultTraceListener.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- DbProviderFactory.cs
- StateDesigner.cs
- AttachmentCollection.cs
- DetailsViewPagerRow.cs
- FramingChannels.cs
- HtmlControl.cs
- X500Name.cs
- DocumentPage.cs
- Rule.cs
- Interlocked.cs
- ShadowGlyph.cs
- ScrollChrome.cs
- CleanUpVirtualizedItemEventArgs.cs
- PublisherMembershipCondition.cs
- UserControlBuildProvider.cs
- FrameworkElement.cs
- regiisutil.cs
- SqlServer2KCompatibilityAnnotation.cs
- SR.cs
- CodeDirectionExpression.cs
- VarRefManager.cs
- WrapPanel.cs
- EditorPartChrome.cs
- DoWorkEventArgs.cs
- GridSplitter.cs
- FileSystemEnumerable.cs
- HTMLTagNameToTypeMapper.cs
- SerializerProvider.cs
- SelectQueryOperator.cs
- FunctionImportMapping.cs
- validation.cs
- MeshGeometry3D.cs
- FactoryGenerator.cs
- InvalidProgramException.cs
- DataSourceExpressionCollection.cs