Exemplo n.º 1
0
 public Button(string text, E._void_obj func) : base(text, new Vector2(128, 32))
 {
     Click             = func;
     text_color        = Color.Black;
     text_must_color   = Color.Black;
     text_size         = Fonts.font1.MeasureString(text);
     text_position_add = new Vector2((size.X - text_size.X) / 2, size.Y - 30);
 }
Exemplo n.º 2
0
 public Instrument(string text, E._void_obj Act3, Panel parent)
     : base(text, parent)
 {
     this.Act3 = Act3; parent.Add(this);
 }
Exemplo n.º 3
0
 public Instrument(string text, E._void_obj Act3, Panel parent) : base(text, parent)
 {
     this.Act3 = Act3; parent.Add(this);
 }