#include <xtd/forms/application>
#include <xtd/forms/button>
#include <xtd/forms/form>
#include <xtd/forms/label>
auto main() -> int {
auto button1_clicked = 0, button2_clicked = 0;
form1.controls()["label1"].value().get().text(xtd::string::format("Button 1 clicked {} times", ++button1_clicked));
};
form1.controls()["label2"].value().get().text(xtd::string::format("Button 2 clicked {} times", ++button2_clicked));
};
}
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
const_iterator begin() const
Returns an iterator to the beginning.
Definition read_only_span.hpp:183
const_iterator end() const
Returns an iterator to the end.
Definition read_only_span.hpp:213
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp:54
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31