public CheckBox( fbEngine engine, fbInterface ui, int depth = -1 ) : base(engine, ui, depth) { subscriber = new InputSubscriber(this); subscriber.Register(); }
public Button( string label, Action reaction, fbEngine engine, fbInterface ui ) : base(engine, ui) { this.label = new SmartText(label, ui); this.reaction = reaction; subscriber = new InputSubscriber(this); subscriber.Register(); }