开发者

Is it possible to make formatted MessageBox with http-reference

I want to show message like "New version of software is available at http://mysite.com" and so "http://mysite.com" part would be clickable. Is it开发者_如何学运维 posible using some built in Winforms message dialog ?


No. You can't.

You will need to create your own Dialog box.

An example on CodeProject: a custom messagebox

EDIT:

Apparently there is a way: Clickable URL in a Winform Message Box?

MessageBox.Show(     
    "test message",
    "caption",
    MessageBoxButtons.YesNo,     
    MessageBoxIcon.Information,
    MessageBoxDefaultButton.Button1,
    MessageBoxOptions.LeftAlign,
    "http://google.com",
    "keyword"
) 
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜