Beispiel #1
0
 private void BtnImport_Click(object sender, EventArgs e)
 {
     if (ofdKey.ShowDialog() == DialogResult.OK)
     {
         var configText = System.IO.File.ReadAllText(ofdKey.FileName);
         KeyBinding.LoadConfigFromFile(configText);
         updateDisplay();
     }
 }