private void txt_NameCatalogue_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { Editcatalogue(); } }