Code:
/ FX-1434 / FX-1434 / 1.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
- TextEditorParagraphs.cs
- ConfigurationSectionGroup.cs
- PropertyCollection.cs
- GroupDescription.cs
- BufferedGraphicsManager.cs
- DesignerView.Commands.cs
- MimeWriter.cs
- JsonReaderWriterFactory.cs
- CheckPair.cs
- PerformanceCounterLib.cs
- TaskFileService.cs
- DispatchProxy.cs
- MarginsConverter.cs
- ToolboxItem.cs
- XmlNamespaceManager.cs
- ToolBarButtonClickEvent.cs
- ChtmlTextBoxAdapter.cs
- ElementNotEnabledException.cs
- XmlSerializableWriter.cs
- DrawingContextWalker.cs
- AsymmetricKeyExchangeFormatter.cs
- cryptoapiTransform.cs
- DataBinding.cs
- COSERVERINFO.cs
- DecimalFormatter.cs
- FormsIdentity.cs
- SoapObjectInfo.cs
- NativeMethods.cs
- ServicePointManager.cs
- DataContractSerializerSection.cs
- ColumnWidthChangingEvent.cs
- BrowserDefinition.cs
- LabelDesigner.cs
- SmtpNtlmAuthenticationModule.cs
- ExpandableObjectConverter.cs
- PropertyItem.cs
- SafeCryptoHandles.cs
- ProgressBar.cs
- RetrieveVirtualItemEventArgs.cs
- CompositionTarget.cs
- PropertyPath.cs
- FixedSOMPageConstructor.cs
- CachedTypeface.cs
- ImageAnimator.cs
- OutputScope.cs
- TextOptions.cs
- SwitchCase.cs
- RefExpr.cs
- CorrelationInitializer.cs
- RemotingService.cs
- LogArchiveSnapshot.cs
- CellParagraph.cs
- Properties.cs
- SmtpFailedRecipientsException.cs
- sitestring.cs
- Window.cs
- SchemaImporter.cs
- PageBreakRecord.cs
- PeerDefaultCustomResolverClient.cs
- Win32Exception.cs
- TypeUsageBuilder.cs
- DataGridViewTopRowAccessibleObject.cs
- Graphics.cs
- Tokenizer.cs
- StaticSiteMapProvider.cs
- Memoizer.cs
- WmpBitmapEncoder.cs
- PageCodeDomTreeGenerator.cs
- BamlTreeNode.cs
- NamedPipeProcessProtocolHandler.cs
- DataStreamFromComStream.cs
- MemberPath.cs
- SqlBulkCopy.cs
- PathFigure.cs
- PerformanceCounterPermissionAttribute.cs
- WSHttpTransportSecurityElement.cs
- SqlMethodAttribute.cs
- MetadataHelper.cs
- Margins.cs
- Win32.cs
- DataGridColumnDropSeparator.cs
- PrintDialog.cs
- ConfigurationSchemaErrors.cs
- FixedPageAutomationPeer.cs
- AdCreatedEventArgs.cs
- RuleSet.cs
- PropertyGroupDescription.cs
- AssemblyInfo.cs
- TextTrailingWordEllipsis.cs
- DataGridViewColumnCollection.cs
- WebServiceErrorEvent.cs
- ContextStaticAttribute.cs
- CSharpCodeProvider.cs
- DateTimeValueSerializerContext.cs
- XmlSchemaExporter.cs
- ConfigurationLocation.cs
- DataGridViewButtonCell.cs
- UncommonField.cs
- XhtmlConformanceSection.cs
- DeviceContext2.cs