/// <summary>
        /// Captures the current StarMoneyWindow and fills the form with data from the capture
        /// </summary>
        private void DoCaptureAndFillForm()
        {
            _capture = new User32Capture(
                txtFenstername.Text,
                "SVWORK",
                boxAnker.Text,
                boxTyp.Text);

            try
            {
                ComparablePaymentDataSetList paymentDataSetList = _capture.DoCapture();

                // ok, we are still in business
                _lastPaymentDataSetList = _currentPaymentDataSetList;
                _currentPaymentDataSetList = paymentDataSetList;

                // fills all TextBoxes with the captured data
                foreach (PaymentDataSet paymentDataSet in paymentDataSetList)
                {
                    TextBox workingTextBox = GetWorkingTextBox(paymentDataSet.Name);
                    workingTextBox.Text = paymentDataSet.Value;
                }

                // the amount would be mixed up if you click multiple times on "Auslesen" (capture)
                if (_lastPaymentDataSetList == null ||
                    !_currentPaymentDataSetList.Equals(_lastPaymentDataSetList))
                {
                    UpdateRunnungBalance(paymentDataSetList);
                }
                // displays a warning
                else
                {
                    MessageBox.Show("Die neuen und die alten Daten sind identisch.\n" +
                                    "Der fortlaufende Saldo wurde nicht angepasst!",
                                    "Hinweis",
                                    MessageBoxButtons.OK,
                                    MessageBoxIcon.Information);
                }

            }
            catch (WindowNotFoundException)
            {
                MessageBox.Show("Öffnen Sie zuerst die Umsatzdetails in StarMoney.\n" +
                                "Wechseln Sie dann zurück zu StarMoneySpy.\n\n" +
                                "Das StarMoney-Fenster muss während der gesamten Sitzung geöffnet bleiben!",
                                "Warnung",
                                MessageBoxButtons.OK,
                                MessageBoxIcon.Warning);
            }
        }