Code:
/ 4.0 / 4.0 / 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. /// ///// 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
- DefaultSettingsSection.cs
- CodeDirectoryCompiler.cs
- ItemCollection.cs
- CodeNamespace.cs
- InternalEnumValidator.cs
- SpotLight.cs
- GuidTagList.cs
- ArrayElementGridEntry.cs
- TdsParserSafeHandles.cs
- JsonEncodingStreamWrapper.cs
- UmAlQuraCalendar.cs
- BinaryExpression.cs
- GetIndexBinder.cs
- RegexStringValidator.cs
- WebBrowserDocumentCompletedEventHandler.cs
- BindingElementExtensionElement.cs
- BindableTemplateBuilder.cs
- SettingsContext.cs
- HtmlString.cs
- MobileUserControl.cs
- Vector3DCollectionValueSerializer.cs
- OutputCacheProfile.cs
- XmlnsDictionary.cs
- CompositeDesignerAccessibleObject.cs
- TransformerConfigurationWizardBase.cs
- RelationshipType.cs
- CompiledAction.cs
- CssStyleCollection.cs
- QuerySettings.cs
- OuterGlowBitmapEffect.cs
- WebBrowserContainer.cs
- ProfileParameter.cs
- PropertyCondition.cs
- DispatcherSynchronizationContext.cs
- ReadOnlyCollectionBase.cs
- SQLMoney.cs
- Vector3DCollection.cs
- SqlClientWrapperSmiStreamChars.cs
- CurrentChangingEventManager.cs
- WindowsTooltip.cs
- DataControlCommands.cs
- UpdateProgress.cs
- CounterCreationData.cs
- SvcMapFileLoader.cs
- MarshalByRefObject.cs
- ToolStripItem.cs
- EmbeddedMailObject.cs
- MenuRendererStandards.cs
- UTF7Encoding.cs
- AmbientValueAttribute.cs
- PartitionedDataSource.cs
- EqualityArray.cs
- RecordManager.cs
- MsmqMessage.cs
- ResourcePool.cs
- BoundsDrawingContextWalker.cs
- DataGridViewTopLeftHeaderCell.cs
- DispatcherExceptionFilterEventArgs.cs
- EntityViewContainer.cs
- TextServicesHost.cs
- OletxDependentTransaction.cs
- SoapCodeExporter.cs
- ListViewTableRow.cs
- RootBrowserWindowProxy.cs
- RootBrowserWindow.cs
- HtmlAnchor.cs
- HelpInfo.cs
- OleCmdHelper.cs
- DurableInstance.cs
- ProcessThread.cs
- ChtmlFormAdapter.cs
- IdentityHolder.cs
- DataObjectAttribute.cs
- SendKeys.cs
- SQLConvert.cs
- TypeToArgumentTypeConverter.cs
- BypassElementCollection.cs
- GeneralTransform3DGroup.cs
- DrawingVisual.cs
- DataGridViewToolTip.cs
- IndentedTextWriter.cs
- StringUtil.cs
- ResolveNextArgumentWorkItem.cs
- CustomErrorsSection.cs
- StorageEntitySetMapping.cs
- AnnotationComponentManager.cs
- SimpleNameService.cs
- MdiWindowListStrip.cs
- CookieHandler.cs
- DateTimeOffsetStorage.cs
- SqlGatherProducedAliases.cs
- NullableDoubleMinMaxAggregationOperator.cs
- SplayTreeNode.cs
- GridViewCancelEditEventArgs.cs
- FontStretchConverter.cs
- X509InitiatorCertificateClientElement.cs
- GraphicsContext.cs
- XPathNode.cs
- XPathNode.cs
- CollectionView.cs