public FunkyRenderContext(Form Form) : base() { this._Form = Form; this._Form.SizeChanged +=_Form_SizeChanged; this._Ground = FunkyPoly.CreateRectangle(0, Form.Height * 4 / 5f, Form.Width, Form.Height / 5f); }
private void _Form_SizeChanged(object sender, EventArgs e) { this._Ground = FunkyPoly.CreateRectangle(0, _Form.Height * 4 / 5f, _Form.Width, _Form.Height / 5f); }