Beispiel #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];
        }
Beispiel #2
0
 void genToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         IdForm form = new IdForm(matrX, matrY, arrXAv, arrXName, arrYName);
         if (form.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         matrX = form.matrXM;
         matrY = form.matrYM;
         string[] arrG, arrGU;
         int[][]  arrArrI;
         int      N, N1;
         Quality.SetID(matrY, arrYMin, arrYMax, out arrG, out arrGU, out arrArrI, out N, out N1);
         arrRep[0]       = Quality.DataTable(arrXName, arrYName, matrX, matrY, arrG);
         arrRep[1]       = form.repSmp;
         arrRep[2]       = form.repHSmp;
         arrRep[3]       = form.repId;
         arrRep[4]       = form.repHId;
         arrRep[5]       = form.repCorrXY;
         arrRep[6]       = form.repCorr;
         arrRep[7]       = form.repHCorr;
         arrRep[8]      += form.repGen;
         wb.DocumentText = arrRep[0];
     }
     catch { }
 }
 void genToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         GenForm form = new GenForm(matrX, matrY, arrXAv, arrXName);
         if (form.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         matrX = form.matrXM;
         matrY = form.matrYM;
         string[] arrG, arrGU;
         int[][]  arrArrI;
         int      N, N1;
         Quality.SetID(matrY, arrYMin, arrYMax, out arrG, out arrGU, out arrArrI, out N, out N1);
         arrRep[0]       = Quality.DataTable(arrXName, arrYName, matrX, matrY, arrG);
         arrRep[1]      += form.rep + "<br><br>";
         wb.DocumentText = arrRep[0];
     }
     catch { }
 }