class1.cs
来自「就像迅雷等软件一样实现左下角窗体的显示编程」· CS 代码 · 共 16 行
CS
16 行
using System;
using System.Collections.Generic;
using System.Text;
namespace WindowsApplication4
{
public class MyButton : System.Windows.Forms.Button
{
public bool Selectable
{
get { return this.GetStyle(System.Windows.Forms.ControlStyles.FixedHeight); }
set { this.SetStyle(System.Windows.Forms.ControlStyles.Selectable, value); }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?