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
- OutputCacheSettings.cs
- PropertiesTab.cs
- DesignerDataView.cs
- dbenumerator.cs
- Pens.cs
- X509Extension.cs
- MediaSystem.cs
- CommittableTransaction.cs
- Single.cs
- InfoCardSymmetricAlgorithm.cs
- EncoderFallback.cs
- InitializationEventAttribute.cs
- Point4DValueSerializer.cs
- CSharpCodeProvider.cs
- LogAppendAsyncResult.cs
- ListBindableAttribute.cs
- ClientType.cs
- DataColumnMappingCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- __FastResourceComparer.cs
- ProcessThread.cs
- SoapProtocolReflector.cs
- FlowDocumentFormatter.cs
- UIElementPropertyUndoUnit.cs
- DocumentPaginator.cs
- HotSpot.cs
- QuaternionAnimation.cs
- LineServicesRun.cs
- FontNamesConverter.cs
- StatusBar.cs
- GridViewUpdatedEventArgs.cs
- ButtonFieldBase.cs
- EntityTypeEmitter.cs
- ResourceDictionaryCollection.cs
- StylusPointCollection.cs
- DictationGrammar.cs
- RegexCompilationInfo.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- ImageListStreamer.cs
- RuleInfoComparer.cs
- DesignerCatalogPartChrome.cs
- HashSetDebugView.cs
- DateTimeStorage.cs
- ExtensionSimplifierMarkupObject.cs
- PerformanceCounter.cs
- TabletDevice.cs
- ListenerElementsCollection.cs
- GenericAuthenticationEventArgs.cs
- SignedXml.cs
- Rect.cs
- Point4D.cs
- StylusSystemGestureEventArgs.cs
- SQLInt16.cs
- SignatureDescription.cs
- PageWrapper.cs
- RIPEMD160.cs
- DataGridViewToolTip.cs
- MemberDescriptor.cs
- ContextMarshalException.cs
- SettingsBindableAttribute.cs
- ScrollViewerAutomationPeer.cs
- SubclassTypeValidatorAttribute.cs
- ListControl.cs
- WindowsListViewItem.cs
- AuthenticatingEventArgs.cs
- BordersPage.cs
- CharacterBufferReference.cs
- Panel.cs
- ExceptionUtility.cs
- XhtmlBasicLabelAdapter.cs
- WmpBitmapEncoder.cs
- XmlSchemaAnnotation.cs
- XmlSchemaProviderAttribute.cs
- DesignerOptionService.cs
- SqlNodeTypeOperators.cs
- _SslStream.cs
- _ProxyChain.cs
- ObjectAnimationUsingKeyFrames.cs
- LambdaExpression.cs
- WebPartDisplayModeCancelEventArgs.cs
- IISMapPath.cs
- ErrorHandlingAcceptor.cs
- SQLBinaryStorage.cs
- RangeValueProviderWrapper.cs
- Schema.cs
- EventLog.cs
- Evaluator.cs
- XmlSchemaCompilationSettings.cs
- ModelTypeConverter.cs
- ExistsInCollection.cs
- SessionStateItemCollection.cs
- PropertyToken.cs
- MiniCustomAttributeInfo.cs
- SmiXetterAccessMap.cs
- PagesChangedEventArgs.cs
- SqlCommandSet.cs
- RegexStringValidatorAttribute.cs
- LocalizationParserHooks.cs
- FormsAuthenticationConfiguration.cs
- ReflectionUtil.cs