private void SetDoubleBuffer() { int Style = 0; Style |= TVS_EX_DOUBLEBUFFER; if (Style != 0) SendMessage(this.Handle, TVM_SETEXTENDEDSTYLE, (IntPtr)TVS_EX_DOUBLEBUFFER, (IntPtr)Style); } #endregion