Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BaseUriWithWildcard.cs
- AssemblyAssociatedContentFileAttribute.cs
- WorkflowDefinitionDispenser.cs
- ClientScriptManagerWrapper.cs
- WorkflowRuntime.cs
- MasterPageParser.cs
- ObjectCloneHelper.cs
- FontInfo.cs
- DataListItem.cs
- DashStyle.cs
- CompModHelpers.cs
- NativeMethods.cs
- UrlMappingsModule.cs
- ErrorTableItemStyle.cs
- BitmapCacheBrush.cs
- OutputCacheSettings.cs
- XmlAttributeOverrides.cs
- ChannelFactoryRefCache.cs
- XmlExpressionDumper.cs
- UserPersonalizationStateInfo.cs
- FilterException.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- JsonFormatGeneratorStatics.cs
- CookielessHelper.cs
- SystemSounds.cs
- OracleTimeSpan.cs
- SqlTypesSchemaImporter.cs
- Vector3DCollection.cs
- WinFormsUtils.cs
- DataProviderNameConverter.cs
- AssociationType.cs
- GlyphElement.cs
- StringValidatorAttribute.cs
- WebErrorHandler.cs
- GatewayDefinition.cs
- Triangle.cs
- glyphs.cs
- PolicyImporterElement.cs
- CompatibleIComparer.cs
- OdbcConnectionStringbuilder.cs
- DbProviderManifest.cs
- DictionaryBase.cs
- PassportAuthentication.cs
- updateconfighost.cs
- NativeMethods.cs
- BindingValueChangedEventArgs.cs
- ElapsedEventArgs.cs
- AddressingProperty.cs
- PersonalizationDictionary.cs
- AuthorizationContext.cs
- PixelFormat.cs
- IriParsingElement.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DesignerSerializationManager.cs
- Opcode.cs
- MetadataUtilsSmi.cs
- Vector3dCollection.cs
- DoubleAnimationUsingPath.cs
- XmlTextReaderImplHelpers.cs
- BasicViewGenerator.cs
- IpcServerChannel.cs
- VersionPair.cs
- ReferencedType.cs
- UndoManager.cs
- TemplateContent.cs
- TimeSpanSecondsConverter.cs
- AutoGeneratedField.cs
- ResourceSetExpression.cs
- PlanCompilerUtil.cs
- RuleRef.cs
- PasswordTextContainer.cs
- ServiceNameElementCollection.cs
- CollectionMarkupSerializer.cs
- Preprocessor.cs
- DocumentEventArgs.cs
- SqlConnectionHelper.cs
- DecimalFormatter.cs
- webeventbuffer.cs
- WebPartEditVerb.cs
- AxisAngleRotation3D.cs
- DateTimeFormat.cs
- ResourceManager.cs
- HwndSubclass.cs
- Thread.cs
- Filter.cs
- Native.cs
- InputLanguageSource.cs
- UnmanagedMarshal.cs
- webproxy.cs
- SymbolTable.cs
- HttpClientChannel.cs
- ClockGroup.cs
- ParameterCollectionEditor.cs
- ControlParameter.cs
- InputGestureCollection.cs
- Int64Animation.cs
- NotCondition.cs
- XsltQilFactory.cs
- storagemappingitemcollection.viewdictionary.cs
- SimpleHandlerFactory.cs