using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Contact
{
class AnotherClass
{
System.Windows.Forms.MessageBox.show();
}
}
明明已经提及到messagebox的命名空间了,但在写MessageBox加“.”时没有自己跳出show()方法,即使后面自己加上去了,却被报错,错误是:system.windows.form.messagebox不存在类型名称show。后面自己在MessageBox.show();前面加了System.Windows.Forms.也没有用,请大神求解~~蟹蟹~~~