/// <summary>
        /// fill user overview
        /// </summary>

        private void FillOverview()
        {
            textBoxName.Text         = _logic.GetDataToUpdate(_clientIdCard)[1];
            textBoxSurname.Text      = _logic.GetDataToUpdate(_clientIdCard)[2];
            textBoxIDCardNumber.Text = _logic.GetDataToUpdate(_clientIdCard)[3];
            textBoxPhoneNumber.Text  = _logic.GetDataToUpdate(_clientIdCard)[4];
            textBoxCity.Text         = _logic.GetDataToUpdate(_clientIdCard)[9];
            textBoxPostalCode.Text   = _logic.GetDataToUpdate(_clientIdCard)[10];
            textBoxIban.Text         = _logic.GetDataToUpdate(_clientIdCard)[12];
            textBoxBalance.Text      = _logic.GetBalancebyClientIdCard(_clientIdCard).ToString();
            textBoxDebtLimit.Text    = _logic.GetDataToUpdate(_clientIdCard)[13];
        }
Ejemplo n.º 2
0
 /// <summary>
 /// loads some data into textboxes
 /// so we can see old data while updating
 /// </summary>
 private void ReadyForUpdate()
 {
     _dataToShow             = _logic.GetDataToUpdate(_clientIdCard);
     txtboxFirstName.Text    = _dataToShow[1];
     txtBoxSurname.Text      = _dataToShow[2];
     txtBoxIDCardNumber.Text = _dataToShow[3];
     txtBoxPhoneNumber.Text  = _dataToShow[4];
     txtBoxEmail.Text        = _dataToShow[5];
     txtBoxStreetName.Text   = _dataToShow[8];
     txtHomeNumber.Text      = _dataToShow[9];
     txtBoxCity.Text         = _dataToShow[10];
     txtBoxPostalCode.Text   = _dataToShow[11];
     label1ibangen.Text      = _dataToShow[12];
     cmbBoxDebetLimit.Text   = _dataToShow[13];
 }