Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ActiveDocumentEvent.cs / 1305376 / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventLogEntryCollection.cs
- PostBackTrigger.cs
- DataControlFieldHeaderCell.cs
- ListViewDataItem.cs
- VariableElement.cs
- DataBindingHandlerAttribute.cs
- UnhandledExceptionEventArgs.cs
- DesignerObject.cs
- Vertex.cs
- QilXmlWriter.cs
- CatalogPartCollection.cs
- _AcceptOverlappedAsyncResult.cs
- WS2007FederationHttpBinding.cs
- DbParameterHelper.cs
- TemplateApplicationHelper.cs
- NullableConverter.cs
- AvtEvent.cs
- MouseCaptureWithinProperty.cs
- HtmlContainerControl.cs
- FieldNameLookup.cs
- FacetValueContainer.cs
- GridViewCommandEventArgs.cs
- GeneralTransform3DGroup.cs
- AppearanceEditorPart.cs
- PnrpPermission.cs
- UshortList2.cs
- DataSetViewSchema.cs
- Point3DConverter.cs
- Root.cs
- RC2.cs
- SoapReflectionImporter.cs
- Pair.cs
- ArrayExtension.cs
- HandledEventArgs.cs
- EndOfStreamException.cs
- AlgoModule.cs
- MarkedHighlightComponent.cs
- SettingsPropertyIsReadOnlyException.cs
- SqlGenerator.cs
- XmlSchemaDocumentation.cs
- OdbcConnectionFactory.cs
- SetterBaseCollection.cs
- IdlingCommunicationPool.cs
- DrawingState.cs
- Peer.cs
- HybridObjectCache.cs
- CurrentTimeZone.cs
- XmlArrayAttribute.cs
- Stackframe.cs
- DataSourceControl.cs
- MetadataArtifactLoaderFile.cs
- Vertex.cs
- TCPListener.cs
- WindowsToolbarAsMenu.cs
- _HeaderInfo.cs
- BuildProviderAppliesToAttribute.cs
- RijndaelCryptoServiceProvider.cs
- SoapRpcServiceAttribute.cs
- RootDesignerSerializerAttribute.cs
- AccessViolationException.cs
- PageContentCollection.cs
- Walker.cs
- PolyLineSegment.cs
- ObfuscationAttribute.cs
- UnsafeNativeMethods.cs
- FontSourceCollection.cs
- Column.cs
- HealthMonitoringSectionHelper.cs
- Subtree.cs
- LocalsItemDescription.cs
- OdbcParameterCollection.cs
- ProcessModelInfo.cs
- HScrollBar.cs
- GlobalProxySelection.cs
- ISSmlParser.cs
- XmlUtil.cs
- DataPagerFieldItem.cs
- SecureStringHasher.cs
- FormConverter.cs
- ExpandoObject.cs
- GenerateTemporaryTargetAssembly.cs
- SendKeys.cs
- SinglePhaseEnlistment.cs
- IisTraceListener.cs
- Rect3DValueSerializer.cs
- SafeThemeHandle.cs
- NonValidatingSecurityTokenAuthenticator.cs
- RuntimeCompatibilityAttribute.cs
- SmtpCommands.cs
- DataReceivedEventArgs.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- PrintDialog.cs
- TextFormatterImp.cs
- ScriptResourceAttribute.cs
- DataGridViewRowHeaderCell.cs
- EventProxy.cs
- CodePageUtils.cs
- CssStyleCollection.cs
- WhiteSpaceTrimStringConverter.cs
- ColorConvertedBitmap.cs