예제 #1
0
        private void ListViewItem_MouseEnter_Sort(object sender, MouseEventArgs e)
        {
            UpdateListViewItems();
            MyPictures.Clear();
            SortWindow s = new SortWindow(this);

            s.Show();
            ShutdownMode = ShutdownMode.OnLastWindowClose;
        }
예제 #2
0
 private void paste(IEnumerable <MyPicture> newPictures)
 {
     MyPictures.Clear();
     pictureLocations = new Dictionary <string, string>();
     foreach (var item in newPictures)
     {
         MyPictures.Add(item);
         pictureLocations.Add(item.Title, item.Url.LocalPath);
     }
 }