double-buffered winform primitive