Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XmlILStorageConverter.cs
- MergablePropertyAttribute.cs
- CapabilitiesRule.cs
- MultipleFilterMatchesException.cs
- PointAnimationUsingPath.cs
- _CommandStream.cs
- StructuredTypeEmitter.cs
- UpDownEvent.cs
- PingOptions.cs
- CodeRegionDirective.cs
- TrackingLocation.cs
- OrElse.cs
- PreProcessInputEventArgs.cs
- GrammarBuilderBase.cs
- FunctionDescription.cs
- DescendantOverDescendantQuery.cs
- PageHandlerFactory.cs
- SchemaMerger.cs
- documentation.cs
- SEHException.cs
- WMIInterop.cs
- ScriptControlDescriptor.cs
- MetaDataInfo.cs
- Dump.cs
- TextEffect.cs
- TrackBar.cs
- Regex.cs
- StringArrayConverter.cs
- ObjectAnimationUsingKeyFrames.cs
- LogLogRecord.cs
- XmlSchemaType.cs
- UserControl.cs
- LoginCancelEventArgs.cs
- RegisteredHiddenField.cs
- DataControlFieldHeaderCell.cs
- TextElementEditingBehaviorAttribute.cs
- RowToParametersTransformer.cs
- Paragraph.cs
- TextModifier.cs
- XamlFigureLengthSerializer.cs
- SolidColorBrush.cs
- CodeEventReferenceExpression.cs
- TimeBoundedCache.cs
- DecodeHelper.cs
- ThreadStaticAttribute.cs
- MimeFormatter.cs
- Size.cs
- ChangePassword.cs
- LingerOption.cs
- TrackBarRenderer.cs
- XPathBinder.cs
- SmiMetaData.cs
- AdapterDictionary.cs
- StoreContentChangedEventArgs.cs
- ButtonBase.cs
- validation.cs
- VBCodeProvider.cs
- WebProxyScriptElement.cs
- ObservableDictionary.cs
- ApplicationInfo.cs
- ByteStream.cs
- DictionaryContent.cs
- MenuCommandsChangedEventArgs.cs
- TreeView.cs
- ConfigViewGenerator.cs
- InlineObject.cs
- DataGridSortingEventArgs.cs
- WindowsListViewItem.cs
- SplineKeyFrames.cs
- smtpconnection.cs
- TreeNodeConverter.cs
- ContextDataSourceContextData.cs
- IconEditor.cs
- DbParameterCollection.cs
- PiiTraceSource.cs
- Transform3D.cs
- UrlAuthorizationModule.cs
- SqlStream.cs
- SiteMapProvider.cs
- UndoManager.cs
- HttpCapabilitiesSectionHandler.cs
- BitmapCodecInfoInternal.cs
- ComponentSerializationService.cs
- MostlySingletonList.cs
- SqlProcedureAttribute.cs
- PropertyState.cs
- NetworkInformationPermission.cs
- ItemsChangedEventArgs.cs
- COM2IDispatchConverter.cs
- HandlerFactoryWrapper.cs
- InputProviderSite.cs
- HtmlShimManager.cs
- BaseProcessor.cs
- ConditionChanges.cs
- FactoryRecord.cs
- Margins.cs
- IisTraceWebEventProvider.cs
- ScaleTransform3D.cs
- SQLResource.cs
- KnownColorTable.cs