Then how to transfer values from OnRead() to update them in OnPaint() ?