#include <xtd/diagnostics/process>
#include <xtd/forms/application>
#include <xtd/forms/form>
#include <xtd/forms/link_label>
namespace link_label_example {
class form1 :
public form {
public:
form1() {
text(
"Link label example");
client_size({400, 200});
link_label1.location({10, 10});
link_label1.auto_size(true);
link_label1.parent(*this);
link_label1.text("xtd Reference Guide");
process::start(
"https://gammasoft71.github.io/xtd/reference_guides/latest/index.html");
};
link_label2.location({10, 40});
link_label2.auto_size(true);
link_label2.parent(*this);
link_label2.text("Gammasoft presents xtd framework");
link_label2.links().push_back({0, 9, "https://gammasoft71.wixsite.com/gammasoft"});
link_label2.links().push_back({19, 3, "https://gammasoft71.github.io/xtd"});
};
link_label3.location({10, 70});
link_label3.auto_size(true);
link_label3.parent(*this);
link_label3.text("Put your temporary files in the temp directory");
};
}
private:
};
}
auto main() -> int {
}
bool start()
Starts (or reuses) the process resource that is specified by the xtd::diagnostics::process::start_inf...
static xtd::string get_temp_path() noexcept
Returns the path of the current user's temporary folder.
type_t as(any_object &o)
Casts a type into another type.
Definition __as_any_object.hpp:59
@ e
The E key.
Definition console_key.hpp:96
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.hpp:17
Contains classes that represent ASCII and Unicode character encodings; abstract base classes for conv...
Definition basic_string_builder.hpp:16
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8