Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- OptionalColumn.cs
- SqlServer2KCompatibilityAnnotation.cs
- NonVisualControlAttribute.cs
- CustomAttributeSerializer.cs
- StreamGeometryContext.cs
- WindowsSecurityToken.cs
- OutputScopeManager.cs
- SqlNamer.cs
- ResourceWriter.cs
- RefreshPropertiesAttribute.cs
- SchemaTableOptionalColumn.cs
- Relationship.cs
- DbgCompiler.cs
- NameTable.cs
- SerialErrors.cs
- SinglePhaseEnlistment.cs
- ObjectPersistData.cs
- XmlBinaryWriter.cs
- ProcessThreadCollection.cs
- InputBinder.cs
- WindowsProgressbar.cs
- ObjectNavigationPropertyMapping.cs
- RotateTransform3D.cs
- SystemWebCachingSectionGroup.cs
- EncryptedPackageFilter.cs
- UrlRoutingModule.cs
- MgmtResManager.cs
- WS2007HttpBindingElement.cs
- UseLicense.cs
- GridViewRowPresenterBase.cs
- DocumentPageTextView.cs
- AssociatedControlConverter.cs
- FunctionDetailsReader.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- DataGridViewHitTestInfo.cs
- unsafenativemethodsother.cs
- PropertyDescriptorGridEntry.cs
- WmlCalendarAdapter.cs
- DataColumn.cs
- ToolStripArrowRenderEventArgs.cs
- FactoryGenerator.cs
- PenThreadWorker.cs
- RepeaterItem.cs
- SamlDelegatingWriter.cs
- UnaryNode.cs
- AsyncDataRequest.cs
- SystemFonts.cs
- ResponseBodyWriter.cs
- DriveNotFoundException.cs
- SQLDateTime.cs
- PolyBezierSegment.cs
- LiteralLink.cs
- RecognitionEventArgs.cs
- PieceNameHelper.cs
- Metafile.cs
- XamlBuildTaskServices.cs
- oledbconnectionstring.cs
- CookieHandler.cs
- HtmlDocument.cs
- CodeActivity.cs
- XmlChildEnumerator.cs
- iisPickupDirectory.cs
- CounterCreationData.cs
- BinaryMessageEncodingElement.cs
- SqlDataSourceCommandEventArgs.cs
- MouseEvent.cs
- NameValueSectionHandler.cs
- CustomPopupPlacement.cs
- TextBounds.cs
- CustomValidator.cs
- UrlMappingsSection.cs
- Utilities.cs
- HWStack.cs
- Brush.cs
- followingquery.cs
- WsatRegistrationHeader.cs
- ConfigXmlText.cs
- Update.cs
- WorkflowHostingEndpoint.cs
- BufferedGraphicsContext.cs
- OleDbRowUpdatedEvent.cs
- _PooledStream.cs
- ExpressionEditor.cs
- Token.cs
- NonVisualControlAttribute.cs
- PropertyDescriptor.cs
- StrokeIntersection.cs
- TemplateParser.cs
- DecoderNLS.cs
- RegexStringValidatorAttribute.cs
- RewritingSimplifier.cs
- Choices.cs
- ContextMenu.cs
- OrCondition.cs
- ImportCatalogPart.cs
- CodeTypeReferenceCollection.cs
- XmlSchemaSequence.cs
- XsdDuration.cs
- BridgeDataRecord.cs
- SplitContainer.cs