How to perserve data in gh component?


i make a custom component(by c#),and it can be input some data in it in a small winform.like the picture…
but every time i restart the rhino,the data stored in it is disapppears…because i dont know how to perserve data in gh file.
of course i can use a data file(may be hidden in C:…) to store file…but it is not so elegant…
can someone has some idea of how to perserve data in gh custom component ?Thank you.