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
- TimeZone.cs
- UniqueID.cs
- RegexMatchCollection.cs
- ConfigXmlSignificantWhitespace.cs
- CqlIdentifiers.cs
- MbpInfo.cs
- ObjectAnimationUsingKeyFrames.cs
- CustomErrorsSection.cs
- Converter.cs
- Wizard.cs
- WebPartConnectionsCancelVerb.cs
- DataMemberFieldEditor.cs
- _AcceptOverlappedAsyncResult.cs
- DataGridViewLinkColumn.cs
- CodeDomLoader.cs
- DbConvert.cs
- HideDisabledControlAdapter.cs
- MouseButtonEventArgs.cs
- DisplayInformation.cs
- RectAnimation.cs
- SafeProcessHandle.cs
- BrowserInteropHelper.cs
- ClientRuntimeConfig.cs
- HttpWriter.cs
- DesignTimeTemplateParser.cs
- OrderToken.cs
- CellPartitioner.cs
- StylusButtonEventArgs.cs
- LoadItemsEventArgs.cs
- WebPartEditorCancelVerb.cs
- AdRotatorDesigner.cs
- GridSplitter.cs
- EncoderNLS.cs
- HttpServerChannel.cs
- TypedOperationInfo.cs
- ViewCellRelation.cs
- ConfigurationConverterBase.cs
- XPathSelfQuery.cs
- AppDomainCompilerProxy.cs
- ToolboxComponentsCreatingEventArgs.cs
- WebPartsPersonalization.cs
- BindingManagerDataErrorEventArgs.cs
- SqlServer2KCompatibilityCheck.cs
- DescriptionAttribute.cs
- NativeMethods.cs
- ContactManager.cs
- altserialization.cs
- PerfCounters.cs
- X509Utils.cs
- QueryOutputWriter.cs
- SmiConnection.cs
- NumericUpDown.cs
- DataServiceHostWrapper.cs
- CanExecuteRoutedEventArgs.cs
- ReflectionUtil.cs
- SQlBooleanStorage.cs
- TagMapCollection.cs
- Ref.cs
- IisTraceWebEventProvider.cs
- ObfuscationAttribute.cs
- SelectingProviderEventArgs.cs
- DbExpressionVisitor.cs
- EventLogPermissionAttribute.cs
- GroupDescription.cs
- ServiceDiscoveryBehavior.cs
- ContextToken.cs
- ChannelDispatcherCollection.cs
- HuffModule.cs
- ContentControl.cs
- HelpEvent.cs
- AssemblyNameProxy.cs
- BinaryReader.cs
- CodeValidator.cs
- RegexGroup.cs
- EdmPropertyAttribute.cs
- DoubleCollectionValueSerializer.cs
- UserPreferenceChangingEventArgs.cs
- IndexedGlyphRun.cs
- EntitySetBaseCollection.cs
- ExpressionConverter.cs
- SHA512Managed.cs
- DataStreamFromComStream.cs
- Attributes.cs
- BindingsCollection.cs
- XmlNodeChangedEventManager.cs
- XXXInfos.cs
- ProfileGroupSettingsCollection.cs
- Oid.cs
- LineBreakRecord.cs
- SByte.cs
- ReliableSessionElement.cs
- ObjectStateEntryDbDataRecord.cs
- GridViewRowEventArgs.cs
- XPathParser.cs
- Guid.cs
- UndirectedGraph.cs
- coordinatorscratchpad.cs
- XPathBinder.cs
- TickBar.cs
- WindowsStatic.cs