5#include "../forms_export.h"
6#include "../forms_namespace_aliases.h"
13#include <xtd/delegate>
14#include <xtd/event_args>
84 static
xtd::
string common_app_data_path() noexcept;
102 static
xtd::
string company_name() noexcept;
106 static
bool dark_mode() noexcept;
111 static
void dark_mode(
bool value);
117 static
bool dark_mode_enabled() noexcept;
121 static
xtd::
string executable_name() noexcept;
125 static
xtd::
string executable_path() noexcept;
133 static
bool font_size_correction();
141 static
void font_size_correction(
bool value);
146 static
bool keep_cloned_controls() noexcept;
152 static
void keep_cloned_controls(
bool value);
156 static
bool light_mode() noexcept;
161 static
void light_mode(
bool value);
167 static
bool light_mode_enabled() noexcept;
189 static
bool message_loop() noexcept;
198 static
xtd::
string product_name() noexcept;
202 static
xtd::
string product_version() noexcept;
206 static
xtd::
string startup_path() noexcept;
211 static const
xtd::
forms::style_sheets::style_sheet& style_sheet() noexcept;
215 static
void style_sheet(const
xtd::
forms::style_sheets::style_sheet& value);
219 static const
xtd::
forms::style_sheets::style_sheet::style_sheets_t& style_sheets() noexcept;
224 static const
xtd::
forms::style_sheets::style_sheet::style_sheet_names_t& style_sheet_names() noexcept;
230 static
bool system_controls() noexcept;
237 static
void system_controls(
bool value);
245 static
bool system_font_size() noexcept;
253 static
void system_font_size(
bool value);
259 static const
xtd::
forms::style_sheets::style_sheet& system_style_sheet() noexcept;
266 static
xtd::
string user_app_data_path() noexcept;
281 static
bool use_visual_styles() noexcept;
302 static
bool visual_styles() noexcept;
309 static
void visual_styles(
bool value);
364 static
void do_events();
371 static
void enable_button_images();
379 static
void enable_dark_mode();
387 static
void enable_light_mode();
394 static
void enable_menu_images();
400 static
void enable_visual_styles();
419 static
void exit_thread();
426 static
xtd::
forms::style_sheets::style_sheet get_style_sheet_from_name(const
xtd::
string& name);
448 static
void restart();
473 static
void run(const
form& main_form);
502 static
bool close_open_forms();
503 static
void on_app_thread_exit(
object& sender, const
event_args& e);
504 static
bool on_app_thread_exception();
505 static
void raise_enter_thread_modal(const
event_args& e);
506 static
void raise_leave_thread_modal(const
event_args& e);
515 static
bool button_images_;
516 static
bool keep_cloned_controls_;
517 static
bool light_mode_;
518 static
bool font_size_correction_;
519 static
bool menu_images_;
520 static
bool message_loop_;
521 static
bool raise_idle_;
522 static
bool system_controls_;
523 static
bool system_font_size_;
524 static
bool use_wait_cursor_;
525 static
bool visual_styles_;
Contains xtd::forms::application_context class.
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
Represents an event.
Definition event.h:21
Specifies the contextual information about an application thread.
Definition application_context.h:26
Represents the version number of an assembly, operating system, or the xtd. This class cannot be inhe...
Definition version.h:114
delegate< bool()> message_loop_callback
Represents a method that will check whether the hosting environment is still sending messages.
Definition message_loop_callback.h:23
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:37
#define forms_export_
Define shared library export.
Definition forms_export.h:13
std::optional< type_t > optional
Represents the null_opt alias on std::nullopt_t.
Definition optional.h:181
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.h:23
Contains xtd::forms::imessage_filter interface.
Contains xtd::forms::message class.
Contains xtd::forms::message_loop_callback callback.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::forms::style_sheets::style_sheet class.