public MainWindowViewModel() { DARPResults = null; ILSEvolution = null; AlgorithmSummary = null; ChartsViewModel = null; VNSOperators = null; ProblemsInput = null; SolutionsData = null; DARPProblems = new List <string>(); DARPSelected = null; HeuristicExecuted = false; TabSelected = 0; //Inicializate Commands LoadInput = commands.AddAsyncCommand(ExecuteLoadProblems, CanExecuteLoadProblems); SettingsCommand = commands.AddCommand(ExecuteOpenSettings, CanExecuteOpenSettings); RunHeuristic = commands.AddAsyncCommand(ExecuteRunHeuristic, CanExecuteRunHeuristic); ExportCSV = commands.AddAsyncCommand(ExecuteExportCSV, CanExecuteExportCSV); //Load Settings Context.Instance.Settings = DARP.Settings.CheckDeserializeSettings(LoadLasSettings()); //Inicializate controllers. var controllers = ViewModelControllers.Instance; windowController = controllers.WindowController; processController = ProcessController.Instance; splashController = controllers.SplashController; }