Revision 21141c06 trunk/Pithos.Client.WPF/Shell/MiniStatusView.xaml.cs

b/trunk/Pithos.Client.WPF/Shell/MiniStatusView.xaml.cs
30 30
        {
31 31
            this.Close();
32 32
        }
33

  
34
        private void DropList_DragEnter(object sender, DragEventArgs e)
35
        {
36
            if (!e.Data.GetDataPresent(DataFormats.FileDrop) ||
37
                sender == e.Source)
38
            {
39
                e.Effects = DragDropEffects.None;
40
            }
41
        }
42

  
43
        private void DropList_Drop(object sender, DragEventArgs e)
44
        {
45
            if (e.Data.GetDataPresent(DataFormats.FileDrop))
46
            {
47
                string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
48
                //MessageBox.Show(files[0]);
49
                //Utils.CopyMoveFiles(files);
50
            }
51
        }
33 52
    }
34 53
}

Also available in: Unified diff