BudgetAnalyser.LedgerBook.TransferFundsController.OnShellDialogResponseReceived C# (CSharp) Method

OnShellDialogResponseReceived() private method

private OnShellDialogResponseReceived ( ShellDialogResponseMessage message ) : void
message BudgetAnalyser.ShellDialog.ShellDialogResponseMessage
return void
        private void OnShellDialogResponseReceived(ShellDialogResponseMessage message)
        {
            if (!message.IsItForMe(this.dialogCorrelationId))
            {
                return;
            }

            if (message.Response == ShellDialogButton.Cancel)
            {
                Reset();
                return;
            }

            TransferFundsRequested?.Invoke(this, EventArgs.Empty);
            Reset();
        }