protected override void BeforeInvoke(object state) { // Update the list of cursors before invoking anything lock (_lockObj) { _cursors = (List<Cursor>)state; } }