public Form1() { InitializeComponent(); b = new BigFunction(); pv1 = new PlotView(); pv1.Location = new Point(100, 50); pv1.Size = new Size(200, 200); this.Controls.Add(pv1); pv1.Model = new PlotModel { Title = "Calculus" }; //s1 = new FunctionSeries(); //s1.MouseDown += (S, e) => //{ // if (!bounderChecked) // { // lowerbound = s1.InverseTransform(e.Position).X; // bounderChecked = true; // } // else // { // upperbound = s1.InverseTransform(e.Position).X; // bounderChecked = false; // } //}; }
public btnAddPoint() { InitializeComponent(); b = new BigFunction(); m = new Matrix(); pv1 = new PlotView(); DrawGraph(); for (int i = 1; i <= 8; i++) { cbNrOfTerms.Items.Add(i); } }