/[RomCheater]/trunk/RomCheater/Docking/FloatingPIDSelector.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingPIDSelector.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Docking/FloatingPIDSelector.cs	2012/06/10 03:14:42	366
+++ trunk/RomCheater/Docking/FloatingPIDSelector.cs	2012/06/19 08:36:56	380
@@ -194,6 +194,17 @@
                     //logger.Error.WriteLine("image_key is an empty string!");
                     //if (small_image != null) { logger.Error.WriteLine(" [however small_image is not null]"); }
                     //if (large_image != null) { logger.Error.WriteLine(" [however large_image is not null]\n"); }
+                    ListViewItem item = new ListViewItem();
+                    item.Name = p.GetHashCode().ToString();
+                    // process name
+                    item.Text = p.Name;
+                    // pid
+                    item.SubItems.Add(p.ProcessInfo.Id.ToString());
+                    // FullPath
+                    item.SubItems.Add(p.FileName);
+                    // image key
+                    item.ImageKey = p.FileName;
+                    if (!items.Contains(item)) items.Add(item);
                 }
             }
             lstProcessList.SmallImageList = small_image_list;

 

  ViewVC Help
Powered by ViewVC 1.1.22