using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DSoundDemo { public partial class FormAbout : Form { public FormAbout() { InitializeComponent(); } private void FormAbout_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Escape) { Close(); } } private void button1_Click(object sender, EventArgs e) { Close(); } } }