I have a file that stores a list of enumerations with their associated values. The following is an example of what the file looks like (and not its actual contents):
Enumerated value Meaning (associated text)
0 Sunday
1 Monday
2 Tuesday
3 Wednesday
4 Thursday
5 Friday
6 Saturday
I am writing a C # program so that users can search between the listed values ββand the texts associated with them. In other words, they should be able to search for text from meaning and vice versa.
I wonder what is the best way to develop a user interface? I have some ideas:
- There are two text boxes. The user can fill in any of them, and the other is automatically filled as the user enters. If the value is invalid, just leave the other text box blank.
- Enter a text field for the user to fill in the part of the information that they have, a switch to indicate what information they fill in the text field, the OK button, which, when clicked, updates the text label using the result or an error message.
- Same as 2, but does not have an OK button. Just update the text label as custom types (i.e., handle the Control.KeyPress event).
- You have two separate screens (one for searching enumerations from text, another for finding text from enumeration), and the user can switch between them by tab or button. Have a text box for user input, an OK button, and a text label to display the result or error message.
- There are two separate areas on one screen. Each area has the same format as 4.
, 2 - , GUI, , , , "S" "". 1 , ( ).
, , , , . - - , ?
.