winfrom界面美化(cskin)

1.cskin控件的引用

2.可能会产生闪屏的问题

附: private void SetStyles()
        {
            base.SetStyle(
                ControlStyles.UserPaint |
                ControlStyles.AllPaintingInWmPaint |
                ControlStyles.OptimizedDoubleBuffer |
                ControlStyles.ResizeRedraw |
                ControlStyles.DoubleBuffer, true);
            base.UpdateStyles();
            base.AutoScaleMode = AutoScaleMode.None;
        }

闪屏会减轻很多

3.引用之后可以放到工具箱进行拖拽使用

相关文章:

  • 2022-01-14
  • 2022-01-13
  • 2021-12-05
  • 2021-12-21
  • 2021-09-14
  • 2022-01-08
  • 2022-01-07
  • 2021-10-22
猜你喜欢
  • 2021-09-18
  • 2021-11-12
  • 2021-11-17
  • 2021-11-17
  • 2022-01-26
  • 2021-12-02
  • 2021-07-29
相关资源
相似解决方案