public LibraryForm() { InitializeComponent(); darkMode = ManageUserAction.GetDarkMode(); if (darkMode) { UpdateTheme(); } this.KeyPreview = true; ManageSystem.InitLibrary(); curFlashCard = ManageSystem.GetFlashCard(index); ChangeFlashCard(curFlashCard.Eng, curFlashCard.IdCard); InitAutoCompleteTextBox(); }