i want to save Keycode value to config file to load when app starts. Here is my code.
private void ButtonSelect_KeyDown(object sender, KeyEventArgs e)
{
buttonValue.Text += (char)e.KeyCode;
Keys main = e.KeyCode;
mainValue = main;
}
i read mainValue from another form and i want to save mainValue to config file. thank you very much!