Hi,
I am a complete begginer in C# and .NET.
I am supposed to implement a GUI for a back-end process in C#.
The design I am required to follow, is to have a datagrid to display the data and as users click on rows, other representations appear.E.g. a graph of the data.
The gui is managed by a process, e.g. ProcessA. Another process, e.g. ProcessB, doing processing and comunicating with remote services generates the data that are to be displayed in the gui.
ProcessB and ProcessA are communicating via a shared memory. I.e. ProcessB updates a shared memory and ProcessB when it sees an update (via dirty bits) updates
the corresponding data row in the grid.
My questions are:
is this design a usual approach for GUIs in .NET and such scenarios? I am asking because I personally do not like it at all, and was wondering if I am wrong not to like it.
Is there a better design for this, if the requirements is to have a really fast update of GUI? E.g. Should ProcessA and ProcessB, be just one process?
is this design possible to be implemented in C#? I.e. update a datagrid via shared memory? Because, I googled a bit and it seems that most tutorials describe that a datagrid is bound to a data source (for db access or xml file reading)
In C# is the gui updated completely i.e. it is fully redrawn each time an update to a row is made? In this case is the use of dirty bits to know which part of shared memory was updated so as to update the corresponding part of the gui, useless?
Is it possible to create a gui in a way so that it is automatically updated each time shared memory changes?
UPDATE: ProcessA and ProcessB are on the same machine
Thank you