public FormView(PlayGround model, MainForm viewForm, KeyController controller) { GamePanel = new GamePanel(viewForm, this); GamePanel.Controls.Add(Controller = controller); controller.Focus(); Model = model; PlayGroundSize = new Size(PlayGround.W * CellSize.Width, PlayGround.H * CellSize.Height); fontOffset = CellSize.Width * 2 / 9; statePanelTop = (TOP - CellSize.Height) / 2; helpPanelTop = TOP + PlayGroundSize.Height + statePanelTop; InitializeImages(); }