Code:
/ FX-1434 / FX-1434 / 1.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
- ToolboxItemFilterAttribute.cs
- HiddenFieldDesigner.cs
- SelectionItemProviderWrapper.cs
- SmiRequestExecutor.cs
- ArglessEventHandlerProxy.cs
- DispatcherOperation.cs
- PageThemeCodeDomTreeGenerator.cs
- MdiWindowListStrip.cs
- XmlILOptimizerVisitor.cs
- TextPattern.cs
- CommandCollectionEditor.cs
- IdSpace.cs
- VectorConverter.cs
- MergeFilterQuery.cs
- TextElementEnumerator.cs
- DocumentDesigner.cs
- Odbc32.cs
- UnsafeNativeMethods.cs
- _RegBlobWebProxyDataBuilder.cs
- WebDescriptionAttribute.cs
- Timer.cs
- DateTimeConverter2.cs
- SchemaImporterExtension.cs
- RegistryKey.cs
- FixedSOMPage.cs
- UserNameSecurityTokenParameters.cs
- DataGridViewHeaderCell.cs
- StylusShape.cs
- ParallelRangeManager.cs
- PropertyBuilder.cs
- PersonalizationStateQuery.cs
- ToolStripRenderer.cs
- LinqDataSourceContextEventArgs.cs
- CreateUserWizard.cs
- EmptyCollection.cs
- DesignerGenericWebPart.cs
- TextBox.cs
- TraceListeners.cs
- RepeaterItem.cs
- PluralizationService.cs
- SafeMILHandleMemoryPressure.cs
- ReadWriteControlDesigner.cs
- XmlSchema.cs
- AccessText.cs
- QilInvokeLateBound.cs
- WebContext.cs
- ProfileInfo.cs
- ServiceDescriptionSerializer.cs
- SettingsBindableAttribute.cs
- WebCategoryAttribute.cs
- PermissionListSet.cs
- AtomMaterializerLog.cs
- DiscoveryDocument.cs
- DesignerHelpers.cs
- WindowAutomationPeer.cs
- _SSPIWrapper.cs
- XmlEncodedRawTextWriter.cs
- LambdaCompiler.ControlFlow.cs
- OdbcHandle.cs
- OutputWindow.cs
- SelectionEditor.cs
- GlyphRunDrawing.cs
- ProgressBarAutomationPeer.cs
- ResumeStoryboard.cs
- Vector3D.cs
- RunClient.cs
- login.cs
- RawStylusInput.cs
- LinkTarget.cs
- IisTraceListener.cs
- SessionIDManager.cs
- ThemeInfoAttribute.cs
- WebPartDescriptionCollection.cs
- ListSourceHelper.cs
- ToolboxItem.cs
- CustomAttributeSerializer.cs
- _ChunkParse.cs
- IntegerValidatorAttribute.cs
- PaintValueEventArgs.cs
- UpdateException.cs
- EventPropertyMap.cs
- TokenizerHelper.cs
- DirectionalLight.cs
- ControlTemplate.cs
- ProfilePropertySettings.cs
- WindowsAltTab.cs
- RelationshipEndCollection.cs
- FormViewDeletedEventArgs.cs
- XmlText.cs
- SafeFileMappingHandle.cs
- EmptyQuery.cs
- ListViewGroup.cs
- Tokenizer.cs
- HandoffBehavior.cs
- BamlTreeUpdater.cs
- NamespaceMapping.cs
- DelayDesigner.cs
- securitycriticaldataformultiplegetandset.cs
- ItemCheckEvent.cs
- M3DUtil.cs