Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ActiveDocumentEvent.cs / 1305376 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or /// sets the document that is gaining activation. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OdbcReferenceCollection.cs
- XmlAttributeProperties.cs
- BrowserCapabilitiesFactory.cs
- GraphicsPathIterator.cs
- FixedDSBuilder.cs
- Line.cs
- HtmlInputRadioButton.cs
- DeferredSelectedIndexReference.cs
- Wizard.cs
- GenerateTemporaryTargetAssembly.cs
- SQLCharsStorage.cs
- TextMetrics.cs
- RegexTree.cs
- DefinitionProperties.cs
- DataGridSortCommandEventArgs.cs
- Dump.cs
- TextEditorCopyPaste.cs
- ResourcesGenerator.cs
- OdbcCommandBuilder.cs
- BufferCache.cs
- XmlAttributeProperties.cs
- SystemColors.cs
- ClickablePoint.cs
- TCPListener.cs
- Membership.cs
- WebRequestModulesSection.cs
- FixedHyperLink.cs
- PLINQETWProvider.cs
- EnumerableCollectionView.cs
- FixedSOMTable.cs
- ViewStateModeByIdAttribute.cs
- UpdateTranslator.cs
- PathSegmentCollection.cs
- ObjectDataSourceDisposingEventArgs.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DataGridViewTextBoxColumn.cs
- HttpMethodAttribute.cs
- Blend.cs
- ModifierKeysConverter.cs
- LocalizationParserHooks.cs
- TextProperties.cs
- ProcessHostMapPath.cs
- GridEntry.cs
- BaseValidator.cs
- DynamicRendererThreadManager.cs
- _UriTypeConverter.cs
- TcpSocketManager.cs
- PinProtectionHelper.cs
- CodePageEncoding.cs
- Attribute.cs
- XmlCodeExporter.cs
- OdbcCommandBuilder.cs
- ClientSettingsStore.cs
- NameValuePermission.cs
- NameValuePermission.cs
- Container.cs
- HttpResponse.cs
- SystemResources.cs
- ScrollChangedEventArgs.cs
- WindowsBrush.cs
- NotImplementedException.cs
- CSharpCodeProvider.cs
- XamlPoint3DCollectionSerializer.cs
- WebBrowser.cs
- MessageQueueTransaction.cs
- FocusManager.cs
- DataControlImageButton.cs
- SqlInfoMessageEvent.cs
- HttpWriter.cs
- UTF32Encoding.cs
- CreateParams.cs
- TableLayoutSettings.cs
- SqlUnionizer.cs
- GcHandle.cs
- DataGridViewButtonCell.cs
- SerializationAttributes.cs
- CmsInterop.cs
- StateInitializationDesigner.cs
- ReflectionTypeLoadException.cs
- MorphHelper.cs
- LocalValueEnumerator.cs
- xmlfixedPageInfo.cs
- SHA512Managed.cs
- SystemBrushes.cs
- milexports.cs
- ConnectionStringEditor.cs
- PropertyDescriptorCollection.cs
- TreeNodeBinding.cs
- WindowInteractionStateTracker.cs
- Identity.cs
- TableLayoutCellPaintEventArgs.cs
- PropertyConverter.cs
- ReplyChannelBinder.cs
- DirectoryNotFoundException.cs
- RequestCacheEntry.cs
- MessageQueueException.cs
- CopyAttributesAction.cs
- EditorPartChrome.cs
- SoapCodeExporter.cs
- SendMailErrorEventArgs.cs