private void button1_Click(object sender, EventArgs e) { // otworzenie podglądu partii string pgn = "pgnString: '" + txtPgn.Text + "',"; Podglad p = new Podglad(pgn); p.Show(); }