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
- DynamicValueConverter.cs
- HtmlMeta.cs
- KeyBinding.cs
- DesignTimeParseData.cs
- Timeline.cs
- ContentType.cs
- WinFormsComponentEditor.cs
- GradientStopCollection.cs
- Rfc2898DeriveBytes.cs
- EntityTransaction.cs
- EntityCommandDefinition.cs
- HandlerMappingMemo.cs
- PathSegment.cs
- CmsInterop.cs
- WebPartEditorOkVerb.cs
- ProtocolsConfigurationHandler.cs
- MatrixConverter.cs
- SchemaContext.cs
- XmlByteStreamReader.cs
- ControlIdConverter.cs
- formatstringdialog.cs
- MachineKey.cs
- XXXInfos.cs
- BitmapPalette.cs
- WebPartUtil.cs
- CompilationUtil.cs
- InplaceBitmapMetadataWriter.cs
- Misc.cs
- OneOfConst.cs
- ArrayList.cs
- Configuration.cs
- MasterPageBuildProvider.cs
- BindingMAnagerBase.cs
- MultiDataTrigger.cs
- CheckoutException.cs
- Activity.cs
- HtmlProps.cs
- Trace.cs
- MouseActionValueSerializer.cs
- PingReply.cs
- JsonXmlDataContract.cs
- DataContractAttribute.cs
- TabControlAutomationPeer.cs
- EditingScope.cs
- TextBoxBase.cs
- ListViewUpdateEventArgs.cs
- ToolStrip.cs
- SHA384Cng.cs
- UnsafeNativeMethods.cs
- UpdatePanelControlTrigger.cs
- LeaseManager.cs
- WindowsFormsHelpers.cs
- RuntimeUtils.cs
- PasswordBoxAutomationPeer.cs
- ImageField.cs
- ResourceWriter.cs
- WindowsIdentity.cs
- IPHostEntry.cs
- HtmlControlPersistable.cs
- XmlSignatureProperties.cs
- SvcMapFileLoader.cs
- DefaultMemberAttribute.cs
- CellIdBoolean.cs
- CssStyleCollection.cs
- BinaryWriter.cs
- HtmlCalendarAdapter.cs
- ObjectSpanRewriter.cs
- CultureInfoConverter.cs
- BinarySerializer.cs
- SystemFonts.cs
- recordstatefactory.cs
- BindToObject.cs
- OdbcParameter.cs
- InheritanceUI.cs
- StaticFileHandler.cs
- MenuAdapter.cs
- XmlSchemaValidationException.cs
- PenContext.cs
- InputScopeAttribute.cs
- ContextMenuService.cs
- EventManager.cs
- SmtpMail.cs
- AQNBuilder.cs
- _emptywebproxy.cs
- BCLDebug.cs
- ToolStripControlHost.cs
- SafeFileMappingHandle.cs
- HijriCalendar.cs
- PrintDialogException.cs
- VScrollBar.cs
- ClonableStack.cs
- WebDisplayNameAttribute.cs
- UpdateRecord.cs
- DataRecordInternal.cs
- OleDbParameter.cs
- SecureStringHasher.cs
- CodeArgumentReferenceExpression.cs
- DiscoveryOperationContext.cs
- ZipArchive.cs
- XhtmlConformanceSection.cs