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

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

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

revision 100 by william, Thu May 10 09:03:13 2012 UTC revision 107 by william, Thu May 10 11:16:03 2012 UTC
# Line 91  namespace RomCheater Line 91  namespace RomCheater
91              large_image_list = new ImageList();              large_image_list = new ImageList();
92              ListViewItem item = new ListViewItem();              ListViewItem item = new ListViewItem();
93              // process              // process
94              item.Text = p.FileName;              item.Text = p.Name;
95              if (p.ProcessIcon != null)              if (p.ProcessIcon != null)
96              {              {
97                  Bitmap small_image = ProcContainer.CreateIconFromProcess(p, 1);                  Bitmap small_image = ProcContainer.CreateIconFromProcess(p, 1);
98                  Bitmap large_image = ProcContainer.CreateIconFromProcess(p, 2);                  Bitmap large_image = ProcContainer.CreateIconFromProcess(p, 2);
99                  small_image_list.Images.Add(p.FileName, ProcContainer.CreateIconFromProcess(p, 1));                  small_image_list.Images.Add(p.FileName, ProcContainer.CreateIconFromProcess(p, 1));
100                  small_image_list.ImageSize = new Size(small_image.Width, small_image.Height);                  small_image_list.ImageSize = new Size(small_image.Width, small_image.Height);
101                  large_image_list.Images.Add(p.ProcessInfo.MainModule.FileName, ProcContainer.CreateIconFromProcess(p, 2));                  large_image_list.Images.Add(p.FileName, ProcContainer.CreateIconFromProcess(p, 2));
102                  large_image_list.ImageSize = new Size(large_image.Width, large_image.Height);                  large_image_list.ImageSize = new Size(large_image.Width, large_image.Height);
103                  item.ImageKey = p.FileName;                  item.ImageKey = p.FileName;
104              }              }

Legend:
Removed from v.100  
changed lines
  Added in v.107

  ViewVC Help
Powered by ViewVC 1.1.22