Msgbox for C# [英] Msgbox for C#

查看:94
本文介绍了Msgbox for C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是C#的新手。它是否具有像VB6这样的Msgbox函数,即

MsgBoxHello World。什么是equivelant函数?它有一个吗?


感谢你抽出时间来解决这个简单的问题

Hello, I''m a newbie to C#. Does it have a Msgbox function like VB6 i.e.
MsgBox "Hello World". What is the equivelant function? Does it have one?

Thanks for your time on this simple question

推荐答案

是的,它' 's
MessageBox.Show(" This is a message");


" Ant" < An*@discussions.microsoft.com>在消息中写道

news:50 ********************************** @ microsof t.com ...
Yes, it''s

MessageBox.Show("This is a message");

"Ant" <An*@discussions.microsoft.com> wrote in message
news:50**********************************@microsof t.com...
你好,我是C#的新手。它是否具有像VB6这样的Msgbox函数,即MsgBoxHello World。什么是equivelant函数?它是否有一个?

感谢您抽出时间讨论这个简单的问题
Hello, I''m a newbie to C#. Does it have a Msgbox function like VB6 i.e.
MsgBox "Hello World". What is the equivelant function? Does it have one?

Thanks for your time on this simple question



On Sun,2005年6月19日19:02: 02 -0700,Ant写道:
On Sun, 19 Jun 2005 19:02:02 -0700, Ant wrote:
你好,我是C#的新手。它是否具有像VB6这样的Msgbox函数,即MsgBoxHello World。什么是equivelant函数?它有一个吗?

感谢你抽出时间来解决这个简单的问题
Hello, I''m a newbie to C#. Does it have a Msgbox function like VB6 i.e.
MsgBox "Hello World". What is the equivelant function? Does it have one?

Thanks for your time on this simple question




System.Windows.Forms.MessageBox.Show(... )

-

Tom Porterfield



System.Windows.Forms.MessageBox.Show(...)
--
Tom Porterfield


" Ant" < An*@discussions.microsoft.com>在消息中写道

news:50 ********************************** @ microsof t.com ...
"Ant" <An*@discussions.microsoft.com> wrote in message
news:50**********************************@microsof t.com...
你好,我是C#的新手。它是否具有像VB6这样的Msgbox函数,即MsgBoxHello World。什么是equivelant函数?它有一个吗?

感谢您抽出时间来解决这个简单的问题
Hello, I''m a newbie to C#. Does it have a Msgbox function like VB6 i.e.
MsgBox "Hello World". What is the equivelant function? Does it have one?

Thanks for your time on this simple question




我厌倦了C#中长卷曲的消息框语法我写了自己的名为MsgBox的
函数,名为MessageBox.Show。


Michael



I got so sick of the long winded messagebox syntax in C# I wrote my own
function called MsgBox which called MessageBox.Show.

Michael


这篇关于Msgbox for C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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