CN111580791A - Method and device for generating window - Google Patents

Method and device for generating window Download PDF

Info

Publication number
CN111580791A
CN111580791A CN202010341928.1A CN202010341928A CN111580791A CN 111580791 A CN111580791 A CN 111580791A CN 202010341928 A CN202010341928 A CN 202010341928A CN 111580791 A CN111580791 A CN 111580791A
Authority
CN
China
Prior art keywords
attribute
control
template
window
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010341928.1A
Other languages
Chinese (zh)
Inventor
吕显朋
刘家斌
李健亭
付洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Genersoft Information Technology Co Ltd
Original Assignee
Shandong Inspur Genersoft Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Genersoft Information Technology Co Ltd filed Critical Shandong Inspur Genersoft Information Technology Co Ltd
Priority to CN202010341928.1A priority Critical patent/CN111580791A/en
Publication of CN111580791A publication Critical patent/CN111580791A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and a device for generating a window, wherein the method comprises the following steps: the method comprises the steps of creating a template window in advance, and hanging at least one control in the template window; determining at least one control to be configured from the at least one control; determining at least one attribute to be configured from each attribute of the at least one control to be configured; receiving a target value of the at least one attribute to be configured; and generating a target form according to the template form and the target value of the at least one attribute to be configured. The method and the device for generating the window can generate the window more conveniently.

Description

Method and device for generating window
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for generating a window.
Background
In the process of software development, development forms are often required. In the prior art, each form needs to be redeveloped, a large number of codes need to be written, and the workload is large and very complex.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a window, which can generate the window more conveniently.
In a first aspect, an embodiment of the present invention provides a method for generating a window, including:
the method comprises the steps of creating a template window in advance, and hanging at least one control in the template window; determining at least one control to be configured from the at least one control; determining at least one attribute to be configured from each attribute of the at least one control to be configured;
receiving a target value of the at least one attribute to be configured;
and generating a target form according to the template form and the target value of the at least one attribute to be configured.
Alternatively,
the determining at least one attribute to be configured from the attributes of the at least one control to be configured includes:
determining the identifier of each control to be configured;
determining the identifier of each attribute to be configured;
reflecting and instantiating the template window;
searching each control to be configured from the template window after reflection instantiation according to the identifier of each control to be configured;
and reflecting and instantiating each control to be configured according to the identifier of each attribute to be configured so as to expose the attribute to be configured corresponding to the identifier of each attribute to be configured.
Alternatively,
searching each control to be configured from the template form after the reflection instantiation according to the identifier of each control to be configured, including:
determining at least one program set and at least one class space to which the at least one control to be configured belongs;
for each control to be configured, executing: and searching the class space to which the current control to be configured belongs from the program set to which the current control to be configured belongs, and searching the current control to be configured from the class space to which the current control to be configured belongs according to the identification of the current control to be configured.
Alternatively,
generating a target form according to the template form and the target value of the at least one attribute to be configured, including:
reflecting and instantiating the template window;
searching each attribute to be configured in the template window after the reflection instantiation;
and modifying the value of each attribute to be configured into a corresponding target value, and generating the target form.
Alternatively,
after determining at least one attribute to be configured from the attributes of the at least one control to be configured, the method further includes:
displaying the at least one attribute to be configured in a preset visual interface;
the receiving the target value of the at least one attribute to be configured includes:
and receiving an externally input target value of each attribute to be configured through the visual interface.
Alternatively,
after the receiving the target value of the at least one attribute to be configured, further comprising:
and saving the target value of the at least one attribute to be configured in a database.
In a second aspect, an embodiment of the present invention provides an apparatus for generating a window, including:
the system comprises a storage module, a control module and a control module, wherein the storage module is used for storing a template window, and at least one control is hung in the template window;
the first determining module is used for determining at least one control to be configured from the at least one control;
the second determining module is used for determining at least one attribute to be configured from each attribute of the at least one control to be configured;
a receiving module, configured to receive a target value of the at least one attribute to be configured;
and the generating module is used for generating a target form according to the template form and the target value of the at least one attribute to be configured.
Alternatively,
the second determining module is configured to determine an identifier of each control to be configured, determine an identifier of each attribute to be configured, perform reflection instantiation on the template window, search each control to be configured from the template window after reflection instantiation according to the identifier of each control to be configured, and perform reflection instantiation on each control to be configured according to the identifier of each attribute to be configured so as to expose the attribute to be configured corresponding to the identifier of each attribute to be configured.
Alternatively,
the second determining module, when executing the step of searching each control to be configured from the template form after reflection instantiation according to the identifier of each control to be configured, is configured to:
determining at least one program set and at least one class space to which the at least one control to be configured belongs, and executing, for each control to be configured: and searching the class space to which the current control to be configured belongs from the program set to which the current control to be configured belongs, and searching the current control to be configured from the class space to which the current control to be configured belongs according to the identification of the current control to be configured.
Alternatively,
the generating module is used for reflecting and instantiating the template window, searching each attribute to be configured from the template window after reflecting and instantiating, modifying the value of each attribute to be configured into a corresponding target value, and generating the target window.
Alternatively,
the receiving module is further configured to display the at least one attribute to be configured in a preset visual interface;
the receiving module is used for receiving the target value of each attribute to be configured, which is input from the outside, through the visual interface.
Alternatively,
the receiving module is further configured to store the target value of the at least one attribute to be configured in a database.
In the embodiment of the invention, a template form is created in advance, in the template form, the attributes to be configured of the control to be configured are configurable, and each attribute to be configured is determined in advance. The value of the attribute to be configured can be configured into a target value according to the requirement of the target window, the required target window can be generated according to the template window and the target value of the attribute to be configured, the template window can be multiplexed, the target value of the attribute to be configured only needs to be configured according to the requirement of the target window, a large number of codes do not need to be written, and the window can be generated more conveniently.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for generating a window according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for generating a frame according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an apparatus for generating a window according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
In order to generate a window more conveniently, an embodiment of the present invention provides a method for generating a window, which may include the following steps:
step 101: the method comprises the steps of creating a template window in advance, and hanging at least one control in the template window;
step 102: determining at least one control to be configured from the at least one control;
step 103: determining at least one attribute to be configured from each attribute of the at least one control to be configured;
step 104: receiving a target value of the at least one attribute to be configured;
step 105: and generating a target form according to the template form and the target value of the at least one attribute to be configured.
In the embodiment of the invention, a template form is created in advance, in the template form, the attributes to be configured of the control to be configured are configurable, and each attribute to be configured is determined in advance. The value of the attribute to be configured can be configured into a target value according to the requirement of the target window, the required target window can be generated according to the template window and the target value of the attribute to be configured, the template window can be multiplexed, the target value of the attribute to be configured only needs to be configured according to the requirement of the target window, a large number of codes do not need to be written, and the window can be generated more conveniently.
In the embodiment of the present invention, the attributes of the control may include: whether to read, whether to write, whether to display, an alias, etc., which may all be attributes to be configured. The identifier of the attribute to be configured may be the name of the attribute, etc.
In an embodiment of the present invention, the determining at least one attribute to be configured from the attributes of the at least one control to be configured includes:
determining the identifier of each control to be configured;
determining the identifier of each attribute to be configured;
reflecting and instantiating the template window;
searching each control to be configured from the template window after reflection instantiation according to the identifier of each control to be configured;
and reflecting and instantiating each control to be configured according to the identifier of each attribute to be configured so as to expose the attribute to be configured corresponding to the identifier of each attribute to be configured.
In the embodiment of the invention, the template window is subjected to reflection instantiation by a reflection technology, and after the reflection instantiation, the corresponding control to be configured and the attribute to be configured can be found in the template window according to the identifier of the control to be configured. After finding the to-be-configured control, the to-be-configured control can be subjected to reflection instantiation through a reflection technology, after reflection instantiation, the corresponding to-be-configured attribute can be found in each to-be-configured control according to the identifier of the to-be-configured attribute, each to-be-configured attribute can be exposed through reflection instantiation of each to-be-configured control, and each to-be-configured attribute can be displayed only after each to-be-configured attribute is exposed so as to configure the value of each to-be-configured attribute.
In this embodiment of the present invention, the searching for each control to be configured from the template form after the reflection instantiation according to the identifier of each control to be configured includes:
determining at least one program set and at least one class space to which the at least one control to be configured belongs;
for each control to be configured, executing: and searching the class space to which the current control to be configured belongs from the program set to which the current control to be configured belongs, and searching the current control to be configured from the class space to which the current control to be configured belongs according to the identification of the current control to be configured.
In the embodiment of the present invention, a form may include at least one program set, each program set may include at least one class space, and each class space may include at least one control. In order to find each control to be configured, a class space and a program set to which each control to be configured belongs need to be determined, and the control to be configured can be found by traversing the program set and the class space to which the control to be configured belongs.
In an embodiment of the present invention, the generating a target form according to the template form and the target value of the at least one attribute to be configured includes:
reflecting and instantiating the template window;
searching each attribute to be configured in the template window after the reflection instantiation;
and modifying the value of each attribute to be configured into a corresponding target value, and generating the target form.
In the embodiment of the present invention, in order to generate the target window, the template window needs to be reflected and instantiated, each attribute to be configured is exposed, and then the value of each attribute to be configured needs to be changed into the corresponding target value, so that the required target window can be obtained. The target form is generated on the basis of the template form, and the target form and the template form are different mainly in the value of the attribute to be configured.
In an embodiment of the present invention, after determining at least one attribute to be configured from the attributes of the at least one control to be configured, the method further includes:
displaying the at least one attribute to be configured in a preset visual interface;
the receiving the target value of the at least one attribute to be configured includes:
and receiving an externally input target value of each attribute to be configured through the visual interface.
In the embodiment of the invention, in order to conveniently configure each attribute to be configured, each attribute to be configured is displayed through a visual interface, and each attribute to be configured is configured in the configurable interface.
After the receiving the target value of the at least one attribute to be configured, further comprising:
and saving the target value of the at least one attribute to be configured in a database.
In the embodiment of the present invention, at least one configuration scheme may be generated when configuring the attribute to be configured. Each configuration scheme comprises a group of target values of the attributes to be configured, and each configuration scheme corresponds to one target form. For example, a group of target values of each attribute to be configured is set for a target window a, and the group of target values is stored as a configuration scheme a; aiming at a target window body B, a group of target values of each attribute to be configured is set, and the group of target values are stored as a configuration scheme B; and storing the configuration scheme A and the configuration scheme B in a database, reading the configuration scheme A from the database when the target form A needs to be realized, and generating the target form A according to the configuration scheme A.
A method for generating a window according to an embodiment of the present invention is described in detail below by using a specific example, as shown in fig. 2, the method may include the following steps:
step 201: and creating a template form in advance, and hanging at least one control in the template form.
Specifically, when a template form is created, the program set, the class space and the identification of the control of the template form are defined.
The at least one control may include: BarManager, XtraGrid, XtraTab, Panel, CheckBox, LookUpEdit, BarManager, BandedGridView, XtraTabControl, etc.
Step 202: and determining at least one control to be configured from the at least one control.
Step 203: and determining the identifier of each control to be configured and determining the identifier of each attribute to be configured.
Step 204: and reflecting and instantiating the template window.
Specifically, a reflection.assembly.load method is called to perform reflection instantiation on the class object of the template form.
Step 205: determining at least one program set and at least one class space to which the at least one control to be configured belongs, and executing, for each control to be configured: and searching the class space to which the current control to be configured belongs from the program set to which the current control to be configured belongs, and searching the current control to be configured from the class space to which the current control to be configured belongs according to the identification of the current control to be configured.
Specifically, each Control is traversed layer by layer through foreach (Control in doc. controls), and the Control to be configured is found through the identifier of the Control to be configured.
Step 206: and reflecting and instantiating each control to be configured according to the identifier of each attribute to be configured so as to expose the attribute to be configured corresponding to the identifier of each attribute to be configured.
Specifically, each control to be configured is subjected to reflection instantiation through GetXtraGridMSG (Contr, CDID, ZLBID), and the attribute to be configured is opened.
Step 207: and displaying the at least one attribute to be configured in a preset visual interface.
Step 208: and receiving an externally input target value of each attribute to be configured through the visual interface.
Specifically, the target value of each attribute to be configured for the same target form may be saved as one configuration scheme. And storing the target value of each attribute to be configured of different target forms into different configuration schemes.
Specifically, a plurality of sets of configuration schemes can be defined by differentiating the function menu IDs, and the historical configuration schemes can be adjusted according to the function menu IDs.
Step 209: and saving the target value of the at least one attribute to be configured in the database.
Specifically, the storage structure of the configuration scheme may be a multi-table storage for the attributes of the form type control according to the difference of BarManager, XtraGrid, and XtraTab, and records whether the control is read, written, displayed, and the attributes of an alias, respectively. The required configuration scheme can be found through the menu number external key constraint, namely through the menu number.
The table structure of the configuration scheme can be realized by the following modes:
Figure BDA0002468825510000091
Figure BDA0002468825510000101
step 210: and reflecting and instantiating the template window, and searching each attribute to be configured from the template window after reflecting and instantiating.
Step 211: and acquiring the target value of each attribute to be configured from the database, modifying the value of each attribute to be configured into a corresponding target value, and generating a target form.
The embodiment of the invention is suitable for agile development of a WINDOW software-based system. When software is designed, the interface layout, common controls and logic control of a plurality of modules and even the whole system are highly consistent, and the difference is only on the attribute and logic branch of the controls. In order to avoid repeated development of such functions by a developer, the method for generating a form provided by the embodiment of the invention performs attribute configuration on a system function control through a reflection technology, and forms function personalized style display and logic control differentiation by combining the configuration on the attributes of the control when the control is instantiated.
The embodiment of the invention is suitable for a plan management system, the plan management system has a multi-functional development requirement of multi-level plan information writing, multi-level development can be rapidly realized through the embodiment of the invention, efficient multiplexing of a template window is realized, and the development difficulty is greatly reduced.
When a template window is created, the names of the controls are fixed during the layout of the window and are used for reflecting, traversing and positioning the controls; the inclusion of primary content for the list and tab pages is contingent on business needs.
As shown in fig. 3, an embodiment of the present invention provides an apparatus for generating a window, including:
a saving module 301, configured to save a template form, where at least one control is hung in the template form;
a first determining module 302, configured to determine at least one control to be configured from the at least one control;
a second determining module 303, configured to determine at least one attribute to be configured from each attribute of the at least one control to be configured;
a receiving module 304, configured to receive a target value of the at least one attribute to be configured;
a generating module 305, configured to generate a target form according to the template form and the target value of the at least one attribute to be configured.
In an embodiment of the present invention, the second determining module is configured to determine an identifier of each to-be-configured control, determine an identifier of each to-be-configured attribute, perform reflection instantiation on the template window, search each to-be-configured control from the template window after reflection instantiation according to the identifier of each to-be-configured control, and perform reflection instantiation on each to-be-configured control according to the identifier of each to-be-configured attribute so as to expose the to-be-configured attribute corresponding to the identifier of each to-be-configured attribute.
In an embodiment of the present invention, when the second determining module searches each to-be-configured control from the template form after the reflection instantiation according to the identifier of each to-be-configured control, the second determining module is configured to:
determining at least one program set and at least one class space to which the at least one control to be configured belongs, and executing, for each control to be configured: and searching the class space to which the current control to be configured belongs from the program set to which the current control to be configured belongs, and searching the current control to be configured from the class space to which the current control to be configured belongs according to the identification of the current control to be configured.
In an embodiment of the present invention, the generating module is configured to perform reflection instantiation on the template window, search each attribute to be configured from the template window after reflection instantiation, modify a value of each attribute to be configured to a corresponding target value, and generate the target window.
In an embodiment of the present invention, the receiving module is further configured to display the at least one attribute to be configured in a preset visualization interface;
the receiving module is used for receiving the target value of each attribute to be configured, which is input from the outside, through the visual interface.
In an embodiment of the present invention, the receiving module is further configured to store the target value of the at least one attribute to be configured in a database.
It is to be understood that the illustrated structure of the embodiments of the present invention does not constitute a specific limitation on the means for creating a window. In other embodiments of the invention the means for generating the window may comprise more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
The present invention also provides a computer readable medium storing instructions for causing a computer to perform a method of generating a form as described herein. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as a general purpose processor or other programmable processor, that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (10)

1. The method for generating the form is characterized in that a template form is created in advance, and at least one control is hung in the template form; determining at least one control to be configured from the at least one control; determining at least one attribute to be configured from each attribute of the at least one control to be configured;
further comprising:
receiving a target value of the at least one attribute to be configured;
and generating a target form according to the template form and the target value of the at least one attribute to be configured.
2. The method of claim 1,
the determining at least one attribute to be configured from the attributes of the at least one control to be configured includes:
determining the identifier of each control to be configured;
determining the identifier of each attribute to be configured;
reflecting and instantiating the template window;
searching each control to be configured from the template window after reflection instantiation according to the identifier of each control to be configured;
and reflecting and instantiating each control to be configured according to the identifier of each attribute to be configured so as to expose the attribute to be configured corresponding to the identifier of each attribute to be configured.
3. The method of claim 2,
searching each control to be configured from the template form after the reflection instantiation according to the identifier of each control to be configured, including:
determining at least one program set and at least one class space to which the at least one control to be configured belongs;
for each control to be configured, executing: and searching the class space to which the current control to be configured belongs from the program set to which the current control to be configured belongs, and searching the current control to be configured from the class space to which the current control to be configured belongs according to the identification of the current control to be configured.
4. The method of claim 1,
generating a target form according to the template form and the target value of the at least one attribute to be configured, including:
reflecting and instantiating the template window;
searching each attribute to be configured in the template window after the reflection instantiation;
and modifying the value of each attribute to be configured into a corresponding target value, and generating the target form.
5. The method according to any one of claims 1 to 4,
after determining at least one attribute to be configured from the attributes of the at least one control to be configured, the method further includes:
displaying the at least one attribute to be configured in a preset visual interface;
the receiving the target value of the at least one attribute to be configured includes:
receiving externally input target values of each attribute to be configured through the visual interface;
and/or the presence of a gas in the gas,
after the receiving the target value of the at least one attribute to be configured, further comprising:
and saving the target value of the at least one attribute to be configured in a database.
6. Apparatus for generating a window comprising:
the system comprises a storage module, a control module and a control module, wherein the storage module is used for storing a template window, and at least one control is hung in the template window;
the first determining module is used for determining at least one control to be configured from the at least one control;
the second determining module is used for determining at least one attribute to be configured from each attribute of the at least one control to be configured;
a receiving module, configured to receive a target value of the at least one attribute to be configured;
and the generating module is used for generating a target form according to the template form and the target value of the at least one attribute to be configured.
7. The apparatus of claim 6,
the second determining module is configured to determine an identifier of each control to be configured, determine an identifier of each attribute to be configured, perform reflection instantiation on the template window, search each control to be configured from the template window after reflection instantiation according to the identifier of each control to be configured, and perform reflection instantiation on each control to be configured according to the identifier of each attribute to be configured so as to expose the attribute to be configured corresponding to the identifier of each attribute to be configured.
8. The apparatus of claim 7,
the second determining module, when executing the step of searching each control to be configured from the template form after reflection instantiation according to the identifier of each control to be configured, is configured to:
determining at least one program set and at least one class space to which the at least one control to be configured belongs, and executing, for each control to be configured: and searching the class space to which the current control to be configured belongs from the program set to which the current control to be configured belongs, and searching the current control to be configured from the class space to which the current control to be configured belongs according to the identification of the current control to be configured.
9. The apparatus of claim 6,
the generating module is used for reflecting and instantiating the template window, searching each attribute to be configured from the template window after reflecting and instantiating, modifying the value of each attribute to be configured into a corresponding target value, and generating the target window.
10. The apparatus according to any one of claims 6 to 9,
the receiving module is further configured to display the at least one attribute to be configured in a preset visual interface;
the receiving module is used for receiving the target value of each attribute to be configured, which is input externally, through the visual interface;
and/or the presence of a gas in the gas,
the receiving module is further configured to store the target value of the at least one attribute to be configured in a database.
CN202010341928.1A 2020-04-27 2020-04-27 Method and device for generating window Pending CN111580791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010341928.1A CN111580791A (en) 2020-04-27 2020-04-27 Method and device for generating window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010341928.1A CN111580791A (en) 2020-04-27 2020-04-27 Method and device for generating window

Publications (1)

Publication Number Publication Date
CN111580791A true CN111580791A (en) 2020-08-25

Family

ID=72127614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010341928.1A Pending CN111580791A (en) 2020-04-27 2020-04-27 Method and device for generating window

Country Status (1)

Country Link
CN (1) CN111580791A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220406A (en) * 2021-07-08 2021-08-06 广东省特种设备检测研究院中山检测院 Configurable special equipment informatization system platform implementation method, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133680A (en) * 2014-07-25 2014-11-05 诺伊曼(福建)信息科技有限公司 Fast building method of ERP form module
CN106126268A (en) * 2016-08-18 2016-11-16 福建天泉教育科技有限公司 A kind of window creation method and system
CN109725970A (en) * 2018-12-25 2019-05-07 北京微播视界科技有限公司 The method, apparatus and electronic equipment that applications client window is shown

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133680A (en) * 2014-07-25 2014-11-05 诺伊曼(福建)信息科技有限公司 Fast building method of ERP form module
CN106126268A (en) * 2016-08-18 2016-11-16 福建天泉教育科技有限公司 A kind of window creation method and system
CN109725970A (en) * 2018-12-25 2019-05-07 北京微播视界科技有限公司 The method, apparatus and electronic equipment that applications client window is shown

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
1234567890: "Windows窗体", 《HTTPS://WWW.CN BLOGS.COM/WUMING1415/ARCHIVE/2012/01/19/2326135.HTML》 *
信息化建设: "设置Form窗体中的控件的属性", 《HTTPS://WWW.SHUZHIDUO.COM/A/MOSKIXJKDW/》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220406A (en) * 2021-07-08 2021-08-06 广东省特种设备检测研究院中山检测院 Configurable special equipment informatization system platform implementation method, equipment and medium

Similar Documents

Publication Publication Date Title
CN108292231B (en) Method and system for generating applications from data
CN114115883B (en) Method for quickly constructing front-end application by using middle station service capability
US20190179638A1 (en) Automatic creation of macro-services
CN113971037A (en) Application processing method and device, electronic equipment and storage medium
CN111580791A (en) Method and device for generating window
CN111078319B (en) Configuration data management method, device, storage medium and computer readable medium
US11250002B2 (en) Result set output criteria
JP2013020437A (en) Requirements management support device
US7657528B2 (en) Method, computer program product and article of manufacture for providing service-to-role assignment to launch application services in role-based computer system
CN113177059A (en) Method and device for generating matching platform SQL script
CN115687704A (en) Information display method and device, electronic equipment and computer readable storage medium
WO2017072872A1 (en) Business program generation assistance system and business program generation assistance method
US20070153342A1 (en) Display and editing of documents described by schemas
JP2010157165A (en) Information processor, information processing method, and program
JP2001147922A (en) Device and method for managing document and storage medium
CN111488729B (en) Data processing system and method
JP2009003780A (en) Module management method, module management device, module management system, and module management program
JP3017849B2 (en) CAD design method and apparatus
JP2002287964A (en) Screen input/output specification designing system, method and program
JP2929542B2 (en) Database operation method
JP3722854B2 (en) Data editing device
CN115129367A (en) Instruction response method and device
CN112036130A (en) Method and device for exporting Excel data and electronic equipment
JP2002056041A (en) Method for reflecting hardware description language hierarchy information
CN114282187A (en) Login access control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200825