private void button1_Click(object sender, System.EventArgs e) { richTextBox1.AppendText("sdfg djfs hgkdjshg kjdshgkj sdhfgjkhsdg sdfg\n"); }
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionconst int WM_VSCROLL = 0x0115; const int SB_BOTTOM = 7;
[DllImport("User32.dll")] private static extern int SendMessage(IntPtr hWnd, uint Msg, uint wParam, uint lparam);
SendMessage(richTextBox_Salle.Handle, WM_VSCROLL, SB_BOTTOM, 0 );