예제 #1
0
        /// <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;
        }
예제 #2
0
 /// <summary>
 /// Initializes a PlotModel with the given Items Model
 /// </summary>
 public PlotModel(ItemsModel Items, Plot.Type Type) : this(Items) {
     PlotType = Type;
 }
예제 #3
0
 public PlotForm(ItemsModel Items, Plot.Type Type) : this(Items, new PlotModel(Items, Type))
 {
 }