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
- EntityClassGenerator.cs
- BamlVersionHeader.cs
- RelationshipDetailsRow.cs
- SoapExtensionImporter.cs
- XmlSchemaDatatype.cs
- ProcessHost.cs
- TimeoutValidationAttribute.cs
- _ListenerRequestStream.cs
- OracleConnectionFactory.cs
- Win32NamedPipes.cs
- SafeProcessHandle.cs
- HttpRequestMessageProperty.cs
- VirtualizingPanel.cs
- commandenforcer.cs
- dbdatarecord.cs
- DataGridAddNewRow.cs
- xmlfixedPageInfo.cs
- Opcode.cs
- TextTabProperties.cs
- SearchForVirtualItemEventArgs.cs
- MemoryResponseElement.cs
- Repeater.cs
- DataBoundControl.cs
- DataBindingHandlerAttribute.cs
- Serializer.cs
- MessagingDescriptionAttribute.cs
- GeneralTransformCollection.cs
- ElementNotEnabledException.cs
- mediapermission.cs
- DataPointer.cs
- CorrelationManager.cs
- DragSelectionMessageFilter.cs
- OutKeywords.cs
- ConfigXmlElement.cs
- TdsParserStaticMethods.cs
- HtmlInputControl.cs
- TypefaceMetricsCache.cs
- DataGridViewCheckBoxCell.cs
- ListParaClient.cs
- CodeDomSerializationProvider.cs
- TreePrinter.cs
- ConfigurationPropertyAttribute.cs
- CodeTypeReferenceSerializer.cs
- XmlSchemaInfo.cs
- Soap.cs
- ResponseBodyWriter.cs
- ContentDisposition.cs
- TimeStampChecker.cs
- EventItfInfo.cs
- SqlStream.cs
- DetailsViewInsertEventArgs.cs
- pingexception.cs
- GradientStopCollection.cs
- AppSettingsExpressionBuilder.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- CurrentChangingEventManager.cs
- BindingWorker.cs
- LicenseException.cs
- MemberAccessException.cs
- ToolBarPanel.cs
- FixedMaxHeap.cs
- SlipBehavior.cs
- SpeakCompletedEventArgs.cs
- HitTestWithGeometryDrawingContextWalker.cs
- QuarticEase.cs
- SqlDependencyListener.cs
- UserNameSecurityTokenParameters.cs
- ExceptionRoutedEventArgs.cs
- contentDescriptor.cs
- PropertyValueUIItem.cs
- StopStoryboard.cs
- CodeTypeReference.cs
- SAPIEngineTypes.cs
- IconConverter.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- DataGridCommandEventArgs.cs
- SamlSubject.cs
- IdentifierCreationService.cs
- ColorContextHelper.cs
- LineGeometry.cs
- FullTextState.cs
- EventLevel.cs
- StrongTypingException.cs
- SchemaLookupTable.cs
- BypassElementCollection.cs
- iisPickupDirectory.cs
- SqlParameterizer.cs
- TimeEnumHelper.cs
- TemplatePropertyEntry.cs
- XPathDocumentBuilder.cs
- FtpWebResponse.cs
- Item.cs
- PolyQuadraticBezierSegment.cs
- RangeValidator.cs
- HatchBrush.cs
- MaskInputRejectedEventArgs.cs
- TypeNameConverter.cs
- TimeSpanFormat.cs
- DataGridViewToolTip.cs
- StringUtil.cs