Backup/CRD.WinUI/Misc/TextBox.cs

(完整代码) 744B

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CRD.WinUI.Misc
{
  public  class TextBox:System.Windows.Forms.TextBox
    {
      public TextBox()
          : base()
      {
         // this.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint, true);
          this.BorderStyle = BorderStyle.FixedSingle;
          this.UpdateStyles();

      }

      protected override void WndProc(ref Message m)
      {

          base.WndProc(ref m);
          if (m.Msg == 0xf || m.Msg == 0x133)
          {
              Shared.ResetBorderColor(m, this);
          }
      }

    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。