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
- PeerChannelListener.cs
- SessionEndingCancelEventArgs.cs
- CriticalHandle.cs
- Rotation3D.cs
- Transform.cs
- LZCodec.cs
- RegexWorker.cs
- PathSegment.cs
- ComplexObject.cs
- ComplexBindingPropertiesAttribute.cs
- Int32Rect.cs
- figurelengthconverter.cs
- CellRelation.cs
- MsmqIntegrationProcessProtocolHandler.cs
- ActivityContext.cs
- CorrelationManager.cs
- VisualTreeHelper.cs
- SecurityContext.cs
- ImmutableDispatchRuntime.cs
- ColumnMapProcessor.cs
- DynamicArgumentDesigner.xaml.cs
- RepeatEnumerable.cs
- Menu.cs
- CreateUserWizard.cs
- BaseTreeIterator.cs
- ObjectDataSourceEventArgs.cs
- SqlProfileProvider.cs
- RectangleHotSpot.cs
- ValueUtilsSmi.cs
- Typeface.cs
- NetCodeGroup.cs
- indexingfiltermarshaler.cs
- ConfigXmlText.cs
- CommandHelpers.cs
- ExpandedProjectionNode.cs
- ObjectQuery_EntitySqlExtensions.cs
- RelatedImageListAttribute.cs
- SystemDiagnosticsSection.cs
- FormsAuthenticationCredentials.cs
- MdiWindowListItemConverter.cs
- LayoutTableCell.cs
- HexParser.cs
- StatusBarPanel.cs
- SignatureHelper.cs
- XmlSortKeyAccumulator.cs
- RectAnimationBase.cs
- TextViewBase.cs
- MD5CryptoServiceProvider.cs
- LinqDataSource.cs
- CombinedGeometry.cs
- AsymmetricKeyExchangeDeformatter.cs
- SqlDataSource.cs
- AutoResizedEvent.cs
- OracleSqlParser.cs
- SiteMapNode.cs
- itemelement.cs
- ToolStripControlHost.cs
- DiscreteKeyFrames.cs
- FileVersion.cs
- SQLMoney.cs
- X509Chain.cs
- PenThread.cs
- externdll.cs
- UndoEngine.cs
- PermissionSet.cs
- NullRuntimeConfig.cs
- assemblycache.cs
- PerformanceCounterCategory.cs
- WindowsTreeView.cs
- HeaderLabel.cs
- KeyboardDevice.cs
- ComplexPropertyEntry.cs
- DataTableReaderListener.cs
- _SslState.cs
- SimpleApplicationHost.cs
- ThreadPool.cs
- TransformedBitmap.cs
- XmlCDATASection.cs
- ConfigXmlSignificantWhitespace.cs
- XmlElementAttribute.cs
- PathGeometry.cs
- Win32Native.cs
- SpellerInterop.cs
- ReferencedAssemblyResolver.cs
- DataObject.cs
- DataServiceProviderMethods.cs
- OdbcEnvironmentHandle.cs
- InvalidStoreProtectionKeyException.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ComponentCommands.cs
- DataGridColumnStyleMappingNameEditor.cs
- ProfessionalColorTable.cs
- ProviderUtil.cs
- StrokeNodeData.cs
- MetadataItem.cs
- DocumentViewerBase.cs
- UserControlCodeDomTreeGenerator.cs
- CommonRemoteMemoryBlock.cs
- CultureTableRecord.cs
- DateTimeUtil.cs