Ignore:
Timestamp:
Jan 10, 2011, 11:05:07 AM (11 years ago)
Author:
nolte
Message:

Added Tooltips to the Keysearcher Statistics view:
Users -> Subtreebar-Tooltip shows last Date
Machines -> Bar-Tooltip shows Usernames working with this Maschine

Reorganised some code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/KeySearcher.cs

    r2301 r2304  
    12951295            ((QuickWatch)QuickWatchPresentation).StatisticsPresentation.Statistics = statistic;
    12961296            ((QuickWatch)QuickWatchPresentation).StatisticsPresentation.MachineHierarchy = maschinehierarchie;
    1297 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    1298 //TODO "maschinehierarchie" in Quickwatch einfügen. Bereits sortiert ;-) Sum = Anzahl Chunks total ; Hostname = Computername ; Users = String mit Avatarnamen der User dieses Rechners
    1299 //Anmerkung: Dictionaries lassen sich nicht sortieren.
    1300 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    13011297
    13021298            updateToplist();
     
    13761372                        maschinehierarchie[mid].Sum = maschinehierarchie[mid].Sum + Maschines[mid].Count;
    13771373                        maschinehierarchie[mid].Hostname = Maschines[mid].Hostname;
    1378                         maschinehierarchie[mid].Users = maschinehierarchie[mid].Users + avatar + ", ";
     1374                        maschinehierarchie[mid].Users = maschinehierarchie[mid].Users + avatar + " | ";
    13791375                    }
    13801376                    else
    13811377                    {
    13821378                        //else make a new entry
    1383                         maschinehierarchie.Add(mid, new Maschinfo() { Sum = Maschines[mid].Count , Hostname = Maschines[mid].Hostname , Users = "" + avatar + ", "});
     1379                        maschinehierarchie.Add(mid, new Maschinfo() { Sum = Maschines[mid].Count , Hostname = Maschines[mid].Hostname , Users = "| " + avatar + " | "});
    13841380                    }
    13851381                }
Note: See TracChangeset for help on using the changeset viewer.