Hi all,
I am accessing all folders and Files of My computer in my application and also binding context menu with them.
my problem is when m using context menu for folders its coming normally but when i am selecting files my context menu is stucking... i am not getting why this happening.
here is my code..
ListList
if ((ViewModelVM) != null)
{
foreach (DirInfo item in ViewModelVM.SelectedItems)
{
file.Add(new FileInfo(item.Path));
}
CustomtContextMenu ctxMnu = new CustomtContextMenu();
ctxMnu.ShowContextMenu(file.ToArray(), new System.Drawing.Point(x, y));
RefreshCurrentItems();
}
Sumit KumawatPosted Jun 25, 2012, 1:04 AM
Suthish NairPosted Jun 24, 2012, 2:34 PM