public DataDef(string name, Type type, UnitsManager.UnitType unitType, bool sortable) { Name = name; Type = type; Sortable = sortable; UnitType = unitType; }
protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); Unit = _unitType; }