Open ahr-i opened 1 week ago
I’m currently working on this. Fingers crossed it’ll be finished soon. :D :D :D :D :D :D :D
With the addition of the Template Form Type, things have become much simpler. The update has been made, and if no bugs are found, this issue will be closed.
At the current implementation level, adding and modifying screens is very challenging. Therefore, I propose a new approach.
Currently, there are a total of 9 screens. To represent these, we have 9 separate WinForms and at least 9 corresponding control files in C#. Each time a new screen is needed, we must create both a WinForm and a control file.
However, with just 4 WinForms, we can represent all existing screens. Here are the details:
Header Text / Main Content / 1 Left Button / 2 Right Buttons
Centered Header Text / Text Box / 1 Left Button / 2 Right Buttons
Header Text / Main Content / Text Box / Bottom Text / 1 Left Button / 2 Right Buttons
Progress Bar / Progress Percentage Text
ProgressForm
The approach is quite simple:
Create template screens, and delegate all controls to external handlers.