private void SettingsForm_Load(object sender, EventArgs e) { SetupKeyDownEvents(this); Player1ComboBox.DropDownStyle = ComboBoxStyle.DropDownList; Player2ComboBox.DropDownStyle = ComboBoxStyle.DropDownList; Player3ComboBox.DropDownStyle = ComboBoxStyle.DropDownList; if (CategoryComboBox.DataSource == null) { this.Invoke((Action)(() => CategoryComboBox.DataSource = libManager.GetCategories())); } }