开发者

Multiple MessageBox Options

开发者 https://www.devze.com 2023-02-28 13:55 出处:网络
It\'s a silly question but I couldn\'t find an answer to that : I\'m using a messagebox to display text in hebrew and I need b开发者_StackOverflow中文版oth RTLReading and RightAlign.

It's a silly question but I couldn't find an answer to that :

I'm using a messagebox to display text in hebrew and I need b开发者_StackOverflow中文版oth RTLReading and RightAlign.

I'm currently using :

MessageBox.Show(msg, title, MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.RtlReading);

How can I add MessageBoxOptions.RightAlign?


OR them together: MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign


Use the OR operator:

MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign
0

精彩评论

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

关注公众号