Esempio n. 1
0
 private void btnReduce_Click(object sender, EventArgs e)
 {
     try
     {
         _dblProportion            = _dblProportion - 0.02;
         pbScale.Value             = Convert.ToInt16(100 * _dblProportion);
         _RelativeInterpolationCpl = CHelperFunction.DisplayInterpolation(_DataRecords, _dblProportion);
     }
     catch (Exception)
     {
         MessageBox.Show("不能再减小了!");
     }
 }
Esempio n. 2
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     _dblProportion            = _dblProportion + 0.02;
     pbScale.Value             = Convert.ToInt16(100 * _dblProportion);
     _RelativeInterpolationCpl = CHelperFunction.DisplayInterpolation(_DataRecords, _dblProportion);
 }
Esempio n. 3
0
 private void btnInputedScale_Click(object sender, EventArgs e)
 {
     _dblProportion            = Convert.ToDouble(this.txtProportion.Text);
     _RelativeInterpolationCpl = CHelperFunction.DisplayInterpolation(_DataRecords, _dblProportion);
 }
Esempio n. 4
0
 private void btn100_Click(object sender, EventArgs e)
 {
     _dblProportion            = 1;
     _RelativeInterpolationCpl = CHelperFunction.DisplayInterpolation(_DataRecords, _dblProportion);
 }