demonstrates the use of xtd::forms::progress_box progress dialog.
- Windows
-
- macOS
-
- Gnome
-
#include <xtd/forms/application>
#include <xtd/forms/button>
#include <xtd/forms/form>
#include <xtd/forms/progress_box>
#include <xtd/threading/thread>
class form1 :
public form {
public:
form1() {
text(
"Progress box example");
client_size({ 400, 200 });
download_button.parent(*this)
.text("Download")
.location({ 10, 10 })
.click += [this] {
}
};
}
private:
};
auto main()->int {
}