private void ClearButton_Click(object sender, RoutedEventArgs e) { Transfer.Clear(); grid.Children.Clear(); checkedImages.Clear(); checkMarks.Clear(); Scan_Click(this, e); redraw(); }
private void AddTagButton_Click(object sender, RoutedEventArgs e) { if (checkedPictures == 0) { Transfer.Clear(); Transfer.PutSearchedFiles(files); addTagKey(files); Transfer.Clear(); } else { addTagKey(checkedImages); } }
private void RandomButton_Click(object sender, RoutedEventArgs e) { Rescan(); if (checkedPictures == 0) { Transfer.Clear(); Transfer.PutSearchedFiles(files); RandomName(files); Transfer.Clear(); } else { RandomName(checkedImages); } Rescan(); }
private void LibraryButton_Click(object sender, RoutedEventArgs e) { Rescan(); var selectedItem = BDBox.SelectedItem.ToString(); if (checkedPictures == 0) { Transfer.Clear(); Transfer.PutSearchedFiles(files); AddAll(selectedItem); Transfer.Clear(); } else { AddAll(selectedItem); } }
private void ClearButton_Click(object sender, RoutedEventArgs e) { Transfer.Clear(); Rescan(); }
private void window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { Transfer.Clear(); }