syz_sbq.cs 870 B

123456789101112131415161718192021222324252627282930313233343536
  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. using System.Threading;
  11. using log4net;
  12. using WisdomClient.data;
  13. using WisdomClient;
  14. namespace IntelligentControlForsx.MyControls.syz
  15. {
  16. public partial class syz_sbq : ZTControl
  17. {
  18. public syz_sbq()
  19. {
  20. InitializeComponent();
  21. SetStyle(ControlStyles.UserPaint, true);
  22. SetStyle(ControlStyles.AllPaintingInWmPaint, true); // 禁止擦除背景.  
  23. SetStyle(ControlStyles.DoubleBuffer, true); // 双缓冲  
  24. this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
  25. }
  26. private void syz_sbq_Load(object sender, EventArgs e)
  27. {
  28. }
  29. }
  30. }