private void Form1_FormClosed(object sender, FormClosedEventArgs e) { //Dispose resources keyboards.Dispose(); }