MessageBox.Show("It's Me", MessageBoxButtons.YesNo);这句语句有问题吗? 为什么我在编译的时候会出错呢?
D:\CsharpApplication\WindowsApplication1\WindowsApplication1\Form1.cs(173): 与“System.Windows.Forms.MessageBox.Show(string, string)”最匹配的重载方法具有一些无效参数D:\CsharpApplication\WindowsApplication1\WindowsApplication1\Form1.cs(173): 参数“2” : 无法从“System.Windows.Forms.MessageBoxButtons”转换为“string”
D:\CsharpApplication\WindowsApplication1\WindowsApplication1\Form1.cs(173): 与“System.Windows.Forms.MessageBox.Show(string, string)”最匹配的重载方法具有一些无效参数D:\CsharpApplication\WindowsApplication1\WindowsApplication1\Form1.cs(173): 参数“2” : 无法从“System.Windows.Forms.MessageBoxButtons”转换为“string”
构造不支持(string ,yesNo)
MessageBox.Show("JzeroBiao",null, MessageBoxButtons.YesNo);
-----------------------------以下情况信誉分会变化:一、信誉分增加:
1、FAQ相关制度;
2、解封账号返回信誉分,但一般根据具体情况只返回20~50分;
二、信誉分扣除:
1、已结帖子发送的不是合适的板块,被移帖;
2、帖子或者回复被删除;
3、FAQ相关制度;
4、直接封杀账号。三、信誉分制度 每个用户的信誉分分为两大部分:1、他在各个大类社区的信誉分;2、他在csdn的总信誉分; 大类版块内封杀用户,同时扣除该用户在csdn的总信誉分30分;被csdn管理员封杀的用户,在所有版块都将被封杀;除了封杀用户行为,其他涉及到信誉分变化的,都将同步对用户在该大类社区和用户在csdn的总信誉分操作。
构造不支持(string ,yesNo) 有道理
第二个“”中是空,达到了你要的效果,也有了第二个参数。