/* * ,, * `7MMF' `7MMF' `7MM * MM MM MM * MM MM .gP"Ya MM `7MMpdMAo. .gP"Ya `7Mb,od8 ,pP"Ybd * MMmmmmmmMM ,M' Yb MM MM `Wb ,M' Yb MM' "' 8I `" * MM MM 8M"""""" MM MM M8 8M"""""" MM `YMMMa. * MM MM YM. , MM MM ,AP YM. , MM L. I8 * .JMML. .JMML.`Mbmmd'.JMML. MMbmmd' `Mbmmd'.JMML. M9mmmP' * MM * .JMML. */ /// <summary> /// Updates all letter button's enabled state /// </summary> private void UpdateLetters() { Dictionary <char, bool> letters = wheel.GetLetters(); foreach (Button control in tableLayoutPanel1.Controls) { control.Enabled = letters[control.Text[0]]; } }