Original Post
Hello, I posted here today because i need some help with forms in c#.
What i'm trying to do is a simple rpg with forms. Like buttons for: Arena, Inventory, shop etc.
The biggest problem is i have no ideea how to send data from a form to another. Let's say I have MainForm and CreateForm.
On the MainForm I have the button "Create new character". I click it, the new form appears. I have to put a name and select a class. When the user clicks submit i must send data to the MainForm or just another form, like the GameForm.
I need someone to make a very clear example of what I must do. I'm not that advanced in programming.
What i'm trying to do is a simple rpg with forms. Like buttons for: Arena, Inventory, shop etc.
The biggest problem is i have no ideea how to send data from a form to another. Let's say I have MainForm and CreateForm.
On the MainForm I have the button "Create new character". I click it, the new form appears. I have to put a name and select a class. When the user clicks submit i must send data to the MainForm or just another form, like the GameForm.
I need someone to make a very clear example of what I must do. I'm not that advanced in programming.