Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TypeUtils.cs
- HoistedLocals.cs
- BitConverter.cs
- GeneralTransform2DTo3D.cs
- ToolStripOverflowButton.cs
- HyperLinkColumn.cs
- ArgumentValidation.cs
- ColumnClickEvent.cs
- GifBitmapEncoder.cs
- PrivilegeNotHeldException.cs
- SByteConverter.cs
- GcHandle.cs
- SequentialActivityDesigner.cs
- AvTraceFormat.cs
- StrongNameIdentityPermission.cs
- ADMembershipProvider.cs
- SortExpressionBuilder.cs
- XmlSiteMapProvider.cs
- TemplateAction.cs
- StyleTypedPropertyAttribute.cs
- MemoryRecordBuffer.cs
- QuotedStringFormatReader.cs
- ClaimTypeElement.cs
- DataGridViewLinkColumn.cs
- WebPartEditorApplyVerb.cs
- BitmapSourceSafeMILHandle.cs
- Utility.cs
- OptimizerPatterns.cs
- EventlogProvider.cs
- MediaElement.cs
- _ListenerResponseStream.cs
- TransactionState.cs
- DataStorage.cs
- XPathCompileException.cs
- FixedSOMTableRow.cs
- GeometryGroup.cs
- XmlNodeList.cs
- Adorner.cs
- Hashtable.cs
- SapiInterop.cs
- OutputScopeManager.cs
- ProxyElement.cs
- SaveRecipientRequest.cs
- WinFormsSpinner.cs
- HostSecurityManager.cs
- DataGridCellInfo.cs
- Point3DAnimation.cs
- BoundPropertyEntry.cs
- TextBoxAutoCompleteSourceConverter.cs
- Function.cs
- ParentQuery.cs
- DataGridView.cs
- CodeAttributeArgumentCollection.cs
- Lasso.cs
- ListViewGroup.cs
- NetworkInformationPermission.cs
- CryptoKeySecurity.cs
- SystemIPInterfaceStatistics.cs
- RotateTransform3D.cs
- SystemTcpConnection.cs
- TracePayload.cs
- TextFormatterContext.cs
- TimeSpanMinutesConverter.cs
- InProcStateClientManager.cs
- LineServices.cs
- Freezable.cs
- FormattedText.cs
- XmlAnyElementAttribute.cs
- CompressEmulationStream.cs
- SupportingTokenBindingElement.cs
- XmlEntityReference.cs
- TabPage.cs
- ExtenderProvidedPropertyAttribute.cs
- Crypto.cs
- HandleRef.cs
- xmlglyphRunInfo.cs
- SqlAggregateChecker.cs
- OdbcConnectionFactory.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- TypeResolver.cs
- DependencyObjectProvider.cs
- CodeCompileUnit.cs
- RectAnimation.cs
- GetLedgerRequest.cs
- TextEndOfSegment.cs
- CollectionViewSource.cs
- CursorInteropHelper.cs
- AccessDataSourceDesigner.cs
- DelegateSerializationHolder.cs
- AdapterUtil.cs
- designeractionbehavior.cs
- DataPagerCommandEventArgs.cs
- HtmlInputReset.cs
- FloatMinMaxAggregationOperator.cs
- DashStyles.cs
- PolyQuadraticBezierSegment.cs
- HttpChannelBindingToken.cs
- ObfuscationAttribute.cs
- Activation.cs
- MailAddressCollection.cs