如何在c sharp中显示消息

如何在c sharp中显示消息

问题描述:

亲爱的所有人,


我正在寻找代码以c语言和指南显示消息框,如果对显示消息的任何其他要求我的意思是说任何一个班级或需要进行名字限制。


谢谢


Sajjad Ali

Dear All,

I am looking for code to display message box in c sharp language and guide line if any other requirement regarding to display message i mean to say that any class or namespeacing is required.

Thanks

Sajjad Ali

你好


嗯,我想我们在某个阶段有这些问题,代码非常明显,所以我会把它给你,你可以用Intillisense读它。 />
Hi

Well I suppose we have these kinds of questions at some stage, the code is pretty self-explanatory so I will give it to you and you can read up about it using Intillisense.

展开 | 选择 | Wrap | 行号s


如果是Windows应用程序,您可以使用消息框

,如果是asp.net,则使用 javascript 。您也可以谷歌查看 ajax消息框
In case of windows application you can make use of Message Box
and in case of asp.net use javascript . Also you can google for ajax message box


我给这样的代码给出了消息但是它们是一个错误


缺少汇编或喜欢某些和高亮度windows我该怎么办


global :: System。 Windows .Forms.MessageBox.Show(" Hello world");


谢谢
I code like this given bellow for message but their is a error

missing assemble or like some and the highlighlited windows word that what should i do

global::System.Windows.Forms.MessageBox.Show("Hello world");

Thanks