private void btnCalculate_Click(object sender, EventArgs e) { btnCalculate.Enabled = false; if (ReadFromFields() != 0) { data = DACCharacteristicHelper.GetStatisticsOfDiagramOfTransformation(unit, ReadFromFields()); Draw(); } btnCalculate.Enabled = true; }
private void buttonStart_Click(object sender, EventArgs e) { paneCode.CurveList.Clear(); paneCode.GraphObjList.Clear(); StrategyEnums selectedTypesOfStrategy = (StrategyEnums)Enum.Parse(typeof(StrategyEnums), cmbxStrategyType.SelectedValue.ToString()); graphArrays = DACCharacteristicHelper.GetDiagramOfTransformation(unit, selectedTypesOfStrategy); DrawWithOutCalibrations(); DrawWithCalibrations(); zedGraphControl3.AxisChange(); zedGraphControl3.Invalidate(); }