Пример #1
0
        private void btn_calculateCorrelation_Click(object sender, EventArgs e)
        {
            try
            {
                tab3_Movement1.Text = txt_Movement1.Text;
                tab3_Movement2.Text = txt_Movement2.Text;

                var correlationDataManager = new CorrelationCalculation(this);
                correlationDataManager.ProcessData(txt_Movement1.Text, txt_Movement2.Text);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Błędy się zdarzają ;)", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #2
0
 public DistanceCoefficientCalculation(Form1 formInstance)
 {
     mainForm = formInstance;
     helper   = new CorrelationCalculation();
 }