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
- DataGridViewComboBoxEditingControl.cs
- WorkflowInvoker.cs
- IdentityValidationException.cs
- DataGridGeneralPage.cs
- AssociatedControlConverter.cs
- OptimizedTemplateContentHelper.cs
- MatrixAnimationUsingPath.cs
- DebuggerAttributes.cs
- SqlClientWrapperSmiStream.cs
- FormsAuthenticationUser.cs
- XmlEntityReference.cs
- Camera.cs
- CorrelationScope.cs
- linebase.cs
- CharacterHit.cs
- DeclarativeCatalogPart.cs
- LassoSelectionBehavior.cs
- HtmlInputHidden.cs
- hwndwrapper.cs
- ClientUtils.cs
- InheritanceRules.cs
- IndentTextWriter.cs
- ResourcesChangeInfo.cs
- DynamicResourceExtensionConverter.cs
- QuotaThrottle.cs
- ResourceExpressionEditorSheet.cs
- EncoderNLS.cs
- ParentUndoUnit.cs
- CoTaskMemHandle.cs
- SelectionChangedEventArgs.cs
- ColorAnimation.cs
- ResourceWriter.cs
- Base64Decoder.cs
- MemberDescriptor.cs
- COM2ColorConverter.cs
- CodeMemberProperty.cs
- NativeMethodsOther.cs
- LineGeometry.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ScriptResourceInfo.cs
- WebHeaderCollection.cs
- DragDeltaEventArgs.cs
- XmlSchemaSimpleTypeList.cs
- SerializationStore.cs
- PriorityBindingExpression.cs
- counter.cs
- WpfSharedXamlSchemaContext.cs
- ItemMap.cs
- TransformPattern.cs
- FormViewCommandEventArgs.cs
- Int64Converter.cs
- DataServiceKeyAttribute.cs
- TableTextElementCollectionInternal.cs
- EffectiveValueEntry.cs
- SHA512.cs
- EpmContentDeSerializer.cs
- QueryResults.cs
- TCEAdapterGenerator.cs
- ExpressionValueEditor.cs
- LinkLabel.cs
- FontEmbeddingManager.cs
- MessageBox.cs
- GenericTextProperties.cs
- HttpPostedFile.cs
- VarRefManager.cs
- ProxyWebPartConnectionCollection.cs
- XmlSchemaException.cs
- CodeTypeParameter.cs
- Connector.cs
- AggregateNode.cs
- ProfilePropertySettingsCollection.cs
- Model3DGroup.cs
- DescendantQuery.cs
- Calendar.cs
- ConvertEvent.cs
- PageSettings.cs
- ListBox.cs
- Bitmap.cs
- RoleManagerEventArgs.cs
- ObjectStorage.cs
- ModuleBuilderData.cs
- ResourceLoader.cs
- StringAnimationBase.cs
- AsmxEndpointPickerExtension.cs
- PartBasedPackageProperties.cs
- WebBrowserNavigatingEventHandler.cs
- Base64Encoder.cs
- PerformanceCounterPermissionEntry.cs
- SafeNativeMethods.cs
- RotateTransform3D.cs
- XslUrlEditor.cs
- MergeFailedEvent.cs
- Convert.cs
- OleDbCommandBuilder.cs
- FileSecurity.cs
- LogicalMethodInfo.cs
- MappingSource.cs
- Underline.cs
- MailBnfHelper.cs