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
- DiagnosticTraceRecords.cs
- WebHttpBindingCollectionElement.cs
- ModifierKeysValueSerializer.cs
- RadioButtonAutomationPeer.cs
- newinstructionaction.cs
- HttpMethodConstraint.cs
- DynamicPropertyReader.cs
- MonthCalendar.cs
- AutoCompleteStringCollection.cs
- DocumentAutomationPeer.cs
- ControlCachePolicy.cs
- CompoundFileIOPermission.cs
- CompiledRegexRunner.cs
- AppearanceEditorPart.cs
- DataServiceRequestOfT.cs
- File.cs
- EndSelectCardRequest.cs
- httpserverutility.cs
- InfocardExtendedInformationCollection.cs
- RichTextBoxConstants.cs
- WindowsListBox.cs
- AppearanceEditorPart.cs
- EventLogTraceListener.cs
- FormsIdentity.cs
- ToolboxCategoryItems.cs
- CheckBoxAutomationPeer.cs
- TextClipboardData.cs
- SystemSounds.cs
- MultipleFilterMatchesException.cs
- VerificationAttribute.cs
- WindowsGrip.cs
- FactoryMaker.cs
- OptimizedTemplateContent.cs
- PreservationFileWriter.cs
- NameValueSectionHandler.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ServiceX509SecurityTokenProvider.cs
- RelatedImageListAttribute.cs
- DynamicResourceExtensionConverter.cs
- util.cs
- HttpFileCollection.cs
- TimeManager.cs
- DeflateEmulationStream.cs
- EditorPart.cs
- AsymmetricSignatureFormatter.cs
- LazyTextWriterCreator.cs
- DataColumn.cs
- ITextView.cs
- TabControlAutomationPeer.cs
- ColumnHeaderConverter.cs
- HealthMonitoringSectionHelper.cs
- MasterPage.cs
- ValueUnavailableException.cs
- CollectionExtensions.cs
- ReadOnlyAttribute.cs
- DesignerView.xaml.cs
- SystemEvents.cs
- VectorCollectionValueSerializer.cs
- GroupByExpressionRewriter.cs
- SchemaImporter.cs
- RectangleGeometry.cs
- Timer.cs
- TdsRecordBufferSetter.cs
- CompilerScope.Storage.cs
- ListBindingHelper.cs
- EraserBehavior.cs
- CompatibleComparer.cs
- TreeNodeConverter.cs
- PagedDataSource.cs
- MouseButton.cs
- GeneralTransform.cs
- SignedPkcs7.cs
- CodeThrowExceptionStatement.cs
- TextRangeAdaptor.cs
- TypeInfo.cs
- TextParagraphCache.cs
- SqlBooleanizer.cs
- BaseProcessor.cs
- SvcMapFileLoader.cs
- ObjectConverter.cs
- XmlSchemaInferenceException.cs
- PathSegment.cs
- ControlBuilderAttribute.cs
- DiagnosticTrace.cs
- Package.cs
- MasterPageParser.cs
- Themes.cs
- RadioButtonRenderer.cs
- PersonalizationStateInfoCollection.cs
- WindowInteractionStateTracker.cs
- CodeTypeReferenceExpression.cs
- TextAdaptor.cs
- DataGridViewLinkColumn.cs
- UIElementParagraph.cs
- ItemCheckEvent.cs
- ProgressBarBrushConverter.cs
- MdiWindowListItemConverter.cs
- MappingItemCollection.cs
- WsrmTraceRecord.cs
- InvalidateEvent.cs