private void getCashButton_Click(object sender, EventArgs e)
 {
     var getCashForm = new GetCashForm(_cashMachine);
     if (getCashForm.ShowDialog(this) != DialogResult.OK)
     {
         return;
     }
     sumTextBox.Text = _cashMachine.TotalCountOfMoney.ToString();
 }
        private void getCashButton_Click(object sender, EventArgs e)
        {
            var getCashForm = new GetCashForm(_cashMachine);

            if (getCashForm.ShowDialog(this) != DialogResult.OK)
            {
                return;
            }
            sumTextBox.Text = _cashMachine.TotalCountOfMoney.ToString();
        }