Beispiel #1
0
        private void cmdDonatorKey_Click(object sender, EventArgs e)
        {
            string string_0 = Clipboard.GetText().Trim();

            GClass89.smethod_1(string_0, Class123.keysPub);
            if (GClass89.Boolean_0)
            {
                int num = (int)RadMessageBox.Show("Thank you so much for donating!");
                Settings.Default.DonationKey = string_0;
                Settings.Default.Save();
                this.Close();
            }
            else
            {
                int num1 = (int)RadMessageBox.Show("The key stored in the clipboard is not valid. Please try again.");
            }
        }
Beispiel #2
0
 public static bool smethod_0(int int_1, string string_0, string string_1)
 {
     if (GClass89.timer_0 == null)
     {
         GClass89.timer_0 = new System.Windows.Forms.Timer()
         {
             Interval = 2000
         };
         GClass89.timer_0.Tick += (EventHandler)((sender, e) =>
         {
             if (GClass89.bool_0)
             {
                 return;
             }
             if (!MiningSetupAndRun.Boolean_0)
             {
                 GClass89.GClass8_0 = (GClass8)null;
             }
             else
             {
                 GClass89.GClass8_0 = new GClass8("Now mining...", "none", DateTime.Today.ToShortDateString());
             }
         });
         GClass89.timer_0.Start();
     }
     Thread.Sleep(250);
     if (MiningSetupAndRun.Boolean_0 || MiningSetupAndRun.bool_0)
     {
         return(false);
     }
     GClass89.smethod_1(string_0, string_1);
     if (GClass89.Boolean_0 || int_1 == 0)
     {
         return(false);
     }
     if (int_1 != 1)
     {
         return(int_1 % 3 == 0);
     }
     return(true);
 }