/[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

revision 379 by william, Sun Jun 10 03:14:42 2012 UTC revision 380 by william, Tue Jun 19 08:36:56 2012 UTC
# Line 194  namespace RomCheater.Docking Line 194  namespace RomCheater.Docking
194                      //logger.Error.WriteLine("image_key is an empty string!");                      //logger.Error.WriteLine("image_key is an empty string!");
195                      //if (small_image != null) { logger.Error.WriteLine(" [however small_image is not null]"); }                      //if (small_image != null) { logger.Error.WriteLine(" [however small_image is not null]"); }
196                      //if (large_image != null) { logger.Error.WriteLine(" [however large_image is not null]\n"); }                      //if (large_image != null) { logger.Error.WriteLine(" [however large_image is not null]\n"); }
197                        ListViewItem item = new ListViewItem();
198                        item.Name = p.GetHashCode().ToString();
199                        // process name
200                        item.Text = p.Name;
201                        // pid
202                        item.SubItems.Add(p.ProcessInfo.Id.ToString());
203                        // FullPath
204                        item.SubItems.Add(p.FileName);
205                        // image key
206                        item.ImageKey = p.FileName;
207                        if (!items.Contains(item)) items.Add(item);
208                  }                  }
209              }              }
210              lstProcessList.SmallImageList = small_image_list;              lstProcessList.SmallImageList = small_image_list;

Legend:
Removed from v.379  
changed lines
  Added in v.380

  ViewVC Help
Powered by ViewVC 1.1.22