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
- hebrewshape.cs
- StringAnimationBase.cs
- GradientBrush.cs
- SingleObjectCollection.cs
- prompt.cs
- SqlCacheDependency.cs
- ColumnCollection.cs
- SourceFilter.cs
- XmlSerializationWriter.cs
- FlowLayoutPanel.cs
- ManualResetEvent.cs
- MimeImporter.cs
- ServiceHttpHandlerFactory.cs
- SafeThreadHandle.cs
- Error.cs
- DiagnosticsConfiguration.cs
- Baml2006SchemaContext.cs
- FormViewDeleteEventArgs.cs
- ComAdminInterfaces.cs
- LogicalExpressionEditor.cs
- TemplateNameScope.cs
- NotCondition.cs
- ClientRuntimeConfig.cs
- KeyValueInternalCollection.cs
- WithStatement.cs
- JsonXmlDataContract.cs
- ProfileManager.cs
- DeclarationUpdate.cs
- newitemfactory.cs
- SwitchAttribute.cs
- Point3DConverter.cs
- DataRelationPropertyDescriptor.cs
- SortedList.cs
- Behavior.cs
- EventToken.cs
- sqlnorm.cs
- WinFormsComponentEditor.cs
- GeneralTransform.cs
- Normalizer.cs
- SkipQueryOptionExpression.cs
- BooleanConverter.cs
- RegisteredHiddenField.cs
- CursorConverter.cs
- DesignerHost.cs
- ChangeTracker.cs
- DataBoundControlParameterTarget.cs
- NamespaceInfo.cs
- Options.cs
- ActivityUtilities.cs
- SeekableReadStream.cs
- HtmlLink.cs
- Pair.cs
- HttpGetClientProtocol.cs
- Pointer.cs
- TimeZone.cs
- HttpEncoder.cs
- ReceiveActivity.cs
- PrimaryKeyTypeConverter.cs
- ObjectDataSourceMethodEventArgs.cs
- ObjectItemAssemblyLoader.cs
- OracleSqlParser.cs
- ConditionalExpression.cs
- PageBreakRecord.cs
- SqlTypesSchemaImporter.cs
- CLSCompliantAttribute.cs
- MediaContext.cs
- DataGridViewColumnConverter.cs
- DiagnosticsConfigurationHandler.cs
- CellTreeNode.cs
- ReliableSessionBindingElement.cs
- GlyphingCache.cs
- DefaultCommandConverter.cs
- QueryCacheManager.cs
- SiteMembershipCondition.cs
- SiteMapDataSource.cs
- XmlNodeReader.cs
- WrappedKeySecurityTokenParameters.cs
- GroupStyle.cs
- NativeMethods.cs
- SmiRecordBuffer.cs
- COAUTHINFO.cs
- DocumentationServerProtocol.cs
- PopOutPanel.cs
- DataServiceQueryOfT.cs
- DesignRelation.cs
- While.cs
- AppliedDeviceFiltersDialog.cs
- WebDisplayNameAttribute.cs
- TextPenaltyModule.cs
- CardSpaceSelector.cs
- Win32.cs
- ControlBindingsCollection.cs
- PersonalizationStateInfo.cs
- CanonicalizationDriver.cs
- EnvironmentPermission.cs
- EditCommandColumn.cs
- EventWaitHandleSecurity.cs
- SecurityElement.cs
- StoragePropertyMapping.cs
- ValidationPropertyAttribute.cs