public static CompositeControl2D NewInstance(Control1D x, Control1D y) { var c = CreateInstance <CompositeControl2D>(); c.Init(x, y); return(c); }
public void Init(Control1D x, Control1D y) { horizontal = x; vertical = y; }