myguiname.save("base/mygui.cs");When you want to edit it again...exec("base/mygui.cs");
Should it be a CS file, or should it actually be a GUI file?
GUI files are full of ASCII text anyway.