SuperUserControl.cs 800 B

1234567891011121314151617181920212223242526272829303132333435
  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.Windows.Forms;
  9. namespace Azylee.WinformSkin.UserWidgets
  10. {
  11. public partial class SuperUserControl : UserControl
  12. {
  13. public SuperUserControl()
  14. {
  15. InitializeComponent();
  16. }
  17. private void SuperUserControl_Load(object sender, EventArgs e)
  18. {
  19. }
  20. #region 界面优化
  21. protected override CreateParams CreateParams
  22. {
  23. get
  24. {
  25. var parms = base.CreateParams;
  26. parms.Style &= ~0x02000000; // Turn off WS_CLIPCHILDREN
  27. return parms;
  28. }
  29. }
  30. #endregion
  31. }
  32. }