Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / DesignerTransactionCloseEvent.cs / 1305376 / 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
- XmlHierarchyData.cs
- thaishape.cs
- XmlQualifiedName.cs
- ISFTagAndGuidCache.cs
- InfoCardTraceRecord.cs
- DebugHandleTracker.cs
- ContractValidationHelper.cs
- SchemaType.cs
- ExtensionFile.cs
- DataBoundControlDesigner.cs
- BinHexEncoder.cs
- WebBodyFormatMessageProperty.cs
- EtwTrackingParticipant.cs
- BinaryUtilClasses.cs
- AutomationIdentifier.cs
- ToolboxComponentsCreatingEventArgs.cs
- IgnoreDataMemberAttribute.cs
- CompareValidator.cs
- IChannel.cs
- NotImplementedException.cs
- XamlSerializationHelper.cs
- RangeValidator.cs
- BindingManagerDataErrorEventArgs.cs
- SqlProcedureAttribute.cs
- rsa.cs
- CompleteWizardStep.cs
- nulltextnavigator.cs
- AssemblyUtil.cs
- UInt64.cs
- ICollection.cs
- AVElementHelper.cs
- WrappedKeySecurityTokenParameters.cs
- XsltOutput.cs
- PriorityChain.cs
- FrameworkElementFactoryMarkupObject.cs
- TypedReference.cs
- CodeMemberMethod.cs
- PeerEndPoint.cs
- TextDecoration.cs
- DrawingDrawingContext.cs
- CompilerHelpers.cs
- NativeRecognizer.cs
- PersonalizationProviderCollection.cs
- Int32Rect.cs
- ProgressBar.cs
- ISessionStateStore.cs
- ScriptingProfileServiceSection.cs
- ClockController.cs
- xdrvalidator.cs
- XmlSerializationWriter.cs
- XPathDocumentIterator.cs
- NamedElement.cs
- XamlGridLengthSerializer.cs
- DataSysAttribute.cs
- AsyncCodeActivityContext.cs
- LongValidator.cs
- DocumentSchemaValidator.cs
- ConditionBrowserDialog.cs
- StringAnimationUsingKeyFrames.cs
- CompositionTarget.cs
- ViewGenResults.cs
- WorkflowMarkupSerializerMapping.cs
- SqlErrorCollection.cs
- SimpleWorkerRequest.cs
- ImageField.cs
- DBPropSet.cs
- WsrmMessageInfo.cs
- CodeDomDecompiler.cs
- DiscreteKeyFrames.cs
- InkCanvasAutomationPeer.cs
- CompositeControl.cs
- FrameworkTemplate.cs
- CapabilitiesState.cs
- ResourceContainer.cs
- AdministrationHelpers.cs
- BaseDataList.cs
- ThreadStaticAttribute.cs
- Automation.cs
- EventRouteFactory.cs
- unsafeIndexingFilterStream.cs
- XamlFilter.cs
- RectangleGeometry.cs
- PartialList.cs
- XmlConverter.cs
- HtmlEmptyTagControlBuilder.cs
- Style.cs
- TransformGroup.cs
- ProvidePropertyAttribute.cs
- Operators.cs
- SystemIPv6InterfaceProperties.cs
- OciHandle.cs
- FileSystemEventArgs.cs
- UniqueID.cs
- RadialGradientBrush.cs
- TypeDependencyAttribute.cs
- Geometry.cs
- WindowsPrincipal.cs
- _NegoStream.cs
- UnicastIPAddressInformationCollection.cs
- QuaternionAnimation.cs