private void btnSetValues_Click(object sender, EventArgs e)
        {
            LRSetValuesForm frm = new LRSetValuesForm();

            try
            {
                this.forcastingStep = Int32.Parse(this.forcastingStepTextBox.Text);
            }
            catch
            {
                this.forcastingStep = 1;
            }
            frm.ForcastingStep = this.forcastingStep;
            frm.SetData(this.data, this.independentVariables);
            if (frm.ShowDialog() == DialogResult.OK)
            {
                isValuesSet     = true;
                this.testValues = frm.TestValues;
                this.time       = frm.ForcastedTime;
            }
        }
 private void btnSetValues_Click(object sender, EventArgs e)
 {
     LRSetValuesForm frm = new LRSetValuesForm();
     try
     {
         this.forcastingStep = Int32.Parse(this.forcastingStepTextBox.Text);
     }
     catch
     {
         this.forcastingStep = 1;
     }
     frm.ForcastingStep = this.forcastingStep;
     frm.SetData(this.data, this.independentVariables);
     if (frm.ShowDialog() == DialogResult.OK)
     {
         isValuesSet = true;
         this.testValues = frm.TestValues;
         this.time = frm.ForcastedTime;
     }
 }