Пример #1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Update the parameter values for storing the valid and invalid lists in CheckDataSource
 /// and then save them. This is here because the inventory form does not know the names of
 /// the parameters that need to be saved for a given check, only the check knows this.
 /// </summary>
 /// ------------------------------------------------------------------------------------
 public void Save()
 {
     m_checksDataSource.SetParameterValue("RepeatableWords", validItems);
     m_checksDataSource.SetParameterValue("NonRepeatableWords", invalidItems);
     m_checksDataSource.Save();
 }
Пример #2
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Update all parameter values in CheckDataSource and then save them.
 /// This is here because the inventory form does not know what parameters
 /// need to be saved for a given check, only the check knows this.
 /// </summary>
 /// ------------------------------------------------------------------------------------
 public void Save()
 {
     m_checksDataSource.SetParameterValue(kValidItemsParameter, m_validItems);
     m_checksDataSource.SetParameterValue(kInvalidItemsParameter, m_invalidItems);
     m_checksDataSource.Save();
 }