private void RemoveTxOutputItemEvent(object sender, TxOutPutItem item)
        {
            item.RemoveTxOutPutItemEvent -= RemoveTxOutputItemEvent;
            outPutItems.Remove(item);
            this.stackOutPuts.Children.Remove(item);

            calculateTotalAmount();
        }
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            string checkResult = checkFields();

            if (checkResult != "STR_SUCCESS")
            {
                ShowErrorMessage(checkResult);
                return;
            }

            Fixed8 amount;

            Fixed8.TryParse(TxbAmount.Text, out amount);

            TxOutPutItem item = new TxOutPutItem(TxbAddressToAdd.Text, amount);

            item.RemoveTxOutPutItemEvent += RemoveTxOutputItemEvent;
            outPutItems.Add(item);

            this.stackOutPuts.Children.Add(item);

            calculateTotalAmount();
        }