AutoButtomRichTextBox.cs 658 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace NotePad.CustomerControls
  11. {
  12. public partial class AutoButtomRichTextBox : RichTextBox
  13. {
  14. public AutoButtomRichTextBox()
  15. {
  16. InitializeComponent();
  17. }
  18. protected override CreateParams CreateParams
  19. {
  20. get
  21. {
  22. CreateParams cp = base.CreateParams;
  23. cp.ExStyle |= 0x20;
  24. return cp;
  25. }
  26. }
  27. }
  28. }