网站建议:179001057@qq.com

C#CSharp - 禁用Form的关闭按钮

技术2022-05-12  0

private const int CP_NOCLOSE_BUTTON = 0x200; protected override CreateParams CreateParams { get { CreateParams myCp = base.CreateParams; myCp.ClassStyle = myCp.ClassStyle | CP_NOCLOSE_BUTTON ; return myCp; } }  


最新回复(0)