//Button to redirect the user to edit the current artwork. private void EditArtwork(object sender, RoutedEventArgs e) { var editArtwork = new EditArtwork(_artworkLogic.GetArtworksAsync().Result[_id].Title); editArtwork.Show(); this.Close(); }
//Button to redirect user to Edit Window. private void BtnEdit_Click(object sender, RoutedEventArgs e) { var editArtwork = new EditArtwork(_artworkName); editArtwork.Show(); this.Close(); }