Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // 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
- OutputScope.cs
- StylusPointProperties.cs
- MexNamedPipeBindingElement.cs
- DataStreamFromComStream.cs
- DashStyles.cs
- BoolExpr.cs
- DataGridViewCellEventArgs.cs
- Module.cs
- OrderedDictionary.cs
- SizeChangedInfo.cs
- Event.cs
- RecordManager.cs
- EntityProviderFactory.cs
- ErrorLog.cs
- DnsPermission.cs
- EventLogTraceListener.cs
- InputScopeAttribute.cs
- RuleRef.cs
- EntityType.cs
- FontStyles.cs
- PerformanceCounterPermission.cs
- DeadLetterQueue.cs
- WindowsAuthenticationModule.cs
- NameObjectCollectionBase.cs
- ConfigurationLoaderException.cs
- QilNode.cs
- LoggedException.cs
- TextRunCache.cs
- ModelItemImpl.cs
- ActivityValidationServices.cs
- QilInvokeEarlyBound.cs
- TableHeaderCell.cs
- OutputCache.cs
- Formatter.cs
- QueryParameter.cs
- DefaultValidator.cs
- RowsCopiedEventArgs.cs
- AuthorizationSection.cs
- RequestCacheValidator.cs
- DataFormats.cs
- ApplicationDirectory.cs
- WebPartZone.cs
- COAUTHINFO.cs
- XamlDesignerSerializationManager.cs
- SeparatorAutomationPeer.cs
- VirtualPath.cs
- ExpressionBuilder.cs
- EncryptedKey.cs
- Aggregates.cs
- RegionIterator.cs
- UserPreferenceChangedEventArgs.cs
- latinshape.cs
- Bitmap.cs
- WebPartTransformer.cs
- MemoryPressure.cs
- DiscoveryDocumentReference.cs
- Documentation.cs
- ThemeDirectoryCompiler.cs
- PreviewPrintController.cs
- HtmlControl.cs
- WorkflowInstance.cs
- CodeDelegateInvokeExpression.cs
- DrawingBrush.cs
- TextEditorTables.cs
- ValuePatternIdentifiers.cs
- ErrorRuntimeConfig.cs
- UserMapPath.cs
- QueryTaskGroupState.cs
- ConnectionInterfaceCollection.cs
- _SecureChannel.cs
- UserPreference.cs
- IPEndPoint.cs
- ipaddressinformationcollection.cs
- RC2.cs
- OdbcRowUpdatingEvent.cs
- StringUtil.cs
- InitializationEventAttribute.cs
- DecimalAnimationUsingKeyFrames.cs
- DbInsertCommandTree.cs
- RuntimeWrappedException.cs
- QueryResult.cs
- ComponentEditorPage.cs
- XmlReflectionImporter.cs
- EntityCommandDefinition.cs
- followingquery.cs
- NonParentingControl.cs
- QueryReaderSettings.cs
- Exception.cs
- ShutDownListener.cs
- HandlerBase.cs
- SafeProcessHandle.cs
- EntitySetDataBindingList.cs
- DataAccessor.cs
- XpsS0ValidatingLoader.cs
- FontEmbeddingManager.cs
- SqlDataSource.cs
- Span.cs
- ConfigurationSection.cs
- ObjectDisposedException.cs
- IsolationInterop.cs