Ejemplo n.º 1
0
 public FileSaver(int dash, TimePeriod period, Game game)
 {
     _dash = dash;
     _start = period.Start;
     _end = period.End;
     _snails = game.Snails;
     _players = game.Players;
 }
Ejemplo n.º 2
0
 private void BtCalculate_Click(object sender, EventArgs e)
 {
     SetPlaces();
     var period = new TimePeriod
     {
         Start = _start,
         End = _end
     };
     var game = new Game
     {
         Snails = _snails,
         Players = _players
     };
     FileSaver fileSaver = new FileSaver(_dash, period, game );
     fileSaver.SaveLogFile(ConfigurationManager.AppSettings["LogFile"]);
     ClearAntes();
 }