csharp System.ComponentModel.Design.DesignerTransactionCloseEventArgs类(方法)实例源码

下面列出了csharp System.ComponentModel.Design.DesignerTransactionCloseEventArgs 类(方法)源码代码实例,从而了解它的用法。

作者:.NET开发    项目:System.ComponentModel.Desig   
// This example method creates a DesignerTransactionCloseEventArgs using the specified argument.
// Typically, this type of event args is created by a design mode subsystem.            
public DesignerTransactionCloseEventArgs CreateDesignerTransactionCloseEventArgs(bool commit)
{            
    // Creates a component changed event args with the specified arguments.
    DesignerTransactionCloseEventArgs args = new DesignerTransactionCloseEventArgs(commit, false);

    // Whether the transaction has been committed:  args.TransactionCommitted
    
    return args;            
}


问题


面经


文章

微信
公众号

扫码关注公众号