private void Deposit_Load(object sender, EventArgs e) { AutoCompleteStringCollection collection = new AutoCompleteStringCollection(); collection.AddRange(DataBaseOperations.getAccountIban().ToArray()); textBoxIbanDeposit.AutoCompleteCustomSource = collection; }
private void Transfer_Load(object sender, EventArgs e) { AutoCompleteStringCollection collection = new AutoCompleteStringCollection(); collection.AddRange(DataBaseOperations.getAccountIban().ToArray()); textBoxFromIBanTransfer.AutoCompleteCustomSource = collection; textBoxDestinationIBAN.AutoCompleteCustomSource = collection; }
private void WithdrawingMoney_Load(object sender, EventArgs e) { string[] mode = { "Cash", "Cheque" }; foreach (string items in mode) { comboBoxModeWithdraw.Items.Add(items); } AutoCompleteStringCollection collection = new AutoCompleteStringCollection(); collection.AddRange(DataBaseOperations.getAccountIban().ToArray()); textBoxIbanWithdraw.AutoCompleteCustomSource = collection; }