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
- SafeCoTaskMem.cs
- CategoryNameCollection.cs
- MarshalByValueComponent.cs
- InvalidComObjectException.cs
- ActivityPropertyReference.cs
- XmlNodeList.cs
- XmlAttribute.cs
- ISSmlParser.cs
- ErrorProvider.cs
- HideDisabledControlAdapter.cs
- XmlName.cs
- SettingsContext.cs
- ToolStripContextMenu.cs
- XmlDesigner.cs
- PersonalizablePropertyEntry.cs
- ScalarType.cs
- DataGrid.cs
- CookieHandler.cs
- DropAnimation.xaml.cs
- State.cs
- ChannelCredentials.cs
- MD5Cng.cs
- XPathCompiler.cs
- coordinatorfactory.cs
- KeyInterop.cs
- StylusOverProperty.cs
- XmlSchemaImport.cs
- TraceXPathNavigator.cs
- Transform.cs
- TCPClient.cs
- DialogBaseForm.cs
- WeakHashtable.cs
- WeakKeyDictionary.cs
- SimplePropertyEntry.cs
- ClosableStream.cs
- Focus.cs
- CacheDependency.cs
- AmbientEnvironment.cs
- _AutoWebProxyScriptHelper.cs
- RoutedEventHandlerInfo.cs
- DefaultEventAttribute.cs
- remotingproxy.cs
- MetadataFile.cs
- CollectionDataContractAttribute.cs
- ParameterCollection.cs
- ViewManagerAttribute.cs
- XmlWriterDelegator.cs
- EventEntry.cs
- Content.cs
- _CacheStreams.cs
- CommentAction.cs
- ListManagerBindingsCollection.cs
- Module.cs
- MarkupObject.cs
- ExceptionRoutedEventArgs.cs
- XmlReturnReader.cs
- HostedNamedPipeTransportManager.cs
- FeatureSupport.cs
- SmuggledIUnknown.cs
- ExtensionCollection.cs
- TextLine.cs
- precedingsibling.cs
- PerformanceCounterScope.cs
- dataobject.cs
- FlowDocument.cs
- UnderstoodHeaders.cs
- DynamicScriptObject.cs
- OciEnlistContext.cs
- XmlHierarchicalEnumerable.cs
- ReplyChannel.cs
- DeferredRunTextReference.cs
- DynamicValidatorEventArgs.cs
- DotExpr.cs
- InputScopeManager.cs
- TreeChangeInfo.cs
- MarshalByValueComponent.cs
- PrePrepareMethodAttribute.cs
- TcpChannelFactory.cs
- PaintEvent.cs
- DocumentViewerBase.cs
- ByteAnimationBase.cs
- ProfileServiceManager.cs
- PhonemeEventArgs.cs
- RoleService.cs
- DescendantBaseQuery.cs
- Margins.cs
- CollectionViewGroupInternal.cs
- GAC.cs
- InkCanvasSelection.cs
- PathGeometry.cs
- TypeLibConverter.cs
- HostedNamedPipeTransportManager.cs
- ValidationError.cs
- SerializationObjectManager.cs
- HtmlGenericControl.cs
- DefaultBinder.cs
- HttpConfigurationContext.cs
- ValidationVisibilityAttribute.cs
- RoleService.cs
- MenuEventArgs.cs