demonstrates the use of xtd::forms::busy_box dialog.
- Windows
-
- macOS
-
- Gnome
-
#include <xtd/forms/application>
#include <xtd/forms/busy_box>
#include <xtd/forms/button>
#include <xtd/forms/form>
#include <xtd/threading/thread>
class form1 :
public form {
public:
form1() {
text(
"Busy box example");
busy_box::show(
"Please wait while do something...",
"Application busy");
for (auto count = 0; count < 500; ++count) {
}
};
}
private:
};
auto main()->int {
}