This folder contains all examples used by xtd::forms docmentation and more.
- hello_world_emoticons The classic first application "Hello, World!" with xtd::forms::emoticons component.
- hello_world_label The classic first application "Hello, World!" with xtd::forms::label control.
- hello_world_message_box The classic first application "Hello, World!" with xtd::forms::message_box control.
- hello_world_paint The classic first application "Hello, Wrold!" with GDI+ drawing objects.
- application shows how to create an application with xtd::forms::application class.
- application_context shows how to create an application with xtd::forms::application class with xtd::forms::application_context class.
- application_enable_dark_mode shows how to enable dark mode with xtd::forms::application class with xtd::forms::application_context class.
- application_enable_light_mode shows how to enable light mode with xtd::forms::application class with xtd::forms::application_context class.
- application_icon shows how to set application icon with cmake application_icon().
- application_use_wait_cursor shows how to show and hide wait cursor application with xtd::forms::application class with xtd::forms::application_context class.
- button represents a Windows xtd::forms::button control.
- buttons Show how to use buttons factory with xtd::forms::buttons control.
- check_box represents a Windows xtd::forms::check_box control.
- check_boxs Show how to use check boxes factory with xtd::forms::check_boxs factory.
- checked_list_box represents a Windows control to display a list of check box.
- choice represents a xtd::forms::choice control.
- combo_box represents a Windows xtd::forms::combo_boxcontrol.
- command_link_button represents a Windows xtd::forms::command_link_button control.
- control defines the base class for controls, which are components with visual representation.
- domain_up_down represents a Windows spin box (also known as an up-down control) that displays string values.
- hscroll_bar represents a standard Windows horizontal scroll bar.
- label represents a standard Windows xtd::forms::label.
- link_label represents a Windows label control that can display hyperlinks.
- list_box represents a Windows control to display a list of items.
- list_view represents a Windows list view control, which displays a collection of items that can be displayed using one of four different views.
- masked_text_box uses a mask to distinguish between proper and improper user input.
- month_calendar specifies values for navigating among accessible objects.
- notify_icon specifies a component that creates an icon in the notification area. This class cannot be inherited.
- numeric_up_down represents a Windows spin box (also known as an up-down control) that displays numeric values.
- picture_box represents a Windows picture box control for displaying an image.
- progress_bar represents a Windows xtd::forms::progress_bar control.
- radio_button enables the user to select a single option from a group of choices when paired with other xtd::forms::radio_button controls.
- radio_buttons Show how to use radio buttons factory with xtd::forms::radio_buttons factory.
- rich_text_box represents a Windows rich text box control.
- splitter represents a splitter control that enables the user to resize docked controls. Splitter has been replaced by SplitContainer and is provided only for compatibility with previous versions.
- switch_button represents a xtd::forms::switch_button control.
- text_box represents a Windows xtd::forms::text_box control.
- tool_tip Represents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control.
- toggle_button represents a xtd::forms::toggle_button control.
- track_bar represents a standard Windows xtd::forms::track_bar.
- tree_view displays a hierarchical collection of labeled items, each represented by a TreeNode.
- up_down_button represents a Windows spin button.
- user_control defines the base class for user controls.
- vscroll_bar represents a standard Windows vertical scroll bar.
- web_browser enables the user to navigate Web pages inside your form.
- color_picker represents a Windows control that allows the user to select and display a color.
- date_time_picker represents a Windows control that allows the user to select a date and a time and to display the date and time with a specified format.
- font_picker represents a Windows control that allows the user to select and display a font.
- flow_layout_panel represents a panel that dynamically lays out its contents horizontally or vertically.
- form represents a window or dialog box that makes up an application's user interface.
- group_box represents a Windows control that displays a frame around a group of controls with an optional caption.
- panel used to group collections of controls.
- split_container represents a control consisting of a movable bar that divides a container's display area into two resizable panels.
- tab_control manages a related set of tab pages.
- table_layout_panel represents a panel that dynamically lays out its contents in a grid composed of rows and columns.
- dot_matrix_display represents a xtd::forms::fourteen_segment_display control.
- fourteen_segment_display represents a xtd::forms::fourteen_segment_display control.
- lcd_label represents a xtd::forms::lcd_label control.
- nine_segment_display represents a xtd::forms::nine_segment_display control.
- seven_segment_display represents a xtd::forms::seven_segment_display control.
- sixteen_segment_display represents a xtd::forms::sixteen_segment_display control.
- line demonstrates the use of xtd::forms::user_controlcontrol to draw simple lines.
- numeric_text_box demonstrates the customize xtd::forms::text_box control.
- menu provides a menu system for a form.
- context_menu_strip represents a shortcut menu.
- menu_strip provides a menu system for a form.
- status_strip represents a Windows status bar control.
- tool_strip provides a container for Windows toolbar objects.
- tool_strip_container provides panels on each side of the form and a central panel that can hold one or more controls.
- binding_navigator represents the navigation and manipulation user interface (UI) for controls on a form that are bound to data.
- binding_source encapsulates the data source for a form.
- chart
- data_grid_view displays data in a customizable grid.
- data_set
- background_worker executes an operation on a separate thread.
- button_images represents common images collection can be used for button.
- button_renderer show how to use xtd::forms::button_renderer renderer.
- check_box_renderer show how to use xtd::forms::check_box_renderer renderer.
- countries shows how to use xtd::forms::coutries collection and xtd::forms::country component.
- cursors shows how to used xtd::forms::cursors collection and xtd::forms::cursor component.
- emoticons shows how to used xtd::forms::emoticons collection and xtd::forms::emoticon component.
- directory_entry The DirectoryEntry class encapsulates a node or object in the Active Directory Domain Services hierarchy.
- directory_searcher performs queries against Active Directory Domain Services.
- error_provider provides a user interface for indicating that a control on a form has an error associated with it.
- event_log provides interaction with Windows event logs.
- file_system_watcher listens to the file system change notifications and raises events when a directory, or file in a directory, changes.
- help_provider provides pop-up or online Help for controls.
- image_list provides methods to manage a collection of Image objects. This class cannot be inherited.
- message_queue provides access to a queue on a Message Queuing server.
- performance_counter represents a Windows NT performance counter component.
- process provides access to local and remote processes and enables you to start and stop local system processes.
- radio_button_renderer show how to use xtd::forms::radio_button_renderer renderer.
- screen represents a display device or multiple display devices on a single system.
- settings represents settings application.
- serial_port represents a serial port resource.
- service_controler represents a Windows service and allows you to connect to a running or stopped service, manipulate it, or get information about it.
- system_images demonstrates the use of xtd::drawing::system_images class.
- texts shows how to used xtd::forms::texts collection.
- timer implements a timer that raises an event at user-defined intervals. This timer is optimized for use in Windows Forms applications and must be used in a window.
- use_wait_cursor shows how to use xtd::forms::use_wait_cursor component.
- page_setup_dialog enables users to change page-related print settings, including margins and paper orientation. This class cannot be inherited.
- print_dialog lets users select a printer and choose which sections of the document to print from a Windows Forms application.
- print_document defines a reusable object that sends output to a printer, when printing from a Windows Forms application.
- print_preview_control represents the raw preview part of print previewing from a Windows Forms application, without any dialog boxes or buttons. Most PrintPreviewControl objects are found on PrintPreviewDialog objects, but they do not have to be.
- print_preview_dialog represents a dialog box form that contains a PrintPreviewControl for printing from a Windows Forms application.
- color_dialog represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.
- folder_browser_dialog prompts the user to select a folder.
- font_dialog prompts the user to choose a font from among those installed on the local computer.
- input_dialog prompts the user to input text.
- open_file_dialog displays a standard dialog box that prompts the user to open a file.
- save_file_dialog prompts the user to select a location for saving a file.
- about_dialog represents a common dialog box that displays about box.
- message_box displays a message window, also known as a dialog box, which presents a message to the user. It is a modal window, blocking other actions in the application until the user closes it. A MessageBox can contain text, buttons, and symbols that inform and instruct the user.
- find_replace_dialog represents a find replace dialog box.
- user_dialog demonstrates the use of xtd::forms::form as dialog.
- application_idle shows how to create an application with xtd::forms::application class and idle event.
- key_events demonstrates the use of key events.
- mouse_events demonstrates the use of mouse events.
- enable_changed_event demonstrates the use of enable_changed event.
- font_changed_event demonstrates the use of font_changed event.
- form_click demonstrates the use of xtd::forms::form control and click event.
- form_and_messages demonstrates some events received by xtd::forms::form.
- form_paint demonstrates paint event with xtd::forms::form.
- wnd_proc demonstrates the use of wnd_proc method.
- auto_scroll demonstrates the use of xtd::forms::panel container with xtd::forms/scrollable_control::auto_scroll.
- bitmap_button demonstrates the use of xtd::forms::button control and xtd::drawing::image].
- button2 demonstrates the use of xtd::forms::button control.
- button3 demonstrates the use of xtd::forms::button control.
- button4 demonstrates the use of xtd::forms::button control.
- clock demonstrates the use of xtd::forms::lcd_label control.
- colored_forms demonstrates the use of xtd::forms::form control and xtd::drawing::color class.
- colored_tab_pages demonstrates the use of xtd::forms::tab_control and colored xtd::forms::tab_page controls.
- colors demonstrates the use of xtd::forms::user_control control with xtd::drawing::color.
- docked_panels demonstrates the use of xtd::forms::panel container with xtd::forms::dock_style.
- font_family demonstrates the use of xtd::drawing::font_family class.
- form_and_main demonstrates how to use startup_ keyword.
- form_and_thread demonstrates how a thread can update ui with xtd::forms::control::invoke method.
- form_window_state demonstrates the use of xtd::forms::form window state.
- form2 represents a window or dialog box that makes up an application's user interface.
- group_box_and_check_box demonstrates the use of xtd::forms::group_box container and xtd::forms::check_box control.
- group_box_and_radio_button demonstrates the use of xtd::forms::group_box container and xtd::forms::radio_button control.
- labels_and_unicode_text demonstrates the use of xtd::forms::label control and Unicode text.
- lcd_label_with_dot_matrix representsthe use of xtd::forms::lcd_label control.
- lcd_label_with_fourteen_segment representsthe use of xtd::forms::lcd_label control.
- lcd_label_with_nine_segment representsthe use of xtd::forms::lcd_label control.
- lcd_label_with_seven_segment representsthe use of xtd::forms::lcd_label control.
- lcd_label_with_sixteen_segment representsthe use of xtd::forms::lcd_label control.
- lcd_label2 representsthe use of xtd::forms::lcd_label control.
- painting demonstrates the use of xtd::forms::form, xtd::forms::panel, xtd::forms::track_bar and xtd::forms::button controls with mouse_down, mouse_move and paint events..
- smileys demonstrates the use of xtd::forms::label control.
- some_controls demonstrates the use of some controls.
- stopwatch_form demonstrates the use of stopwatch class, xtd::forms::label and xtd::forms::button controls.
- system_sound demonstrates the use of xtd::media::system_sound component.
- text_box_multiline represents a Windows xtd::forms::text_box control.
- text_box_password represents a Windows xtd::forms::text_box control.
- texts demonstrates the use of xtd::forms::texts strings.
- wiggly shows how to animate a user control using timer and timer::event. In addition, the example demonstrates how to use graphics::measure_string to determine the size of text on screen.
- All You can see all examples here.
- game_of_life The Game of Life is not your typical computer game. It is a 'cellular automaton', and was invented by Cambridge mathematician John Conway.
- minesweeper The goal of the game is to uncover all the squares that do not contain mines.
- simple a very basic xtd_forms program.