I have few operation on matrices, each operation is subject to user's choice. each operation has its own interface. In order to save the data of last operations I use GroupBox to save the buttons of the interface. For example if i decide i want to add 2 matrices and i type them and got the result, but then I switch to analyzing matrix(and make the addition GroupBox invisible), I dont lose the data of the addition interface, i can go back to addition and just make the GroupBox visible.
My question is if there is a better way to save the whole interface without just making GroupBox visible/invisible. Is it better to save the data in some .txt file and rebuild entire interface all over again? Basically Im asking if it is ok to hold Gui interface including the data from the user with GroupBox? Hope my question is clear. Im using windows forms Thanks in advance.