H
Herve MAILLARD
Hi,
I have to write a software doing the following :
- Load a file (containing data)
Data will be display in a Treeview and are typed as following
Equipement
Bloc
Tag
It could have for each Equipement, many blocs and for each bloc,
many tags.
It could have also many Equipements.
- Data Importation from a Text file (needed to be compare with the
existing).
- Data modifying (Display in a DataGrid depending of the Treeview
selection
- Undo capability
- Save configuration file
I don't really know the best way to do this.
So far , I have coded 3 classes Equipement, Bloc and Tag.
The I use Class Array to store informations.
To save the configuration file, I use serialisation and write an Xml file.
I do the same to load the config file (using load Xml and Deserialise
method).
For the Datagrid, I use Dataset, filled by my Class Array...
To update the Array class (if the user made some changes in the Datagrid), I
use the GetChanges() method.
Is it the good way ?
Is it a better way ?
It's my first "big" software with .NET so it's a little bit difficult for
me...
Thanks,
H. MAILLARD
I have to write a software doing the following :
- Load a file (containing data)
Data will be display in a Treeview and are typed as following
Equipement
Bloc
Tag
It could have for each Equipement, many blocs and for each bloc,
many tags.
It could have also many Equipements.
- Data Importation from a Text file (needed to be compare with the
existing).
- Data modifying (Display in a DataGrid depending of the Treeview
selection
- Undo capability
- Save configuration file
I don't really know the best way to do this.
So far , I have coded 3 classes Equipement, Bloc and Tag.
The I use Class Array to store informations.
To save the configuration file, I use serialisation and write an Xml file.
I do the same to load the config file (using load Xml and Deserialise
method).
For the Datagrid, I use Dataset, filled by my Class Array...
To update the Array class (if the user made some changes in the Datagrid), I
use the GetChanges() method.
Is it the good way ?
Is it a better way ?
It's my first "big" software with .NET so it's a little bit difficult for
me...
Thanks,
H. MAILLARD