MessageBoxForm 能设置大小、颜色吗?
下面几个方法都不行
MessageBoxArgs ba = new MessageBoxArgs();
ba.Text = "登录失败";
ba.Caption = "提示";
MessageBoxForm bf = new MessageBoxForm();
bf.BackColor = Color.Red;
bf.ForeColor = Color.Red;
bf.Width=300;
bf.Size = new System.Drawing.Size(278, 46);
bf.ShowMessageBoxDialog(ba);
|