Exemplo n.º 1
0
 public GuiProperty(T contents, double xFactor, double yFactor)
 {
     this.Content          = contents;
     this.LocationRelative = new RelativeLocation(xFactor, yFactor);
     this.Location         = new Point(0, 0);
 }
Exemplo n.º 2
0
 public GuiProperty(T contents, int x, int y)
 {
     this.Content          = contents;
     this.Location         = new Point(x, y);
     this.LocationRelative = new RelativeLocation(1.0, 1.0);
 }
Exemplo n.º 3
0
 public GuiProperty(T contents, RelativeLocation locationRelative)
 {
     this.Content          = contents;
     this.LocationRelative = locationRelative;
     this.Location         = new Point(0, 0);
 }
Exemplo n.º 4
0
 public GuiProperty(T contents, Point location)
 {
     this.Content          = contents;
     this.Location         = location;
     this.LocationRelative = new RelativeLocation(1.0, 1.0);
 }