Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AbsoluteQuery.cs
- ReflectionUtil.cs
- SqlInternalConnectionSmi.cs
- SqlCommandSet.cs
- StringArrayConverter.cs
- PasswordBoxAutomationPeer.cs
- BuildProviderCollection.cs
- StreamInfo.cs
- SafeViewOfFileHandle.cs
- SvcMapFileLoader.cs
- CommonObjectSecurity.cs
- BulletedList.cs
- BindStream.cs
- JsonMessageEncoderFactory.cs
- ConsoleTraceListener.cs
- MsmqHostedTransportManager.cs
- DataFormats.cs
- ModelProperty.cs
- DataGridViewHeaderCell.cs
- ImageButton.cs
- CryptoConfig.cs
- TableParaClient.cs
- BamlTreeNode.cs
- EntityViewGenerator.cs
- CodeChecksumPragma.cs
- Point3DKeyFrameCollection.cs
- Constant.cs
- ResourceManager.cs
- SecurityCriticalDataForSet.cs
- SettingsPropertyValue.cs
- FixedSOMFixedBlock.cs
- VisualStyleInformation.cs
- MemoryRecordBuffer.cs
- ListenerConfig.cs
- Publisher.cs
- LocatorManager.cs
- TargetConverter.cs
- EffectiveValueEntry.cs
- ConfigurationLockCollection.cs
- PointConverter.cs
- ToolboxComponentsCreatingEventArgs.cs
- UpWmlMobileTextWriter.cs
- StrokeNodeOperations.cs
- LinkedDataMemberFieldEditor.cs
- PageCatalogPart.cs
- PeerNearMe.cs
- QualifierSet.cs
- SqlOuterApplyReducer.cs
- AdornerHitTestResult.cs
- Graph.cs
- TemplatePartAttribute.cs
- WrapPanel.cs
- BamlTreeMap.cs
- TextRangeAdaptor.cs
- ProjectionPlanCompiler.cs
- StatusBarItem.cs
- SoapSchemaImporter.cs
- WinFormsSecurity.cs
- SqlGatherProducedAliases.cs
- ManipulationVelocities.cs
- ReadOnlyPropertyMetadata.cs
- RegisteredDisposeScript.cs
- shaperfactoryquerycacheentry.cs
- SqlDependency.cs
- VBIdentifierDesigner.xaml.cs
- Wildcard.cs
- RootDesignerSerializerAttribute.cs
- LinkDescriptor.cs
- EntitySet.cs
- CredentialCache.cs
- DataPagerField.cs
- InfoCardTraceRecord.cs
- SmiRequestExecutor.cs
- MetadataFile.cs
- RemotingHelper.cs
- AnimationLayer.cs
- EventData.cs
- SerializationStore.cs
- OptionUsage.cs
- ContentFilePart.cs
- XmlSiteMapProvider.cs
- MouseWheelEventArgs.cs
- Activator.cs
- FaultHandlingFilter.cs
- ClientSettingsSection.cs
- CategoriesDocumentFormatter.cs
- AxImporter.cs
- LineSegment.cs
- TableStyle.cs
- MetadataSet.cs
- AnimatedTypeHelpers.cs
- CaseInsensitiveComparer.cs
- ErrorWrapper.cs
- ToolStripSplitStackLayout.cs
- CopyNamespacesAction.cs
- WindowAutomationPeer.cs
- TraceContext.cs
- ClrPerspective.cs
- UTF8Encoding.cs
- TdsParser.cs