public void HideAll() { if (Buffer == null) { return; } foreach (var item in Items) { if (item == null) { continue; } var info = dictionary[item.ID]; Buffer.ClearBackground(info.DrawnArea); } }