如何在c sharp中显示消息 [英] How to display message in c sharp

查看:186
本文介绍了如何在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


这篇关于如何在c sharp中显示消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆