/// <summary> /// Constructor for a new PlotControl of the specified type /// </summary> public PlotControl(Plot.Type type) { PlotModel m = new PlotModel(); m.PlotType = type; Model = m; Cursor = Cursors.Cross; BackColor = Color.White; }
/// <summary> /// Initializes a PlotModel with the given Items Model /// </summary> public PlotModel(ItemsModel Items, Plot.Type Type) : this(Items) { PlotType = Type; }
public PlotForm(ItemsModel Items, Plot.Type Type) : this(Items, new PlotModel(Items, Type)) { }