Box class

Box class

Box is a class used for showing an information- or confirmation box to the user.

[edit]Example

if (Box::yesNo("Is it safe to delete this?", DialogButton::No, "Delete inventory") == DialogButton::Yes)
{
   // Do delete code
}
原文地址:https://www.cnblogs.com/perock/p/2352975.html