private void AboutGame_Click(object sender, EventArgs e) { var aboutGame = new AboutGame(this); aboutGame.Show(); Hide(); }
public Info(AboutGame aboutGame) { mainWindow = aboutGame; InitializeComponent(); ClientSize = mainWindow.Size; }