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
- TextControl.cs
- RadioButton.cs
- Int64Converter.cs
- OpCellTreeNode.cs
- UTF8Encoding.cs
- _IPv4Address.cs
- Sql8ExpressionRewriter.cs
- TerminatorSinks.cs
- NameScopePropertyAttribute.cs
- ListItem.cs
- HitTestWithPointDrawingContextWalker.cs
- XmlWrappingWriter.cs
- TypeConverters.cs
- SplitterPanel.cs
- AccessKeyManager.cs
- InitializeCorrelation.cs
- ContractListAdapter.cs
- XmlReflectionMember.cs
- TypefaceMetricsCache.cs
- DataGridColumnCollection.cs
- ObjectResult.cs
- SafePipeHandle.cs
- HttpHandlerActionCollection.cs
- FolderLevelBuildProviderCollection.cs
- IUnknownConstantAttribute.cs
- ListView.cs
- DataGridViewColumnHeaderCell.cs
- DrawingCollection.cs
- DateTimeHelper.cs
- XPathDescendantIterator.cs
- FixedDocumentSequencePaginator.cs
- VariableQuery.cs
- BaseCodePageEncoding.cs
- DesignerEventService.cs
- COM2FontConverter.cs
- columnmapkeybuilder.cs
- AudioException.cs
- DefaultTraceListener.cs
- MeshGeometry3D.cs
- EventLevel.cs
- MonikerUtility.cs
- NameValueCollection.cs
- AccessText.cs
- WebBrowserContainer.cs
- HandlerFactoryCache.cs
- IndicCharClassifier.cs
- DynamicValueConverter.cs
- InputProcessorProfilesLoader.cs
- CheckBoxAutomationPeer.cs
- WebPartCatalogCloseVerb.cs
- Utils.cs
- ConditionChanges.cs
- SplineQuaternionKeyFrame.cs
- XmlWriterSettings.cs
- XPathNavigatorKeyComparer.cs
- ObjectSecurity.cs
- ApplicationFileParser.cs
- InstalledFontCollection.cs
- ContextMenu.cs
- BitmapSizeOptions.cs
- RunInstallerAttribute.cs
- ContentElement.cs
- SafeWaitHandle.cs
- StateRuntime.cs
- CornerRadiusConverter.cs
- Track.cs
- QueryStringParameter.cs
- CompositeControl.cs
- ListViewAutomationPeer.cs
- SemaphoreSecurity.cs
- SqlGenericUtil.cs
- ScrollBarAutomationPeer.cs
- XslException.cs
- HtmlMeta.cs
- ConfigXmlWhitespace.cs
- XmlElementAttribute.cs
- BaseHashHelper.cs
- ExpressionVisitor.cs
- SqlGenerator.cs
- SessionStateSection.cs
- HotSpotCollection.cs
- HotSpotCollection.cs
- InputProviderSite.cs
- XmlQualifiedName.cs
- ThicknessKeyFrameCollection.cs
- XPathNodeIterator.cs
- LazyLoadBehavior.cs
- ModelPropertyDescriptor.cs
- ServiceReference.cs
- StructuredProperty.cs
- Config.cs
- PreviewPageInfo.cs
- DbParameterCollectionHelper.cs
- QuaternionRotation3D.cs
- FrameworkContentElement.cs
- ValidationErrorEventArgs.cs
- DependentList.cs
- OciHandle.cs
- BinaryEditor.cs
- RangeValueProviderWrapper.cs