AdvancedHMI Software
General Category => Feature Request => Topic started by: jysm1226 on December 25, 2017, 12:41:33 AM
-
Help me with the problem with my program
-
What you are trying to do has already been done in C# version of Modbus Alarming Sample (by using MDI Parent/Child forms) :
http://advancedhmi.com/forum/index.php?topic=1813.0
I have also attached modified version of your project.
If the C# programming is the only one you are familiar with, then I would suggest that you spend some time to improve those skills.
That way you should be able to navigate thru existing projects.
-
If you would still like to add forms to the Panel control, that version is attached here.
-
Language is now in study and there are many problems that can not be solved. I need your help.
In your project, you write data to the listview
When the screen changes, the data will be deleted. How do I prevent it from being deleted?
-
Your original code was clearing controls from the Main_View panel before it would show any new form.
Attached is the modified code which hides forms and never clears the panel controls.
There is also the MainForm_Load event which initially loads the Sub_Form1 (this is optional so you can remove it).
-
Your project currently looks like the beginner's project (learning stage).
Definitely look at Phrog30's Modbus Alarming Sample project, which is rather detailed and could probably be useful to you for both learning as well as any alarming that you might need to log. It is only a matter of using correct PLC addresses to trigger alarms.
-
This is a message that has been filtered. And I can bring it up to this idea.