日期:2014-05-18  浏览次数:20937 次

C#如何利用API去除窗体的标题栏
RT

------解决方案--------------------
[DllImport("User32.dll", CharSet = CharSet.Auto)]
public static extern int SetWindowText(IntPtr hWnd, string text);

SetWindowText(窗体句柄,"");
------解决方案--------------------
this.FormBorderStyle = FormBorderStyle.None;
------解决方案--------------------
探讨
this.FormBorderStyle = FormBorderStyle.None;