Beispiel #1
0
 private void validateOptions()
 {
     try
     {
         FileOperator fo = new FileOperator();
         fo.ModifyXML("Settings.xml", "NumOfSpeciesInRndmSmple", numericUpDownRndSmplng.Value.ToString());
         NumberOfSpeciesInRandomSample = Convert.ToInt32(numericUpDownRndSmplng.Value);
     }
     catch
     {
         throw new Exception("Oops.. Something went wrong with saving your settings...!");
     }
 }