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
- OutputCacheProfileCollection.cs
- Unit.cs
- SecurityTokenTypes.cs
- WinFormsUtils.cs
- SingleAnimationUsingKeyFrames.cs
- TextEditorSelection.cs
- ButtonBaseAutomationPeer.cs
- PaintEvent.cs
- LinkTarget.cs
- AudioFormatConverter.cs
- _NativeSSPI.cs
- HttpListenerResponse.cs
- COAUTHIDENTITY.cs
- NamedPipeProcessProtocolHandler.cs
- TemplateNameScope.cs
- SqlBulkCopy.cs
- ArglessEventHandlerProxy.cs
- Bold.cs
- SspiNegotiationTokenAuthenticator.cs
- ScriptResourceAttribute.cs
- TcpChannelHelper.cs
- UnSafeCharBuffer.cs
- FileEnumerator.cs
- Storyboard.cs
- CloseSequence.cs
- WebPartUtil.cs
- WorkflowTransactionService.cs
- CorrelationToken.cs
- XmlReflectionMember.cs
- ProfilePropertyMetadata.cs
- FileReservationCollection.cs
- MetadataArtifactLoaderComposite.cs
- MemberCollection.cs
- NamedPipeTransportSecurity.cs
- HostedElements.cs
- X509SecurityTokenAuthenticator.cs
- CodeParameterDeclarationExpressionCollection.cs
- LocalIdKeyIdentifierClause.cs
- PersistenceTypeAttribute.cs
- XmlSchemaAll.cs
- FormViewActionList.cs
- BoolExpr.cs
- RadialGradientBrush.cs
- HasActivatableWorkflowEvent.cs
- RegexBoyerMoore.cs
- SpoolingTask.cs
- ControlPropertyNameConverter.cs
- DataSourceCache.cs
- ReadOnlyKeyedCollection.cs
- XmlWellformedWriter.cs
- XmlSiteMapProvider.cs
- BrowserDefinitionCollection.cs
- WsatRegistrationHeader.cs
- DbConnectionPoolGroupProviderInfo.cs
- ClickablePoint.cs
- DataContract.cs
- ReachPrintTicketSerializerAsync.cs
- Renderer.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ClientApiGenerator.cs
- WizardStepBase.cs
- XmlBinaryReader.cs
- EventItfInfo.cs
- COM2Properties.cs
- PrimitiveType.cs
- MessageSecurityOverMsmqElement.cs
- IFlowDocumentViewer.cs
- OracleColumn.cs
- HashHelper.cs
- InheritablePropertyChangeInfo.cs
- Win32.cs
- SqlDataSourceCustomCommandEditor.cs
- COM2Enum.cs
- Vector3DKeyFrameCollection.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- Oid.cs
- DataGridColumnStyleMappingNameEditor.cs
- EmptyQuery.cs
- ConfigurationSectionGroup.cs
- RangeValuePattern.cs
- DateTimeOffsetAdapter.cs
- CompletedAsyncResult.cs
- TextTreeRootNode.cs
- VisualStyleRenderer.cs
- ValidatingPropertiesEventArgs.cs
- Directory.cs
- ThreadPoolTaskScheduler.cs
- TableCell.cs
- DefaultAssemblyResolver.cs
- SvcMapFileLoader.cs
- SchemaLookupTable.cs
- WmlObjectListAdapter.cs
- IntegerValidatorAttribute.cs
- DeviceContext2.cs
- NamespaceDecl.cs
- Expressions.cs
- ActivatedMessageQueue.cs
- XmlReflectionMember.cs
- WindowShowOrOpenTracker.cs
- OdbcFactory.cs