private void WWUserName_Load(object sender, EventArgs e)
{
MySDK01.SetMid(this);
SetTextBoxUserNameState(false);
// 方法1
this.ControlBox = false;
// 方法2
this.MaximizeBox = false;
this.MinimizeBox = false;
this.FormBorderStyle = FormBorderStyle.FixedSingle;
int hMenu = WinApi.GetSystemMenu(this.Handle.ToInt32(), 0);
WinApi.RemoveMenu(hMenu, WinApi.Menu_Position.SC_CLOSE, WinApi.Menu_Flags.MF_REMOVE);
}