#include <xtd/forms/application>
#include <xtd/forms/button>
#include <xtd/forms/form>
#include <xtd/threading/thread>
class form1 :
public form {
public:
form1() {
text(
"Application use wait cursor example");
application::use_wait_cursor(true);
for (auto count = 0; count < 500; ++count) {
application::do_events();
threading::thread::sleep(10_ms);
}
application::use_wait_cursor(false);
};
}
private:
};
auto main() -> int {
}
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10