I've created the following class:
class Player
{
public string Name { get; set; }
public string Symbol { get; set; }
public Player(string name, string symbol)
{
Name = name;
Symbol = symbol;
}
}
and in my first Form (FormStart) I'm creating an instance:
Player player1 = new Player(textBoxPlayer1.Text, labelChar1.Text);
Player player2 = new Player(textBoxPlayer2.Text, labelChar2.Text);
Now I want to set the fields of player1 and player2 in labels in another Form. Any ideas how to make it?