T
Tony Johansson
Hi!
I just wonder what point is it to use this statement
bool status = e.Data.GetDataPresent(DataFormats.FileDrop);
because this statement always return true when I drag and drop a file ?
Can somebody say in what situations will this statement return false ?
private void OnDragEnter(object sender, System.Windows.Forms.DragEventArgs
e)
{
bool status = e.Data.GetDataPresent(DataFormats.FileDrop);
....
....
}
//Tony
I just wonder what point is it to use this statement
bool status = e.Data.GetDataPresent(DataFormats.FileDrop);
because this statement always return true when I drag and drop a file ?
Can somebody say in what situations will this statement return false ?
private void OnDragEnter(object sender, System.Windows.Forms.DragEventArgs
e)
{
bool status = e.Data.GetDataPresent(DataFormats.FileDrop);
....
....
}
//Tony