Beispiel #1
0
 public GraphSettings(MainForm f, BrandonMethod b, showResultForm s)
 {
     mainForm = f;
     brandonMethod = b;
     showResult = s;
     InitializeComponent();
 }
Beispiel #2
0
        public BrandonMethod(MainForm form,string applPath, Result result)
        {
            path = applPath;
            mainForm = form;
            resultForm = result;

            tb = new DataTable();
            string fname = "fisher.csv";
            string[] lines = File.ReadAllLines(fname, Encoding.Default);
            string[] inpstr;
            char delim = ';'; // Разделители
            inpstr = lines[0].Split(delim);
            for (int colum = 0; colum < lines[0].Split(delim).Length; colum++)
            {
                tb.Columns.Add(inpstr[colum]);
            }

            for (int i = 1; i < lines.Length; i++)
            {
                inpstr = lines[i].Split(delim);
                tb.Rows.Add(inpstr);
            }

            studentDt = new DataTable();
            fname = "Student.csv";
            lines = File.ReadAllLines(fname, Encoding.Default);
            //inpstr;

            inpstr = lines[0].Split(delim);
            for (int colum = 0; colum < lines[0].Split(delim).Length; colum++)
            {
                studentDt.Columns.Add(inpstr[colum]);
            }

            for (int i = 1; i < lines.Length; i++)
            {
                inpstr = lines[i].Split(delim);
                studentDt.Rows.Add(inpstr);
            }
        }
Beispiel #3
0
 public NewExperimentForm(MainForm form)
 {
     InitializeComponent();
     mainForm = form;
 }
Beispiel #4
0
 public Result(MainForm form)
 {
     InitializeComponent();
     mainForm = form;
 }
Beispiel #5
0
 public Correllation(MainForm form)
 {
     f1 = form;
 }