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
- BitmapEffectInputConnector.cs
- ConnectionsZone.cs
- StyleXamlParser.cs
- ExpressionVisitorHelpers.cs
- HandoffBehavior.cs
- DescendantQuery.cs
- DataControlFieldCollection.cs
- XhtmlBasicCalendarAdapter.cs
- processwaithandle.cs
- HostedElements.cs
- OLEDB_Util.cs
- WrapPanel.cs
- ComponentCommands.cs
- TextAdaptor.cs
- InteropAutomationProvider.cs
- Point3D.cs
- TdsParserSafeHandles.cs
- ChtmlPhoneCallAdapter.cs
- DbModificationCommandTree.cs
- ChildTable.cs
- ArrayTypeMismatchException.cs
- Int64.cs
- CurrencyWrapper.cs
- UserValidatedEventArgs.cs
- NavigationCommands.cs
- ZipFileInfo.cs
- ClientRuntimeConfig.cs
- BCLDebug.cs
- TextViewBase.cs
- documentsequencetextview.cs
- StringResourceManager.cs
- MediaTimeline.cs
- InputBindingCollection.cs
- TextTreeDeleteContentUndoUnit.cs
- DynamicContractTypeBuilder.cs
- DataListItemEventArgs.cs
- AgileSafeNativeMemoryHandle.cs
- VarRemapper.cs
- DynamicMethod.cs
- WindowsFormsSynchronizationContext.cs
- PropagatorResult.cs
- SweepDirectionValidation.cs
- ProcessHost.cs
- SmiXetterAccessMap.cs
- WebContext.cs
- FileDialogCustomPlace.cs
- BindableTemplateBuilder.cs
- SqlFlattener.cs
- NameTable.cs
- mediaeventargs.cs
- SectionUpdates.cs
- UIElementIsland.cs
- MetadataArtifactLoader.cs
- HttpRuntimeSection.cs
- SparseMemoryStream.cs
- _AcceptOverlappedAsyncResult.cs
- Point.cs
- Rect3DValueSerializer.cs
- LocalizationCodeDomSerializer.cs
- tibetanshape.cs
- TransactionCache.cs
- AssociationType.cs
- DataKey.cs
- PiiTraceSource.cs
- StrongName.cs
- LinkUtilities.cs
- DesignerPainter.cs
- StateItem.cs
- IndentedTextWriter.cs
- MeasureData.cs
- ListCollectionView.cs
- GenericEnumConverter.cs
- HighContrastHelper.cs
- MetafileHeader.cs
- GiveFeedbackEventArgs.cs
- HelpProvider.cs
- WinFormsUtils.cs
- MethodCallConverter.cs
- BrowserDefinition.cs
- LayoutEditorPart.cs
- UserMapPath.cs
- ContentHostHelper.cs
- FastEncoderWindow.cs
- IndexObject.cs
- Rect3DValueSerializer.cs
- StorageMappingItemCollection.cs
- SiteMapSection.cs
- WebServiceData.cs
- ResolveMatches11.cs
- ItemsChangedEventArgs.cs
- CompilerLocalReference.cs
- QueryException.cs
- TextServicesCompartmentContext.cs
- VirtualizedContainerService.cs
- DataColumn.cs
- StaticFileHandler.cs
- ImmutablePropertyDescriptorGridEntry.cs
- BackgroundWorker.cs
- NavigationFailedEventArgs.cs
- DataPager.cs