Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- BrowserCapabilitiesFactory.cs
- Storyboard.cs
- WindowsAuthenticationModule.cs
- DependencyProperty.cs
- IndexedString.cs
- StringToken.cs
- JsonWriterDelegator.cs
- XmlSchemaComplexContentRestriction.cs
- querybuilder.cs
- DefaultAsyncDataDispatcher.cs
- ViewManager.cs
- ListViewUpdateEventArgs.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- TableHeaderCell.cs
- FloaterBaseParaClient.cs
- WebPartConnectionCollection.cs
- XmlNamespaceDeclarationsAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- CatalogZone.cs
- XmlEntityReference.cs
- _CacheStreams.cs
- XsltContext.cs
- DummyDataSource.cs
- TableSectionStyle.cs
- DelegatedStream.cs
- HebrewNumber.cs
- TextEditorTyping.cs
- NavigationCommands.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- EdmToObjectNamespaceMap.cs
- ErrorInfoXmlDocument.cs
- RectangleGeometry.cs
- SamlAudienceRestrictionCondition.cs
- FtpWebRequest.cs
- ScriptMethodAttribute.cs
- StrokeNodeEnumerator.cs
- RoleGroupCollection.cs
- httpstaticobjectscollection.cs
- Hash.cs
- TreeNodeStyleCollection.cs
- AttachedProperty.cs
- XmlNamedNodeMap.cs
- HostAdapter.cs
- ControlPaint.cs
- SchemaImporter.cs
- CounterCreationData.cs
- WebAdminConfigurationHelper.cs
- IUnknownConstantAttribute.cs
- GlyphShapingProperties.cs
- MetadataCache.cs
- LocatorPart.cs
- PassportIdentity.cs
- XmlEnumAttribute.cs
- BuildProviderCollection.cs
- EpmHelper.cs
- MDIControlStrip.cs
- MenuItemBindingCollection.cs
- COAUTHIDENTITY.cs
- Renderer.cs
- StringReader.cs
- VSWCFServiceContractGenerator.cs
- BinaryReader.cs
- RangeValuePatternIdentifiers.cs
- ObjectStateManager.cs
- WindowProviderWrapper.cs
- UserUseLicenseDictionaryLoader.cs
- SecurityRuntime.cs
- FontCacheUtil.cs
- SafeLibraryHandle.cs
- WebPartConnectionsEventArgs.cs
- PageStatePersister.cs
- CompositeControl.cs
- UnmanagedMemoryStream.cs
- CellIdBoolean.cs
- FileIOPermission.cs
- MobileSysDescriptionAttribute.cs
- TableParaClient.cs
- MsmqIntegrationInputMessage.cs
- MeasureData.cs
- WindowsListViewItem.cs
- FixedTextSelectionProcessor.cs
- XPathNavigatorReader.cs
- TabControlEvent.cs
- base64Transforms.cs
- Application.cs
- HoistedLocals.cs
- NotImplementedException.cs
- TraceRecord.cs
- Label.cs
- SectionXmlInfo.cs
- SqlClientMetaDataCollectionNames.cs
- PeerTransportSecuritySettings.cs
- DetailsViewPageEventArgs.cs
- DataStorage.cs
- ExceptionValidationRule.cs
- XmlStringTable.cs
- MembershipUser.cs
- AnnotationResourceChangedEventArgs.cs
- TraceEventCache.cs
- WmlPhoneCallAdapter.cs