private void WinGui_Load(object sender, EventArgs e) { DllLoader.SearchForAIs(); foreach (AI ai in DllLoader.AvailableAIs) { cmbBlack.Items.Add(ai.ShortName); cmbWhite.Items.Add(ai.ShortName); } cmbBlack.SelectedIndex = 0; cmbWhite.SelectedIndex = 0; // Set values in Chess Flag drop down foreach (ChessFlag flag in Enum.GetValues(typeof(ChessFlag))) { if (flag != ChessFlag.AIWentOverTime) { cmbChessFlags.Items.Add(flag); } } cmbChessFlags.SelectedIndex = 0; }