Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / Design / ActiveDocumentEvent.cs / 1 / ActiveDocumentEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; using Microsoft.Win32; ////// [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 ActiveDesignerEventArgs : EventArgs { ///Provides data for the ////// event. /// The document that is losing activation. /// private readonly IDesignerHost oldDesigner; ////// The document that is gaining activation. /// private readonly IDesignerHost newDesigner; ////// public ActiveDesignerEventArgs(IDesignerHost oldDesigner, IDesignerHost newDesigner) { this.oldDesigner = oldDesigner; this.newDesigner = newDesigner; } ///Initializes a new instance of the ////// class. /// public IDesignerHost OldDesigner { get { return oldDesigner; } } ////// Gets or /// sets the document that is losing activation. /// ////// public IDesignerHost NewDesigner { get { return newDesigner; } } } }/// Gets or /// sets the document that is gaining activation. /// ///
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OdbcError.cs
- DisposableCollectionWrapper.cs
- FocusWithinProperty.cs
- DataServiceRequestArgs.cs
- AssemblyNameProxy.cs
- WebControlParameterProxy.cs
- SplashScreen.cs
- SelectionProcessor.cs
- TypedTableBaseExtensions.cs
- SqlDataSourceCommandEventArgs.cs
- TreeSet.cs
- ValidationRuleCollection.cs
- TabItem.cs
- UnsafeNativeMethods.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Point3DAnimation.cs
- DBSchemaRow.cs
- GridSplitter.cs
- QilFunction.cs
- CommonXSendMessage.cs
- ItemAutomationPeer.cs
- ToolStripOverflowButton.cs
- ObjectDataSourceEventArgs.cs
- ColorPalette.cs
- CheckableControlBaseAdapter.cs
- Lookup.cs
- ServicePointManager.cs
- ColumnResizeUndoUnit.cs
- AdPostCacheSubstitution.cs
- ReceiveReply.cs
- WebEvents.cs
- CaseInsensitiveComparer.cs
- MarshalDirectiveException.cs
- RectConverter.cs
- IsolatedStorage.cs
- MetadataStore.cs
- XmlSchemaSimpleTypeList.cs
- XmlSignatureManifest.cs
- CodeExporter.cs
- VirtualDirectoryMappingCollection.cs
- PieceNameHelper.cs
- DataControlCommands.cs
- GPPOINTF.cs
- Baml2006ReaderContext.cs
- DataColumn.cs
- LicFileLicenseProvider.cs
- XmlSchemaObjectCollection.cs
- AdapterDictionary.cs
- DesignUtil.cs
- EmbeddedObject.cs
- EntityObject.cs
- SQLRoleProvider.cs
- HttpApplication.cs
- BlobPersonalizationState.cs
- ProjectionCamera.cs
- QueryReaderSettings.cs
- PrimitiveType.cs
- SwitchAttribute.cs
- AssertFilter.cs
- SiteMapNodeItemEventArgs.cs
- DigestTraceRecordHelper.cs
- WebBrowserContainer.cs
- XmlSchemaAttributeGroupRef.cs
- RegexGroup.cs
- DataGridViewHeaderCell.cs
- FontStyles.cs
- HtmlToClrEventProxy.cs
- SQLResource.cs
- Vector.cs
- WinInetCache.cs
- TextContainer.cs
- SimpleWorkerRequest.cs
- MembershipValidatePasswordEventArgs.cs
- ItemsControlAutomationPeer.cs
- SafeLibraryHandle.cs
- XmlSchemaImporter.cs
- Panel.cs
- ChangePassword.cs
- EventProviderBase.cs
- FontDriver.cs
- HttpRequestTraceRecord.cs
- ValueTable.cs
- MetadataCache.cs
- ListViewEditEventArgs.cs
- DllNotFoundException.cs
- WebPartTransformerAttribute.cs
- CodeArgumentReferenceExpression.cs
- SafeRegistryHandle.cs
- cookiecontainer.cs
- ConvertersCollection.cs
- ResourceAttributes.cs
- CodeDelegateCreateExpression.cs
- BaseParser.cs
- TransformDescriptor.cs
- BinaryObjectInfo.cs
- ResXBuildProvider.cs
- HtmlHistory.cs
- BehaviorEditorPart.cs
- CodeTypeReferenceExpression.cs
- DecoratedNameAttribute.cs