made drawlist generic so can be used with winforms