#include <xtd/drawing/system_colors>
#include <xtd/forms/application>
#include <xtd/forms/form>
#include <xtd/forms/status_bar>
namespace status_bar_without_panels_example {
class form1 :
public form {
public:
form1() {
text("Status bar without panels example");
status_bar1.text(string::format("Mouse click at location : {}", e.location()));
};
status_bar1.parent(*this);
status_bar1.back_color(drawing::system_colors::control());
status_bar1.text("Click anywhere on the client form...");
}
private:
};
}
auto main() -> int {
application::run(status_bar_without_panels_example::form1 {});
}
size_t size
Represents a size of any object in bytes.
Definition size.h:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10