Saving/Loading
Saving and Loading aka Serialization / De-Serialization (i think).
Variables:
public int age;
public string name;
Forms:
startForm // This is run on Main
--Button : fillOutForm
--Button : loadForm
fillOutForm // This is where you fill out your age and name
--Button : Ok // returns to startForm
loadForm // displays all saved profiles (profile consists of name and age)
--Button : Load a profile //Loads selected profile (selection is via radiobutton) Opens profile in viewForm
viewForm // 2 labels displaying the loaded profile
None of this is coded, why? Because I have no freaking idea on how to do it. I have tried googling it, and going to several sites. The problem? The problem is they have messy/complicated code that I don't want to have to read through just to figure it out. So, if anyone can show me code on how to do this (dont give me the actuall Form code) that would be awesome.
-Storm
__________________
Quote:
|
Originally Posted by Radwen
You should crush your pills and sniff them.
|
|