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 / DesignerTransactionCloseEvent.cs / 1 / 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
- TextAdaptor.cs
- FormsAuthenticationUserCollection.cs
- ProviderUtil.cs
- Scalars.cs
- PenContext.cs
- CompilerResults.cs
- ToolStripDropDown.cs
- GlobalItem.cs
- SortQuery.cs
- BufferModeSettings.cs
- TypeSystemProvider.cs
- SetMemberBinder.cs
- _HelperAsyncResults.cs
- UInt64.cs
- NGCUIElementCollectionSerializerAsync.cs
- RawStylusSystemGestureInputReport.cs
- VersionedStream.cs
- Semaphore.cs
- CompositeActivityCodeGenerator.cs
- ProbeMatchesMessageCD1.cs
- MethodCallConverter.cs
- DynamicObject.cs
- ControlValuePropertyAttribute.cs
- ErrorWebPart.cs
- URLMembershipCondition.cs
- InvalidFilterCriteriaException.cs
- FormClosedEvent.cs
- BamlBinaryReader.cs
- OleStrCAMarshaler.cs
- TypeExtensionConverter.cs
- PairComparer.cs
- EncodingInfo.cs
- CodeExpressionRuleDeclaration.cs
- SqlTriggerContext.cs
- ToolStripContentPanel.cs
- SqlReferenceCollection.cs
- ObjectDisposedException.cs
- ResourcePermissionBaseEntry.cs
- PerfService.cs
- FormsAuthentication.cs
- Graphics.cs
- Certificate.cs
- PeerConnector.cs
- ParameterEditorUserControl.cs
- DirectionalLight.cs
- TTSEvent.cs
- EventLevel.cs
- StylusTip.cs
- DesignerForm.cs
- Rotation3DAnimation.cs
- InternalBufferOverflowException.cs
- WsdlHelpGeneratorElement.cs
- ValuePattern.cs
- CodeExporter.cs
- FormViewInsertedEventArgs.cs
- LingerOption.cs
- loginstatus.cs
- DataGridViewCellCollection.cs
- FrameworkEventSource.cs
- OracleDateTime.cs
- RelationshipSet.cs
- DesignerActionHeaderItem.cs
- DataKeyCollection.cs
- ColumnResult.cs
- ModelVisual3D.cs
- SignedXml.cs
- DiscoveryEndpointValidator.cs
- remotingproxy.cs
- IPEndPoint.cs
- CatalogPartDesigner.cs
- ProcessModule.cs
- GAC.cs
- TextChangedEventArgs.cs
- ProcessHost.cs
- SqlBuilder.cs
- ThreadAbortException.cs
- IdentityReference.cs
- SourceLocation.cs
- SqlDataSourceCache.cs
- nulltextnavigator.cs
- MethodSet.cs
- DefaultValueTypeConverter.cs
- TreeChangeInfo.cs
- HandlerFactoryWrapper.cs
- DynamicRendererThreadManager.cs
- IISMapPath.cs
- XmlAttributeOverrides.cs
- DesignTimeXamlWriter.cs
- StateChangeEvent.cs
- RegexWorker.cs
- EntityClientCacheEntry.cs
- ShortcutKeysEditor.cs
- ExpandCollapseProviderWrapper.cs
- SelectionUIHandler.cs
- PersonalizableAttribute.cs
- _AuthenticationState.cs
- ProxyFragment.cs
- DockProviderWrapper.cs
- XmlSchemaType.cs
- XpsSerializationManager.cs