public void SetLastValue(object key, float merit) { if (!Items.ContainsKey(key)) { Items.AddOneCategory(key); } Items.SetLastValue(key, merit); RefreshImage(); }