开发者

Output using Messagebox in c#

开发者 https://www.devze.com 2023-02-20 01:20 出处:网络
If I do not开发者_如何学运维 want to use \"Messagebox.Show\", what other option do I have in C#. You can always create your own form and display it yourself, just like with any other form. If you coul

If I do not开发者_如何学运维 want to use "Messagebox.Show", what other option do I have in C#.


You can always create your own form and display it yourself, just like with any other form. If you could post some information about why you don't want to use MessageBox.Show, someone might be able to offer more specific advice.


There are a lot of ways to display feedback messages to users.

If I'm not using a MessageBox, then I use a Label.

I set the text to "" or hide it and then when I want to display a message set the text and visibility.


If you're talking about diagnostic output, that's what Debug.WriteLine (and its cousin, Trace.WriteLine) have been made for.

0

精彩评论

暂无评论...
验证码 换一张
取 消