Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / DesignerTransactionCloseEvent.cs / 1305376 / DesignerTransactionCloseEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(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 DesignerTransactionCloseEventArgs : EventArgs { private bool commit; private bool lastTransaction; ///[To be supplied.] ////// Creates a new event args. Commit is true if the transaction is committed. This /// defaults the LastTransaction property to true. /// [Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202")] public DesignerTransactionCloseEventArgs(bool commit) : this(commit, true) { } ////// Creates a new event args. Commit is true if the transaction is committed, and /// lastTransaction is true if this is the last transaction to close. /// public DesignerTransactionCloseEventArgs(bool commit, bool lastTransaction) { this.commit = commit; this.lastTransaction = lastTransaction; } ////// public bool TransactionCommitted { get { return commit; } } ///[To be supplied.] ////// Returns true if this is the last transaction to close. /// public bool LastTransaction { get { return lastTransaction; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(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 DesignerTransactionCloseEventArgs : EventArgs { private bool commit; private bool lastTransaction; ///[To be supplied.] ////// Creates a new event args. Commit is true if the transaction is committed. This /// defaults the LastTransaction property to true. /// [Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202")] public DesignerTransactionCloseEventArgs(bool commit) : this(commit, true) { } ////// Creates a new event args. Commit is true if the transaction is committed, and /// lastTransaction is true if this is the last transaction to close. /// public DesignerTransactionCloseEventArgs(bool commit, bool lastTransaction) { this.commit = commit; this.lastTransaction = lastTransaction; } ////// public bool TransactionCommitted { get { return commit; } } ///[To be supplied.] ////// Returns true if this is the last transaction to close. /// public bool LastTransaction { get { return lastTransaction; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaProviderAttribute.cs
- DataSourceHelper.cs
- RegexCapture.cs
- BooleanAnimationBase.cs
- SchemaElementLookUpTableEnumerator.cs
- BuildProvider.cs
- hresults.cs
- InkPresenter.cs
- WindowShowOrOpenTracker.cs
- SQLUtility.cs
- Screen.cs
- XmlILStorageConverter.cs
- ObfuscateAssemblyAttribute.cs
- ClientCultureInfo.cs
- WCFModelStrings.Designer.cs
- XmlILIndex.cs
- UnaryNode.cs
- XmlSchemaProviderAttribute.cs
- AudioFormatConverter.cs
- CompoundFileIOPermission.cs
- FlowDocumentPaginator.cs
- AlternateViewCollection.cs
- DocumentScope.cs
- WebFormsRootDesigner.cs
- DATA_BLOB.cs
- CacheEntry.cs
- QueryAsyncResult.cs
- EasingQuaternionKeyFrame.cs
- TrustLevel.cs
- EUCJPEncoding.cs
- ToolStripManager.cs
- ErrorHandler.cs
- DependencyPropertyValueSerializer.cs
- FlowchartStart.xaml.cs
- MimeTextImporter.cs
- CodeRegionDirective.cs
- XmlChildEnumerator.cs
- SQLBinaryStorage.cs
- CheckBoxPopupAdapter.cs
- DesignRelation.cs
- ImageMap.cs
- PriorityItem.cs
- SystemException.cs
- UnsafeNativeMethods.cs
- WizardForm.cs
- IPEndPoint.cs
- ToolStripPanelRenderEventArgs.cs
- ContentTextAutomationPeer.cs
- CodeDomDesignerLoader.cs
- DbFunctionCommandTree.cs
- RSAOAEPKeyExchangeFormatter.cs
- ConfigurationLocationCollection.cs
- ComplexPropertyEntry.cs
- TextCharacters.cs
- DigitShape.cs
- SchemaImporterExtensionElement.cs
- DocumentGridContextMenu.cs
- BoolExpressionVisitors.cs
- NamespaceTable.cs
- CharacterHit.cs
- XmlSchemaAnnotation.cs
- InputMethod.cs
- ServiceNotStartedException.cs
- XmlSchemaCollection.cs
- Knowncolors.cs
- ToolBarPanel.cs
- SerializationFieldInfo.cs
- XPathCompiler.cs
- SourceElementsCollection.cs
- TypedTableBase.cs
- wgx_sdk_version.cs
- WebFaultClientMessageInspector.cs
- PageWrapper.cs
- DbBuffer.cs
- AmbientValueAttribute.cs
- TextBoxDesigner.cs
- MouseBinding.cs
- SiteMapProvider.cs
- Clock.cs
- SiteMapNode.cs
- ConcurrentBag.cs
- ArgumentNullException.cs
- StringToken.cs
- ChangeNode.cs
- ClaimSet.cs
- WeakEventManager.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Helpers.cs
- InternalCache.cs
- UIElementPropertyUndoUnit.cs
- DbMetaDataFactory.cs
- ListControl.cs
- controlskin.cs
- WindowsScroll.cs
- NamespaceEmitter.cs
- NumberSubstitution.cs
- FrameworkElementAutomationPeer.cs
- Literal.cs
- SelectedGridItemChangedEvent.cs
- AsymmetricSecurityProtocolFactory.cs