Esempio n. 1
0
        private void AddPendingOutput()
        {
            var pendingOutput = new PendingOutput();

            pendingOutput.Changed += PendingOutput_Changed;
            PendingOutputs.Add(pendingOutput);
            RecalculateTransaction();
        }
Esempio n. 2
0
        private async void AddPendingOutput()
        {
            var pendingOutput = new PendingOutput();

            pendingOutput.Changed += PendingOutput_Changed;
            PendingOutputs.Add(pendingOutput);

            try
            {
                await RecalculatePendingTransaction();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error");
            }
        }