Reputation:
A user wants me to create an app that does something everything he presses the X key.
Now he asked me to make it so he can change what key he has to press. Maybe he wants X key today, maybe C key tomorrow.
How can I easily do this in C#? What is the best way?
Upvotes: 2
Views: 132
Reputation: 888185
You can use .Net's Application Settings feature.
Go to the Settings tab in Project Properties and add a setting.
You can then access it in code by writing Properties.Settings.Default.MySettingName
.
Upvotes: 4