public WFTextBoxAdapter(System.Windows.Forms.TextBoxBase ttb) { tb = ttb; }
public TxtBoxLog(System.Windows.Forms.TextBoxBase textBox) => TextBox = textBox ?? throw new ArgumentNullException(nameof(textBox));
public static void ScrollToBottom(this System.Windows.Forms.TextBoxBase tb) { SendMessage(tb.Handle, WM_VSCROLL, new IntPtr(SB_BOTTOM), new IntPtr(0)); }
public static void ScrollLineUp(this System.Windows.Forms.TextBoxBase tb) { SendMessage(tb.Handle, WM_VSCROLL, new IntPtr(SB_LINEUP), new IntPtr(0)); }