Dialogbutton dialogBtn;
;
dialogBtn = Box::yesNo("Are you sure to continue ", dialogButton::Yes, "Choose your option");
if (dialogBtn == dialogButton::Yes)
{
info( "Process will be continued ");
}
else
if (dialogBtn == dialogButton::No)
{
info( "Process stopped");
}
;
dialogBtn = Box::yesNo("Are you sure to continue ", dialogButton::Yes, "Choose your option");
if (dialogBtn == dialogButton::Yes)
{
info( "Process will be continued ");
}
else
if (dialogBtn == dialogButton::No)
{
info( "Process stopped");
}
No comments:
Post a Comment