private void scaleChange(object sender, EventArgs e) { NumericUpDown numeric = (NumericUpDown)sender; scale = (int)numeric.Value; PanelDrawing.Refresh(); }
private void onDraw(object sender, EventArgs e) { formula = FormulaBuilder.BuildFromText(this.formulaBox.Text); PanelDrawing.Refresh(); }