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
- MediaPlayer.cs
- RecognizedAudio.cs
- Events.cs
- EnumValidator.cs
- ContextStaticAttribute.cs
- Pair.cs
- HyperlinkAutomationPeer.cs
- ByteFacetDescriptionElement.cs
- CacheForPrimitiveTypes.cs
- XamlBuildProvider.cs
- InternalCache.cs
- ActivityBindForm.Designer.cs
- ModifierKeysConverter.cs
- GPStream.cs
- MimeFormatter.cs
- DesignerToolStripControlHost.cs
- MouseActionValueSerializer.cs
- SafeLibraryHandle.cs
- SystemColors.cs
- LinkButton.cs
- ListMarkerLine.cs
- oledbmetadatacollectionnames.cs
- XmlSerializerOperationGenerator.cs
- SkinIDTypeConverter.cs
- FilterElement.cs
- OledbConnectionStringbuilder.cs
- ClientTargetCollection.cs
- RandomNumberGenerator.cs
- PropertyNames.cs
- DataGridViewColumn.cs
- LayoutSettings.cs
- EntityDesignerUtils.cs
- CompositeFontFamily.cs
- sqlpipe.cs
- ScrollProperties.cs
- MsmqIntegrationBindingElement.cs
- TemplateControlBuildProvider.cs
- CodeDomDesignerLoader.cs
- NavigationWindow.cs
- Misc.cs
- RemoteWebConfigurationHost.cs
- ComboBoxItem.cs
- FrameworkObject.cs
- Simplifier.cs
- DateTimeOffsetStorage.cs
- CodeGroup.cs
- DirtyTextRange.cs
- EventLogStatus.cs
- CodeDelegateInvokeExpression.cs
- AdornerDecorator.cs
- StylusLogic.cs
- FileDataSourceCache.cs
- StrokeCollectionDefaultValueFactory.cs
- MergeFailedEvent.cs
- RequestCacheManager.cs
- EntityContainerAssociationSetEnd.cs
- XmlException.cs
- _BasicClient.cs
- MimeTypePropertyAttribute.cs
- PlacementWorkspace.cs
- ComboBox.cs
- HelpProvider.cs
- CompiledQueryCacheKey.cs
- QuaternionValueSerializer.cs
- ControlValuePropertyAttribute.cs
- BitmapEffectState.cs
- ISO2022Encoding.cs
- DiscoveryDocument.cs
- HttpResponse.cs
- InputBinder.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- String.cs
- DPTypeDescriptorContext.cs
- BackoffTimeoutHelper.cs
- DBSqlParserTableCollection.cs
- ConnectionProviderAttribute.cs
- PropertyStore.cs
- FormsAuthenticationUser.cs
- DBCommandBuilder.cs
- EtwTrace.cs
- NamespaceDisplay.xaml.cs
- BasicAsyncResult.cs
- DummyDataSource.cs
- RootBrowserWindowProxy.cs
- XmlArrayItemAttribute.cs
- ObjectStorage.cs
- AppLevelCompilationSectionCache.cs
- PartitionerQueryOperator.cs
- XslAstAnalyzer.cs
- Errors.cs
- DataSourceXmlAttributeAttribute.cs
- FindCriteriaElement.cs
- ServiceReference.cs
- ServiceCredentialsSecurityTokenManager.cs
- XmlSchemaAll.cs
- Privilege.cs
- SettingsPropertyValue.cs
- InfoCardSymmetricAlgorithm.cs
- DynamicExpression.cs
- TouchEventArgs.cs