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
- SingleSelectRootGridEntry.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- FilterFactory.cs
- OperationCanceledException.cs
- CacheRequest.cs
- GeneralTransform.cs
- RelatedImageListAttribute.cs
- Point.cs
- PagesChangedEventArgs.cs
- PersonalizationState.cs
- BuildResult.cs
- StateMachineSubscriptionManager.cs
- ClockGroup.cs
- AccessViolationException.cs
- OdbcUtils.cs
- StringSource.cs
- SoapTypeAttribute.cs
- ListBase.cs
- PerspectiveCamera.cs
- SafeCryptContextHandle.cs
- TriggerAction.cs
- AsymmetricKeyExchangeFormatter.cs
- FormattedText.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- DirtyTextRange.cs
- DbConnectionInternal.cs
- SqlGenericUtil.cs
- ConfigurationManagerHelper.cs
- SchemaNotation.cs
- RijndaelManaged.cs
- PhonemeEventArgs.cs
- TreeViewHitTestInfo.cs
- PolyLineSegmentFigureLogic.cs
- WebPageTraceListener.cs
- XmlSchemaSimpleTypeRestriction.cs
- MatrixValueSerializer.cs
- RetrieveVirtualItemEventArgs.cs
- VariableAction.cs
- ModuleConfigurationInfo.cs
- WrapperEqualityComparer.cs
- OdbcCommandBuilder.cs
- StringInfo.cs
- CodeExporter.cs
- OutputCacheProfileCollection.cs
- Profiler.cs
- TraceSection.cs
- SortKey.cs
- DataSourceXmlSubItemAttribute.cs
- Popup.cs
- ToolstripProfessionalRenderer.cs
- sqlstateclientmanager.cs
- Mutex.cs
- DataSourceProvider.cs
- UserNameSecurityToken.cs
- SQLInt64.cs
- UIElementIsland.cs
- MethodSet.cs
- RootBuilder.cs
- RewritingSimplifier.cs
- UnicastIPAddressInformationCollection.cs
- Add.cs
- MemberInfoSerializationHolder.cs
- RNGCryptoServiceProvider.cs
- SqlParameter.cs
- ScriptHandlerFactory.cs
- ListCollectionView.cs
- WebPartActionVerb.cs
- TransformerInfo.cs
- CustomErrorsSection.cs
- EncodingTable.cs
- MergeFailedEvent.cs
- ProxyWebPartManager.cs
- Itemizer.cs
- TraversalRequest.cs
- VolatileEnlistmentMultiplexing.cs
- XhtmlBasicValidatorAdapter.cs
- PersistNameAttribute.cs
- SpnegoTokenProvider.cs
- NameScopePropertyAttribute.cs
- RepeaterCommandEventArgs.cs
- WindowVisualStateTracker.cs
- GridSplitter.cs
- DataGridView.cs
- SQLUtility.cs
- CqlBlock.cs
- XmlAutoDetectWriter.cs
- ProfessionalColorTable.cs
- Int32AnimationBase.cs
- Comparer.cs
- AnchoredBlock.cs
- UpdatePanelTrigger.cs
- StyleConverter.cs
- OleDbReferenceCollection.cs
- DataSysAttribute.cs
- NotSupportedException.cs
- PersonalizationStateInfoCollection.cs
- Matrix3D.cs
- FileDialogCustomPlace.cs
- TransformerTypeCollection.cs
- RuntimeConfigurationRecord.cs