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
- DataListCommandEventArgs.cs
- TreeIterators.cs
- ContextInformation.cs
- GetPageNumberCompletedEventArgs.cs
- CrossAppDomainChannel.cs
- CryptoKeySecurity.cs
- Exception.cs
- RepeatButton.cs
- SelectedDatesCollection.cs
- KeyBinding.cs
- WebBrowserHelper.cs
- DataGrid.cs
- WorkflowQueue.cs
- BasicCellRelation.cs
- Environment.cs
- EditorPartChrome.cs
- XmlNodeChangedEventManager.cs
- IgnoreSectionHandler.cs
- ExtenderProvidedPropertyAttribute.cs
- XmlNodeComparer.cs
- Models.cs
- RelationshipWrapper.cs
- DiscreteKeyFrames.cs
- WindowsTokenRoleProvider.cs
- LocationUpdates.cs
- CounterSampleCalculator.cs
- DbProviderFactories.cs
- TextTreeNode.cs
- WorkflowControlClient.cs
- ControlCachePolicy.cs
- _ContextAwareResult.cs
- SafeNativeMethods.cs
- XsltInput.cs
- CodeParameterDeclarationExpression.cs
- BitStream.cs
- HwndPanningFeedback.cs
- DataGridViewLayoutData.cs
- ConsoleTraceListener.cs
- TypeInitializationException.cs
- DbConnectionFactory.cs
- XMLSchema.cs
- RichTextBoxAutomationPeer.cs
- RtType.cs
- CodeSubDirectoriesCollection.cs
- ResourceExpressionBuilder.cs
- InternalCache.cs
- ServiceBuildProvider.cs
- PasswordRecovery.cs
- recordstatescratchpad.cs
- DataBinder.cs
- MetadataCache.cs
- TemplateContent.cs
- CacheOutputQuery.cs
- DataGridTablesFactory.cs
- OledbConnectionStringbuilder.cs
- NetworkInformationException.cs
- TokenizerHelper.cs
- HostProtectionPermission.cs
- SID.cs
- PropertyEmitter.cs
- ReadOnlyCollectionBase.cs
- GridViewSortEventArgs.cs
- ClrProviderManifest.cs
- WebPart.cs
- UpdatePanel.cs
- Guid.cs
- PreservationFileReader.cs
- UniqueEventHelper.cs
- QuaternionValueSerializer.cs
- ToolboxItemLoader.cs
- ProxyAttribute.cs
- GridViewEditEventArgs.cs
- RectangleGeometry.cs
- TypeExtension.cs
- CustomAssemblyResolver.cs
- ReferencedType.cs
- CustomLineCap.cs
- RSAPKCS1SignatureDeformatter.cs
- AgileSafeNativeMemoryHandle.cs
- MonikerBuilder.cs
- NativeMethods.cs
- SqlRowUpdatingEvent.cs
- RenameRuleObjectDialog.Designer.cs
- SerializationBinder.cs
- HatchBrush.cs
- SqlCachedBuffer.cs
- ListViewEditEventArgs.cs
- InputGestureCollection.cs
- DataGridAddNewRow.cs
- BrowserCapabilitiesFactoryBase.cs
- BinaryUtilClasses.cs
- SliderAutomationPeer.cs
- ResourcePart.cs
- FileDialog.cs
- DataGridViewHeaderCell.cs
- CodeCatchClauseCollection.cs
- ActivityWithResultConverter.cs
- _BaseOverlappedAsyncResult.cs
- TextBoxBase.cs
- ConfigXmlText.cs