예제 #1
0
        public static void DownloadData()
        {
            SynergiaClient client = Program.Client;

            Account     = client.GetAccount();
            LuckyNumber = client.GetLuckyNumber();
        }
예제 #2
0
 private static void displayLuckyNumber()
 {
     if (lucky == null)
     {
         lucky = client.GetLuckyNumber();
     }
     Console.WriteLine("Lucky number: " + lucky.Number);
     Console.WriteLine("Lucky number day: " + lucky.LuckyNumberDay.ToString());
 }