private void Edit_Click(object sender, RoutedEventArgs e) { edit_win prozor = new edit_win(); prozor.ShowDialog(); string result = prozor.UserName; UserNameTextBlock.Text = result; string result2 = prozor.vrijednost; imagesource.Text = result2; }