Beispiel #1
0
 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);
 }
Beispiel #2
0
 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);
 }