public Control(string fontFile = "TimesNewRoman12") { locAndSize = new Rectangle(0, 0, 0, 0); controls = new List <Control>(); firstClickLoc = Vector2.Zero; alignment = ControlAlignment.Left; isVisible = true; isActive = true; isDrawn = true; alignApplied = false; parent = null; this.fontFile = fontFile; borderInfo = new BorderInfo(1, Color.Black); fillInfo = new FillInfo(Color.Gray); }
public Control(string fontFile = "TimesNewRoman12") { locAndSize = new Rectangle(0, 0, 0, 0); controls = new List<Control>(); firstClickLoc = Vector2.Zero; alignment = ControlAlignment.Left; isVisible = true; isActive = true; isDrawn = true; alignApplied = false; parent = null; this.fontFile = fontFile; borderInfo = new BorderInfo(1, Color.Black); fillInfo = new FillInfo(Color.Gray); }