private void Edit_Click(object sender, RoutedEventArgs e) { edit2_win prozor = new edit2_win(); prozor.ShowDialog(); string result = prozor.UserName2; UserName2TextBlock.Text = result; string result2 = prozor.Komentar; KomentarTextBlock.Text = result2; }