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
- FileEnumerator.cs
- SuppressMessageAttribute.cs
- SystemIPGlobalProperties.cs
- HttpSocketManager.cs
- AddInServer.cs
- infer.cs
- TCPClient.cs
- RadioButton.cs
- MappingException.cs
- WindowsImpersonationContext.cs
- EventArgs.cs
- PersistenceProviderDirectory.cs
- TextDecorations.cs
- HtmlInputCheckBox.cs
- PtsHelper.cs
- Int32Rect.cs
- httpstaticobjectscollection.cs
- DataObjectPastingEventArgs.cs
- GridViewRowPresenterBase.cs
- _SafeNetHandles.cs
- PenContexts.cs
- ConcurrentStack.cs
- SoapIncludeAttribute.cs
- DataServiceStreamProviderWrapper.cs
- PointCollection.cs
- CuspData.cs
- MouseGestureValueSerializer.cs
- PrintSystemException.cs
- CodeBinaryOperatorExpression.cs
- Missing.cs
- HttpApplication.cs
- DecoderFallback.cs
- DataGridHeaderBorder.cs
- UrlMappingCollection.cs
- TypeLibConverter.cs
- XmlCollation.cs
- IteratorDescriptor.cs
- OleDbError.cs
- AspNetRouteServiceHttpHandler.cs
- ToolboxComponentsCreatingEventArgs.cs
- LoginName.cs
- RadioButtonFlatAdapter.cs
- HtmlInputHidden.cs
- ResourceSet.cs
- PageCodeDomTreeGenerator.cs
- RSACryptoServiceProvider.cs
- HttpCapabilitiesEvaluator.cs
- SmtpMail.cs
- ArraySubsetEnumerator.cs
- PngBitmapEncoder.cs
- CapabilitiesAssignment.cs
- DirectionalLight.cs
- DataRecordInternal.cs
- ConfigXmlWhitespace.cs
- PersistenceParticipant.cs
- InvalidEnumArgumentException.cs
- DocumentCollection.cs
- ResourceSet.cs
- SafeNativeMethods.cs
- BamlResourceDeserializer.cs
- StringInfo.cs
- LineUtil.cs
- Pen.cs
- Separator.cs
- ClientSettings.cs
- LinqDataSourceInsertEventArgs.cs
- ApplicationInfo.cs
- Scripts.cs
- RandomDelayQueuedSendsAsyncResult.cs
- BasicViewGenerator.cs
- InkCanvasSelection.cs
- DataGridItemEventArgs.cs
- XmlNavigatorStack.cs
- StrokeNodeData.cs
- Thumb.cs
- FullTextState.cs
- CheckBoxBaseAdapter.cs
- ClientConfigurationHost.cs
- MimeXmlReflector.cs
- SQLInt64Storage.cs
- QuaternionRotation3D.cs
- SplitContainer.cs
- ApplicationSettingsBase.cs
- _ProxyChain.cs
- DynamicMethod.cs
- ContextInformation.cs
- _RequestCacheProtocol.cs
- PageContentAsyncResult.cs
- Missing.cs
- Context.cs
- OleServicesContext.cs
- AnnotationHelper.cs
- Substitution.cs
- WriteableOnDemandPackagePart.cs
- WinFormsUtils.cs
- ArraySet.cs
- ExcCanonicalXml.cs
- IntPtr.cs
- FilterQuery.cs
- BitConverter.cs