private void cmdGenerateGraph_Click(object sender, EventArgs e) { #region initialize data's descriptions dataDescriptions[0] = txtClinicalDataDescription1.Text; dataDescriptions[1] = txtClinicalDataDescription2.Text; dataDescriptions[2] = txtClinicalDataDescription3.Text; dataDescriptions[3] = txtClinicalDataDescription4.Text; #endregion if (cmbLamdaChoose.SelectedIndex == -1) { MessageBox.Show("You didnt choose Lamda to compare with", "Error"); return; } Form graph = new SVDValueComp(inputData, cmbLamdaChoose.SelectedIndex, dataDescriptions); graph.Show(); }
private void cmdGenerateGraph_Click(object sender, EventArgs e) { #region initialize data's descriptions dataDescriptions[0] = txtClinicalDataDescription1.Text; dataDescriptions[1] = txtClinicalDataDescription2.Text; dataDescriptions[2] = txtClinicalDataDescription3.Text; dataDescriptions[3] = txtClinicalDataDescription4.Text; #endregion if (cmbLamdaChoose.SelectedIndex == -1) { MessageBox.Show("You didnt choose Lamda to compare with", "Error"); return; } Form graph = new SVDValueComp(inputData,cmbLamdaChoose.SelectedIndex,dataDescriptions); graph.Show(); }