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
- HtmlPageAdapter.cs
- StringAttributeCollection.cs
- HttpListenerException.cs
- UriSection.cs
- DataGridColumnsPage.cs
- LoginView.cs
- GeneralTransform3D.cs
- Rectangle.cs
- DBCommandBuilder.cs
- TableLayoutRowStyleCollection.cs
- SqlInfoMessageEvent.cs
- ReferentialConstraint.cs
- XslTransform.cs
- DoubleLinkList.cs
- SaveLedgerEntryRequest.cs
- ApplicationDirectoryMembershipCondition.cs
- XmlNodeReader.cs
- OleDbDataReader.cs
- Package.cs
- sqlstateclientmanager.cs
- TypedElement.cs
- RuntimeWrappedException.cs
- MediaPlayer.cs
- ItemCollection.cs
- DictionaryContent.cs
- DataFormat.cs
- DataGridTextBoxColumn.cs
- SystemIcmpV4Statistics.cs
- FilterQueryOptionExpression.cs
- PhoneCall.cs
- ProjectionPruner.cs
- ExpressionsCollectionConverter.cs
- CustomErrorCollection.cs
- SettingsProviderCollection.cs
- SerializationSectionGroup.cs
- UIElementAutomationPeer.cs
- MouseGestureValueSerializer.cs
- XmlComplianceUtil.cs
- MonikerSyntaxException.cs
- HwndHostAutomationPeer.cs
- NavigationPropertyAccessor.cs
- NullableDoubleSumAggregationOperator.cs
- DesignerImageAdapter.cs
- RuleSettings.cs
- FlowDecisionDesigner.xaml.cs
- Parameter.cs
- MimeWriter.cs
- ProcessProtocolHandler.cs
- Tokenizer.cs
- XmlElementList.cs
- DataBoundControlAdapter.cs
- DataTableMapping.cs
- GenericEnumConverter.cs
- XmlSchemaAll.cs
- ClaimTypeElement.cs
- BinaryExpression.cs
- StylusButtonEventArgs.cs
- MissingManifestResourceException.cs
- FlowDocumentPageViewerAutomationPeer.cs
- XNodeNavigator.cs
- IntSecurity.cs
- SHA384Managed.cs
- ComponentResourceKeyConverter.cs
- ProjectionCamera.cs
- ParserExtension.cs
- DataGridViewElement.cs
- DeferredReference.cs
- ChannelCredentials.cs
- CustomCredentialPolicy.cs
- Rect3D.cs
- FastEncoderWindow.cs
- KnownBoxes.cs
- Point.cs
- RootProjectionNode.cs
- NameScopePropertyAttribute.cs
- ChildrenQuery.cs
- WindowsFormsHelpers.cs
- DataGridViewRowPostPaintEventArgs.cs
- Membership.cs
- XhtmlBasicPhoneCallAdapter.cs
- DataFieldEditor.cs
- TextEditorParagraphs.cs
- GenericAuthenticationEventArgs.cs
- PartitionResolver.cs
- MobileCategoryAttribute.cs
- PrivateFontCollection.cs
- TimeSpanSecondsConverter.cs
- QuaternionValueSerializer.cs
- ProjectedWrapper.cs
- _SSPIWrapper.cs
- SharedUtils.cs
- ColorConverter.cs
- CollaborationHelperFunctions.cs
- StatusStrip.cs
- Pointer.cs
- StateRuntime.cs
- ExpressionNode.cs
- WebPartCatalogCloseVerb.cs
- PropertyOverridesDialog.cs
- TextSpan.cs