Dynamic layout method of interface and system of dynamic layout method
A dynamic layout and interface technology, applied in the Internet field, can solve the problems that cannot fully meet the user's needs for window interface customization, and achieve the effect of meeting the needs of customization and simple layout methods
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0076] Please refer to figure 1 , Embodiment 1 of the present invention is: a method for dynamic interface layout, which can be used for dynamic interface layout of Winform application programs. The layout method is simple and can fully meet the needs of user customization. Including the following steps:
[0077] S1. Acquire a target interface and a layout configuration file of the target interface. The target interface can be selected according to the user's own needs, and the layout configuration file of the selected target interface can be obtained after selection.
[0078] S2. According to the control information in the layout configuration file, create a control list and an attribute list corresponding to the controls one by one. After the control list and attribute list are created, they can be displayed in the dynamic layout mode. The attribute list is the attribute list corresponding to the currently selected control. Each control in the control list has a correspond...
Embodiment 2
[0083] Please refer to figure 2 , Embodiment 2 of the present invention is a further extension of Embodiment 1 above, and the similarities will not be described again. The difference is that after step S2, it also includes:
[0084] S201. Add an extension field in the attribute list. The extended field is the key setting object, which can be set according to the user's preference. Such as time, price, gender and so on.
[0085] S202. Obtain a display data table that records display data.
[0086] S203. Associating the data fields in the display data table with preset attribute values to obtain an association relationship. In the association relationship, different data fields correspond to different attribute values. The display data table records all the data that the control can display, and each data field corresponds to a different attribute value. Assuming that the preset attribute values are 1, 2, and 3, the preset data fields in the display data table are date,...
Embodiment 3
[0097] Embodiment 3 of the present invention is a specific application scenario of the above-mentioned embodiment, specifically a dynamic interface layout method of a Winform application program, including:
[0098] After selecting the target interface, the user performs a dynamic layout operation to enter the dynamic layout mode. In the dynamic layout mode, a resizable window A pops up. Window A includes two lists, one is the control list (list 1), the other is the attribute list (list 2), and it also includes a drop-down selection box, the drop-down selection The box provides a drop-down list of new controls. There are also action buttons, including an add button and a remove button.
[0099] When the user needs to add a control, click the Add button to add the desired control. After adding the control, the newly added control needs to be instantiated and added to the target interface. The newly added control will also appear in List 1 middle. When the user needs to remov...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com