Esempio n. 1
0
        void importToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ImportForm form = new ImportForm();

            if (form.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            matrX    = form.matrX;
            matrY    = form.matrY;
            arrXName = form.arrXName;
            arrYName = form.arrYName;
            arrYMin  = form.arrYMin;
            arrYMax  = form.arrYMax;
            arrXAv   = form.arrXAv;
            arrYAv   = form.arrYAv;
            string[] arrG, arrGU;
            int[][]  arrArrI;
            int      N, N1;

            Quality.SetID(matrY, arrYMin, arrYMax, out arrG, out arrGU, out arrArrI, out N, out N1);
            arrRep          = new string[19];
            arrRep[0]       = Quality.DataTable(arrXName, arrYName, matrX, matrY, arrG);
            arrRep[8]       = "";
            wb.DocumentText = arrRep[0];
        }
Esempio n. 2
0
        void importToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ImportForm form = new ImportForm();

            if (form.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            matrX    = form.matrX;
            matrY    = form.matrY;
            arrXName = form.arrXName;
            arrYName = form.arrYName;
            arrYMin  = form.arrYMin;
            arrYMax  = form.arrYMax;
            arrXAv   = form.arrXAv;
            arrYAv   = form.arrYAv;
            ClastForm cf = new ClastForm(arrYName);

            if (cf.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            matrLL          = cf.matrLL;
            clusters        = cf.tbC.Text;
            arrRep          = new string[11];
            arrRep[0]       = Quality.DataTable2(arrXName, arrYName, matrX, matrY);
            wb.DocumentText = arrRep[0];
        }