public void RefreshData(bool refreshFromFile) { if (refreshFromFile) { PopulateDataFromFile(); } else { PopulateDataFromDrivers(); } modified = false; MyEvents.OnStrategyModificationsComplete(true, true); }
void MyEvents_StrategyModified(int driverIndex, Strategy strategy, bool showAllOnGraph) { modified = true; SetStrategy(driverIndex, strategy); MyEvents.OnStrategyModificationsComplete(showAllOnGraph, false); }