public override void DoSizeChanged() { base.DoSizeChanged (); x = (Application.Cols - w) / 2; y = (Application.Lines-h) / 3; LayoutButtons (); }