Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SafeNativeMemoryHandle.cs
- CompModSwitches.cs
- Int64AnimationBase.cs
- ProxySimple.cs
- PointHitTestResult.cs
- Rotation3DKeyFrameCollection.cs
- Context.cs
- InternalConfigRoot.cs
- Blend.cs
- DefaultValidator.cs
- DbConnectionInternal.cs
- ChannelServices.cs
- ImageClickEventArgs.cs
- AppDomainAttributes.cs
- OleDbEnumerator.cs
- RowToParametersTransformer.cs
- JsonReader.cs
- SpeechUI.cs
- XPathAncestorIterator.cs
- SymLanguageVendor.cs
- base64Transforms.cs
- ManipulationVelocities.cs
- PropertyValueUIItem.cs
- DbParameterCollectionHelper.cs
- OleDbConnection.cs
- CodeDelegateCreateExpression.cs
- WindowsListBox.cs
- GridViewAutoFormat.cs
- ListItem.cs
- TextTreeUndoUnit.cs
- WizardPanel.cs
- TraceEventCache.cs
- FlowDecisionLabelFeature.cs
- PageClientProxyGenerator.cs
- BitmapSizeOptions.cs
- MediaCommands.cs
- HuffmanTree.cs
- SqlDataSourceFilteringEventArgs.cs
- ProgressBarBrushConverter.cs
- RangeContentEnumerator.cs
- NetworkInformationPermission.cs
- Token.cs
- Error.cs
- ReferentialConstraint.cs
- DesignRelation.cs
- AtomicFile.cs
- X509RecipientCertificateClientElement.cs
- MachineKeySection.cs
- XmlName.cs
- ProcessModelSection.cs
- BaseValidator.cs
- X509Certificate2.cs
- IImplicitResourceProvider.cs
- _ListenerAsyncResult.cs
- SetterBase.cs
- SqlFacetAttribute.cs
- FacetChecker.cs
- CodeCommentStatement.cs
- TextEditor.cs
- SvcMapFileSerializer.cs
- HttpCacheParams.cs
- DefaultAssemblyResolver.cs
- DbTransaction.cs
- BackgroundWorker.cs
- DispatcherObject.cs
- BindingGroup.cs
- BitmapCodecInfoInternal.cs
- TextLineBreak.cs
- AuthorizationSection.cs
- RadioButtonPopupAdapter.cs
- CreateUserWizardStep.cs
- KeyConverter.cs
- SimpleHandlerFactory.cs
- PreviewKeyDownEventArgs.cs
- EntityType.cs
- EntityContainerAssociationSet.cs
- Metadata.cs
- ExceptionValidationRule.cs
- TextBoxBase.cs
- TranslateTransform3D.cs
- ObjectDataSourceMethodEventArgs.cs
- SBCSCodePageEncoding.cs
- XmlSchemaAny.cs
- CompatibleIComparer.cs
- BlobPersonalizationState.cs
- Soap.cs
- cookie.cs
- NativeMethods.cs
- WCFBuildProvider.cs
- GridViewSortEventArgs.cs
- DataGridViewDataConnection.cs
- XmlWriterTraceListener.cs
- SmtpException.cs
- DocumentsTrace.cs
- NameValueCollection.cs
- FormViewDeletedEventArgs.cs
- SafeReversePInvokeHandle.cs
- latinshape.cs
- SystemMulticastIPAddressInformation.cs
- RecordManager.cs