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); }
public Instrument(string text, E._void_obj Act3, Panel parent) : base(text, parent) { this.Act3 = Act3; parent.Add(this); }
public Instrument(string text, E._void_obj Act3, Panel parent) : base(text, parent) { this.Act3 = Act3; parent.Add(this); }