protected override void LoadControlState(object savedState) { Pair p = savedState as Pair; if (p != null) { base.LoadControlState(savedState); _burglishMode = (BurglishMode)p.Second; } }