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
- ActivityXRefPropertyEditor.cs
- PointCollectionConverter.cs
- SqlWriter.cs
- MapPathBasedVirtualPathProvider.cs
- EventBindingService.cs
- TableCell.cs
- CachedBitmap.cs
- WebConfigurationFileMap.cs
- HwndSource.cs
- HttpListenerPrefixCollection.cs
- FileReader.cs
- FilterQueryOptionExpression.cs
- UIPropertyMetadata.cs
- RadioButtonStandardAdapter.cs
- CaseCqlBlock.cs
- RuleInfoComparer.cs
- InternalConfigConfigurationFactory.cs
- WebPartsSection.cs
- Utils.cs
- SqlAggregateChecker.cs
- BitmapImage.cs
- ReliableReplySessionChannel.cs
- LicFileLicenseProvider.cs
- NodeLabelEditEvent.cs
- PtsContext.cs
- RequestCacheEntry.cs
- SourceElementsCollection.cs
- ComponentRenameEvent.cs
- ObsoleteAttribute.cs
- MediaTimeline.cs
- ZoneLinkButton.cs
- OpenTypeLayoutCache.cs
- CommandValueSerializer.cs
- SchemaNamespaceManager.cs
- CollectionsUtil.cs
- DataGridViewImageColumn.cs
- SqlProviderServices.cs
- WebPartUtil.cs
- Brushes.cs
- GridView.cs
- ScriptRef.cs
- XmlSchemaImport.cs
- SubqueryRules.cs
- DictionaryBase.cs
- ModuleElement.cs
- BulletedListEventArgs.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CheckBoxBaseAdapter.cs
- EntityAdapter.cs
- RadialGradientBrush.cs
- ActivityIdHeader.cs
- CookieProtection.cs
- SerializationInfoEnumerator.cs
- AnimationLayer.cs
- UrlMapping.cs
- TogglePattern.cs
- TypefaceCollection.cs
- CharacterHit.cs
- StringResourceManager.cs
- PanelStyle.cs
- WinFormsUtils.cs
- ExpressionParser.cs
- DocumentationServerProtocol.cs
- BitmapCache.cs
- NetworkAddressChange.cs
- SQLSingleStorage.cs
- SafeNativeMethods.cs
- CachedPathData.cs
- OuterGlowBitmapEffect.cs
- NetworkInterface.cs
- BitmapDownload.cs
- CookieParameter.cs
- FlowSwitchLink.cs
- MemberHolder.cs
- XmlSchemaComplexContentExtension.cs
- DictationGrammar.cs
- SafeNativeMethodsMilCoreApi.cs
- IPAddress.cs
- SqlConnectionString.cs
- ObjectKeyFrameCollection.cs
- TypeNameConverter.cs
- DefaultWorkflowSchedulerService.cs
- Cursor.cs
- EmptyReadOnlyDictionaryInternal.cs
- BaseDataList.cs
- clipboard.cs
- PlainXmlSerializer.cs
- VersionValidator.cs
- SignedPkcs7.cs
- ZoneMembershipCondition.cs
- RewritingPass.cs
- Library.cs
- LogWriteRestartAreaState.cs
- DbConnectionInternal.cs
- HttpProcessUtility.cs
- AccessDataSourceWizardForm.cs
- DateTimePicker.cs
- WebPart.cs
- BaseHashHelper.cs
- infer.cs