This partial class is intended to design a default icon for a discrete or continuous block. The background color of this icon depends on the boolean parameter cont.
cont