X
X
Xxxeshi2020-05-01 15:06:59
C++ / C#
Xxxeshi, 2020-05-01 15:06:59

How to autocomplete fields for C#?

In general, there are 2 TextBoxes, the first time when the user enters and writes the Login in the first textbox, and the Password in the second.
And closes the program, the next time in the forms the text box is all filled.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2020-05-01
@Xxxeshi

Save the values ​​somewhere. When starting the program, check for the existence of the file, if the file exists, then put the contents in the required fields.
But if this is a password, then I would either write the values ​​\u200b\u200bin the registry or save them in a binary file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question