コード例 #1
0
        //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();
        }
コード例 #2
0
        //Button to redirect user to Edit Window.
        private void BtnEdit_Click(object sender, RoutedEventArgs e)
        {
            var editArtwork = new EditArtwork(_artworkName);

            editArtwork.Show();
            this.Close();
        }
コード例 #3
0
 //Button to redirect user to Edit Window.
 private void BtnEdit_Click(object sender, RoutedEventArgs e)
 {
     var editArtwork = new EditArtwork(_artworkName);
     editArtwork.Show();
     this.Close();
 }
コード例 #4
0
 //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();
 }