Esempio n. 1
0
        public ExcelBuilder(MainWindow mainWindow)
        {
            this.mainWindow = mainWindow;
            string prevOutput = File.ReadAllText(storageFolder + "\\temp.json");

            this.AlgorhytmOutPut     = JsonConvert.DeserializeObject <Objects.AlgorhytmOutPut>(prevOutput);
            this.inputHumen          = AlgorhytmOutPut.inputHumen;
            this.analizedTuplesArray = AlgorhytmOutPut.analizedTuples;
        }
Esempio n. 2
0
        public Graphics(string compoundString, MainWindow mainWindow)
        {
            this.compoundString = compoundString;
            string content = File.ReadAllText(storageFolder + "\\temp.json");

            this.AlgorhytmOutPut  = JsonConvert.DeserializeObject <Objects.AlgorhytmOutPut>(content);
            this.analizedTuples   = AlgorhytmOutPut.analizedTuples;
            this.inputHumen       = AlgorhytmOutPut.inputHumen;
            this.mainWindow       = mainWindow;
            mainWindow.MethodName = AlgorhytmOutPut.algName;
            this.top = 0;
        }