public ControlWrapper GetCandy() { ControlWrapper cw = new ControlWrapper(); DesignerChart dc = new DesignerChart(); BoardChart chart = new BoardChart(dc); cw.Protect(chart); return(cw); }
public BoardChart(DesignerChart dc) { InitializeComponent(); DesignerModel = dc; Init(); }
public BoardChart() { InitializeComponent(); DesignerModel = new DesignerChart(); Init(); }