Example #1
0
        private void ModulesSimulation(object sender, RoutedEventArgs e)
        {
            OpenFileDialog openFileDialog = new OpenFileDialog();

            if (openFileDialog.ShowDialog() == true)
            {
                var Areas = FHXBulkEditSimulation.AreasModules(File.ReadAllText(openFileDialog.FileName));
                if (openFileDialog.ShowDialog() == true)
                {
                    FHXBulkEditSimulation.GenerateFiles(Areas, openFileDialog.FileName);
                }
            }
        }
Example #2
0
        public static void ExtractModules(string file)
        {
            var Areas = FHXBulkEditSimulation.AreasModules(File.ReadAllText(file));

            FHXBulkEditSimulation.GenerateFiles(Areas, @"D:\FHX\Simul");
        }