コード例 #1
0
 public void RefreshData(bool refreshFromFile)
 {
     if (refreshFromFile)
     {
         PopulateDataFromFile();
     }
     else
     {
         PopulateDataFromDrivers();
     }
     modified = false;
     MyEvents.OnStrategyModificationsComplete(true, true);
 }
コード例 #2
0
 void MyEvents_StrategyModified(int driverIndex, Strategy strategy, bool showAllOnGraph)
 {
     modified = true;
     SetStrategy(driverIndex, strategy);
     MyEvents.OnStrategyModificationsComplete(showAllOnGraph, false);
 }