private void tbLibrary_KeyUp(object sender, KeyEventArgs e) { if (e.KeyData == Keys.Enter) { this.LoadLib(); } } }