void OnGetBuffer(bool show, int width, int height, int isVertical, int bkSize) { if (_vm != null) { _vm.OnGetBuffer(show, width, height, isVertical, bkSize); } InvalidateVisual(); }
void OnGetBuffer(bool show, int width, int height, int isVertical, int bkSize) { // new add this.isVertical = isVertical; if (_vm != null) { _vm.OnGetBuffer(show, width, height, isVertical, bkSize); } if (_form != null && show) { _form.Invalidate(); } }