Habanero.Faces.Win.DefaultBOEditorFormWin.CancelEditsToBusinessObject C# (CSharp) Method

CancelEditsToBusinessObject() private method

private CancelEditsToBusinessObject ( ) : bool
return bool
        private bool CancelEditsToBusinessObject()
        {
            
            bool success = false;
            try
            {
                _panelInfo.BusinessObject = null;
                new DefaultBOEditorFormManager().CancelEditsToBusinessObject(_bo);
                DialogResult = Base.DialogResult.Cancel;
                if (_postObjectEditAction != null)
                {
                    _postObjectEditAction(this._bo, true);
                }
                success = true;
            }
            catch (Exception ex)
            {
                GlobalRegistry.UIExceptionNotifier.Notify(ex,
                    "There was a problem cancelling the edit for the following reason(s):",
                    "Problem Cancelling");
            }
            return success;
        }