public DcxBox(DcxContainer container, int id) : base(container, id) { control = new GroupBox(); control.Text = "Box " + id; control.Name = id.ToString(); this.controlType = ControlType.Box; setupControlActionListeners(this.control); }
public DcxPanel(DcxContainer container, int id) : base(container, id) { control = new Panel(); control.Text = "Box " + id; control.Name = id.ToString(); //control.BorderStyle = BorderStyle.FixedSingle; this.controlType = ControlType.Panel; this.control.Paint += new PaintEventHandler(control_Paint); setupControlActionListeners(this.control); }
public DcxButton(DcxContainer container, int id) : base(container, id) { control = new Button(); control.Text = "Button " + id; control.Name = id.ToString(); this.controlType = ControlType.Button; styles.Add("bitmap", new DcxControlStyle("bitmap")); styles.Add("default", new DcxControlStyle("default")); styles.Add("tooltips", new DcxControlStyle("tooltips")); setupControlActionListeners(this.control); }
public DcxCheck(DcxContainer container, int id) : base(container, id) { control = new CheckBox(); control.Text = "Check " + id; control.Name = id.ToString(); this.controlType = ControlType.Check; styles.Add("3state", new DcxControlStyle("3state", changeStyle)); styles.Add("center", new DcxControlStyle("center", changeStyle)); styles.Add("pushlike", new DcxControlStyle("pushlike", changeStyle)); styles.Add("right", new DcxControlStyle("right", changeStyle)); styles.Add("rjustify", new DcxControlStyle("rjustify", changeStyle)); styles.Add("tooltips", new DcxControlStyle("tooltips")); setupControlActionListeners(this.control); }
public DcxContainer(DcxContainer container, int id) : base(container, id) { children = new List<DcxControl>(); }