internal void OnTransactionClosing(bool commit) { if (TransactionClosing != null) TransactionClosing (this, new DesignerTransactionCloseEventArgs(commit)); }
protected override void OnCancel() { if (host == null) { return; } host.OnTransactionClosing(false); host.OnTransactionClosed(false, this); host = null; }