
c#当前上下文中不存在名称MessageBos
我刚开始学C#.我在FORM1窗口中添加了一个BUTTON出现错误如下描述usingSystem;usingSystem.Collections.Generic;usin...
我刚开始学C#.我在FORM1窗口中添加了一个BUTTON出现错误
如下描述
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
MessageBos.show("the first window app in the book!");
}
}
}
MessageBos是怎么回事?
错误描述:当前上下文中不存在名称MessageBos 展开
如下描述
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
MessageBos.show("the first window app in the book!");
}
}
}
MessageBos是怎么回事?
错误描述:当前上下文中不存在名称MessageBos 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询