Exemplo n.º 1
0
 public static void EndUpdate(this RichTextBox rtb)
 {
     NativeMethods.SendMessage(rtb.Handle, (int)WindowsMessages.SETREDRAW, 1, 0);
     rtb.Invalidate();
 }
Exemplo n.º 2
0
 public static void BeginUpdate(this RichTextBox rtb)
 {
     NativeMethods.SendMessage(rtb.Handle, (int)WindowsMessages.SETREDRAW, 0, 0);
 }