string a = this.Height.ToString();
MessageBox.Show(groupBox1,a);

 

在指定对象的前面显示具有指定文本的消息框

这样就会弹出个像alert();的框

 

黑色头发  http://heisetoufa.iteye.com

更多推荐