头痛! Msg
Box都搞不定,怎么开发呀!救命~ 请教各位大侠,帮我写个Msg
Box的例子吧 __________________________________________________________________________ 您是在开玩笑吧?把这20分给我然后揭帖吧。 __________________________________________________________________________ Msg
Box?——> Message
Box?@_@ DialogResult result = Message
Box.Show( "是不是没见过抢分的? ","打、打、打劫! ",Message
BoxButtons.YesNoCancel,Message
BoxIcon.Question); switch (result) { case DialogResult.Yes: { Message
Box.Show( "这次就让你认识一下! "); break; } case DialogResult.No: { Message
Box.Show( "还有比我能抢的!告诉我他住址先,我去抢他。 "); break; } case DialogResult.Cancel: { break; } } __________________________________________________________________________ Message
Box.Show( "XX "); 不过这是Winform里的,在VB.NET里只能用客户端脚本 __________________________________________________________________________ 呵呵,刚打完游戏,头脑还没清醒过来,没注意看版块,原来是VB.NET的,当我路过:) __________________________________________________________________________ msg
Box()简单的
用法: Private Sub Button1_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles Button1.Click Msg
Box( "就这么简单!! ") End Sub __________________________________________________________________________ Private Sub Button1_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles Button1.Click Msg
Box( "朋友,给点分用用! ") End Sub __________________________________________________________________________ lz .... 你太有才了!!! __________________________________________________________________________ msg
Box还是
调用vb6的
函数的吧,最好用Message
Box.Show( "XX "); __________________________________________________________________________ lxcnn(过客)——嫩强悍,我佩服,
代码这么诱人 __________________________________________________________________________ 在WinFrom 中是简单的,但在WebFrom中就难了, 如果要有返回值,就是超级难了(原来是高手除外) __________________________________________________________________________ Message
Box.Show() __________________________________________________________________________ 在.net 中用 RegisterStartupScript( "aaa "," ") __________________________________________________________________________ VB.Net中,msg
Box() 需要Imports引用什么啊? 我加了好多还是
提示“应为声明”的
错误。Message
Box.Show()就不需要引用,可以正常运行。 看来msg
Box() 看似简单,但是难倒了很多人啊! 如何在程序里面加一个引用就
包括全部程序将可能用到的类库啊,这样就不会老碰到调试
错误了? __________________________________________________________________________ Imports System Imports system.IO Imports system.Net Imports system.Text Imports system.Timers Imports system.Web Imports system.Windows Imports system.Resources Imports system.ComponentModel Imports system.Math Imports system.Drawing Imports System.Media Imports System.Data Imports System.Collections 有没有类似Imports System.* 的语句啊? Imports *.* 最好了! __________________________________________________________________________ 路过~ __________________________________________________________________________ 路过... __________________________________________________________________________ C#多好呢!! 路过了... __________________________________________________________________________ 简单来个吧: winform里面: Msg
Box( "嗨,老兄,我是在winform里面呢! ",Msg
BoxStyle.OkOnly,"友情
提示 ") webform里面: Response.Write( " ") __________________________________________________________________________ 看MSDN啊~ __________________________________________________________________________ Msg
Box( "
显示的
内容 ") Msg
Box( "
显示的
内容 ","
显示的
标题 ",按钮样式,
显示的
提示符号) __________________________________________________________________________
原文链接:/vb/263828.html