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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DocumentEventArgs.cs
- DataGridViewRowsRemovedEventArgs.cs
- CheckBoxStandardAdapter.cs
- ModelTreeEnumerator.cs
- UserControl.cs
- DoubleConverter.cs
- ITextView.cs
- IPHostEntry.cs
- SqlDataSourceStatusEventArgs.cs
- Point3DAnimation.cs
- SqlRecordBuffer.cs
- PictureBox.cs
- XmlSchemaProviderAttribute.cs
- IndependentlyAnimatedPropertyMetadata.cs
- RenderData.cs
- AnnouncementService.cs
- MetadataItem_Static.cs
- FontFaceLayoutInfo.cs
- ItemsPresenter.cs
- SecurityResources.cs
- Funcletizer.cs
- SHA1Managed.cs
- FormsAuthenticationModule.cs
- SharedPerformanceCounter.cs
- FilterException.cs
- Literal.cs
- EntityDataReader.cs
- DataGridViewCellValueEventArgs.cs
- FrameworkTemplate.cs
- CustomAttribute.cs
- KeysConverter.cs
- GridViewSelectEventArgs.cs
- QilGeneratorEnv.cs
- DefaultPropertyAttribute.cs
- CredentialCache.cs
- ErrorTableItemStyle.cs
- Annotation.cs
- InputScope.cs
- PublisherMembershipCondition.cs
- CroppedBitmap.cs
- RuntimeConfigurationRecord.cs
- QueryableDataSourceEditData.cs
- DefaultEvaluationContext.cs
- ColorTranslator.cs
- QueryComponents.cs
- UnhandledExceptionEventArgs.cs
- CodeNamespaceImport.cs
- WebPartVerbCollection.cs
- GeometryGroup.cs
- GeometryConverter.cs
- SqlDataSourceCache.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- StyleHelper.cs
- Vector3DKeyFrameCollection.cs
- MessageFault.cs
- ToolStripMenuItem.cs
- KeyedQueue.cs
- ResourceExpressionBuilder.cs
- CategoryGridEntry.cs
- FormsAuthenticationCredentials.cs
- NavigationProgressEventArgs.cs
- CompositeTypefaceMetrics.cs
- Missing.cs
- MDIClient.cs
- LabelAutomationPeer.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- SqlWebEventProvider.cs
- ObjectDataSourceEventArgs.cs
- OleServicesContext.cs
- unitconverter.cs
- LocalizationComments.cs
- FillErrorEventArgs.cs
- ObjectPersistData.cs
- CodeArgumentReferenceExpression.cs
- ErrorStyle.cs
- Binding.cs
- FlowLayoutPanel.cs
- SettingsAttributeDictionary.cs
- AbandonedMutexException.cs
- XmlSchemaInferenceException.cs
- TailCallAnalyzer.cs
- TextRenderer.cs
- DeferredSelectedIndexReference.cs
- SubclassTypeValidatorAttribute.cs
- MulticastOption.cs
- Tokenizer.cs
- PropertyInfoSet.cs
- LocalTransaction.cs
- NotFiniteNumberException.cs
- HtmlWindowCollection.cs
- FixedTextPointer.cs
- WorkflowViewManager.cs
- SystemSounds.cs
- BaseValidator.cs
- JoinSymbol.cs
- _emptywebproxy.cs
- RectAnimation.cs
- CacheOutputQuery.cs
- Interlocked.cs
- SystemWebSectionGroup.cs