protected override void BeforeHide() { base.BeforeHide(); field.Deactivate(); bar.Deactivate(); field.ClearEvents(); logic.ClearEvents(); }