Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Executor.cs
- HtmlForm.cs
- QilFactory.cs
- EdmItemCollection.cs
- ValidationError.cs
- DetailsViewDeletedEventArgs.cs
- BitmapCache.cs
- ConfigXmlAttribute.cs
- TreeWalker.cs
- SQLInt64Storage.cs
- DelegatedStream.cs
- ThumbAutomationPeer.cs
- RelationalExpressions.cs
- GeneralTransform3DTo2D.cs
- XmlNamedNodeMap.cs
- PublisherIdentityPermission.cs
- CfgParser.cs
- ObjectParameter.cs
- RegexCompiler.cs
- ListViewCancelEventArgs.cs
- MenuAutomationPeer.cs
- UInt32Converter.cs
- SortAction.cs
- IISMapPath.cs
- Helper.cs
- UndoEngine.cs
- CircleHotSpot.cs
- SecurityException.cs
- RequiredAttributeAttribute.cs
- ColorKeyFrameCollection.cs
- AmbientLight.cs
- DataRecordInternal.cs
- ForEach.cs
- WebUtility.cs
- GroupItemAutomationPeer.cs
- Validator.cs
- BamlRecords.cs
- TdsParserStaticMethods.cs
- OracleDataAdapter.cs
- MasterPageParser.cs
- FontResourceCache.cs
- TextRangeSerialization.cs
- QilCloneVisitor.cs
- SqlSelectStatement.cs
- EastAsianLunisolarCalendar.cs
- TemplatedAdorner.cs
- Transform.cs
- TextViewDesigner.cs
- Reference.cs
- JoinCqlBlock.cs
- Visitor.cs
- TextEndOfLine.cs
- AccessorTable.cs
- EnumMemberAttribute.cs
- ResourceDescriptionAttribute.cs
- ConstructorExpr.cs
- ContentElement.cs
- GridViewUpdatedEventArgs.cs
- SimplePropertyEntry.cs
- SqlClientPermission.cs
- DropAnimation.xaml.cs
- ReadOnlyActivityGlyph.cs
- ReadOnlyCollection.cs
- OleDbPermission.cs
- DataGridItem.cs
- CoTaskMemHandle.cs
- FileUtil.cs
- XPathDocumentBuilder.cs
- RegexTree.cs
- SamlAuthenticationStatement.cs
- PenThread.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- TreeIterators.cs
- ContextMenu.cs
- StringAnimationBase.cs
- SafePointer.cs
- XmlHierarchicalDataSourceView.cs
- AspNetHostingPermission.cs
- CompensateDesigner.cs
- NameSpaceEvent.cs
- RuleSettingsCollection.cs
- SimpleWorkerRequest.cs
- Utils.cs
- AssemblyAttributesGoHere.cs
- SafeBitVector32.cs
- TextLine.cs
- IndexedEnumerable.cs
- NativeMethodsCLR.cs
- odbcmetadatacolumnnames.cs
- HttpConfigurationSystem.cs
- BaseServiceProvider.cs
- AutomationFocusChangedEventArgs.cs
- bidPrivateBase.cs
- Header.cs
- DataTableReaderListener.cs
- Environment.cs
- PropertyOverridesDialog.cs
- LockedActivityGlyph.cs
- InheritedPropertyDescriptor.cs
- SqlDataSourceFilteringEventArgs.cs