Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataGridCellsPanel.cs
- StringFormat.cs
- ViewStateChangedEventArgs.cs
- DefaultPrintController.cs
- IdentifierService.cs
- LinkedList.cs
- Random.cs
- PersonalizationEntry.cs
- MemberHolder.cs
- PageCodeDomTreeGenerator.cs
- DataColumnCollection.cs
- DisplayInformation.cs
- ProxyGenerator.cs
- securitycriticaldataClass.cs
- FilterableAttribute.cs
- LinkedResource.cs
- DataGrid.cs
- XPathBuilder.cs
- BinaryFormatterWriter.cs
- UIElementAutomationPeer.cs
- ButtonFieldBase.cs
- WizardStepBase.cs
- StylusButton.cs
- NamedPipeAppDomainProtocolHandler.cs
- Random.cs
- ProfilePropertyMetadata.cs
- FileLevelControlBuilderAttribute.cs
- BuildProvider.cs
- WinCategoryAttribute.cs
- DataRelation.cs
- WorkerRequest.cs
- SurrogateDataContract.cs
- ProfilePropertySettings.cs
- GroupBox.cs
- TemplateManager.cs
- KnownBoxes.cs
- ImpersonationContext.cs
- SqlTransaction.cs
- AdministrationHelpers.cs
- DependencyPropertyConverter.cs
- FloaterParagraph.cs
- CryptoHelper.cs
- Symbol.cs
- ServerIdentity.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SQLRoleProvider.cs
- sqlinternaltransaction.cs
- _UncName.cs
- Menu.cs
- ObjectStateEntryDbDataRecord.cs
- TableItemStyle.cs
- CheckBox.cs
- RadioButtonList.cs
- EntityViewGenerator.cs
- ConfigXmlText.cs
- ClockGroup.cs
- RootCodeDomSerializer.cs
- DesignTimeTemplateParser.cs
- DataServiceQueryException.cs
- Mutex.cs
- Debug.cs
- SafeTimerHandle.cs
- DesignerAttribute.cs
- Size3DValueSerializer.cs
- AlgoModule.cs
- Size3D.cs
- HostingPreferredMapPath.cs
- PackageRelationshipSelector.cs
- BinaryObjectReader.cs
- EventProxy.cs
- SqlAggregateChecker.cs
- CharacterHit.cs
- KeyEvent.cs
- Menu.cs
- GeneralTransform.cs
- DataSourceCache.cs
- HostUtils.cs
- Vector3DAnimationUsingKeyFrames.cs
- DbFunctionCommandTree.cs
- ResourceType.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- LicFileLicenseProvider.cs
- FieldTemplateFactory.cs
- MultiDataTrigger.cs
- SqlError.cs
- RemotingSurrogateSelector.cs
- _OSSOCK.cs
- RijndaelManagedTransform.cs
- LongAverageAggregationOperator.cs
- ToolStripKeyboardHandlingService.cs
- AssemblyName.cs
- ProxyWebPartConnectionCollection.cs
- AnnotationResource.cs
- ASCIIEncoding.cs
- SocketException.cs
- DockingAttribute.cs
- PropertiesTab.cs
- OperationResponse.cs
- Helper.cs
- SafeCloseHandleCritical.cs