public CpuProcessInfoListViewItem( ProcessInfo pi )
            : base(pi.PID.ToString ( ))
        {
            this.ProcessInfo = pi;

              this.SubItems.Add ( string.Format ( CultureInfo.InvariantCulture, "{0}%", ProcessInfo.Cpu ) );
              this.SubItems.Add ( ProcessInfo.Name );
              this.SubItems.Add ( ProcessInfo.Thread.ToString ( ) );
              this.SubItems.Add ( string.Format ( CultureInfo.InvariantCulture, "{0}K", ProcessInfo.Vss ) );
              this.SubItems.Add ( string.Format ( CultureInfo.InvariantCulture, "{0}K", ProcessInfo.Rss ) );
              this.SubItems.Add ( ProcessInfo.User );
        }
 public ProcessInfoEventArgs( ProcessInfo pi )
 {
     ProcessInfo = pi;
 }