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
- XsdBuildProvider.cs
- WizardStepBase.cs
- InheritedPropertyDescriptor.cs
- XPathBinder.cs
- CorePropertiesFilter.cs
- mediaclock.cs
- XamlToRtfParser.cs
- ObjectDataSourceSelectingEventArgs.cs
- PublisherMembershipCondition.cs
- XmlElementList.cs
- Light.cs
- CategoryList.cs
- FlowSwitch.cs
- AddingNewEventArgs.cs
- Convert.cs
- Int32.cs
- LightweightCodeGenerator.cs
- ObjectViewEntityCollectionData.cs
- comcontractssection.cs
- SystemIcons.cs
- ComboBox.cs
- XmlWriterSettings.cs
- XmlNode.cs
- RectConverter.cs
- ValueSerializer.cs
- ConnectionStringSettingsCollection.cs
- SqlDataSourceCommandEventArgs.cs
- HiddenFieldPageStatePersister.cs
- StructuralComparisons.cs
- DropShadowBitmapEffect.cs
- SqlDataSourceEnumerator.cs
- DataFormats.cs
- FeatureSupport.cs
- WpfXamlLoader.cs
- EventLogTraceListener.cs
- ModelTreeEnumerator.cs
- CodeParameterDeclarationExpressionCollection.cs
- CatalogZoneBase.cs
- NamespaceQuery.cs
- FixedPageAutomationPeer.cs
- FindSimilarActivitiesVerb.cs
- ThemeInfoAttribute.cs
- SQLByte.cs
- XmlNodeChangedEventArgs.cs
- GradientBrush.cs
- NativeRecognizer.cs
- TagElement.cs
- SafeEventLogReadHandle.cs
- CodeAttributeArgument.cs
- XmlBinaryReader.cs
- figurelength.cs
- ReverseInheritProperty.cs
- ToolStripPanelCell.cs
- LineServicesCallbacks.cs
- MergeExecutor.cs
- LockCookie.cs
- CommunicationObjectAbortedException.cs
- CodeTypeReference.cs
- XmlSchemaSimpleContentExtension.cs
- WebZoneDesigner.cs
- WindowCollection.cs
- HybridObjectCache.cs
- EpmHelper.cs
- Attachment.cs
- KeyTime.cs
- ProgressBarBrushConverter.cs
- TextLineBreak.cs
- OutputCacheModule.cs
- Vector3DAnimation.cs
- PeerChannelListener.cs
- MenuTracker.cs
- CultureInfoConverter.cs
- RawStylusActions.cs
- InvokeProviderWrapper.cs
- Math.cs
- GroupQuery.cs
- ColorAnimationUsingKeyFrames.cs
- FormCollection.cs
- PriorityQueue.cs
- PriorityBindingExpression.cs
- EventLogLink.cs
- List.cs
- TypeDescriptionProvider.cs
- Accessible.cs
- XmlILConstructAnalyzer.cs
- MessagePropertyVariants.cs
- ValidatorCompatibilityHelper.cs
- RbTree.cs
- MessagingDescriptionAttribute.cs
- TreeViewCancelEvent.cs
- AnimatedTypeHelpers.cs
- DataGridViewBindingCompleteEventArgs.cs
- DefaultPrintController.cs
- EventSetterHandlerConverter.cs
- HealthMonitoringSectionHelper.cs
- Variable.cs
- ConfigurationValidatorBase.cs
- PopupControlService.cs
- SqlInternalConnectionSmi.cs
- ShapingWorkspace.cs