private void desktop_Load(object sender, EventArgs e)
 {
     RPCManger.UpdateSatus("Desktop", "Managing the desktop", "icon");
     lblDayCount.Text = "Day " + Properties.Settings.Default.DayCount.ToString();
     lblMoney.Text    = "Money: $" + Properties.Settings.Default.CashCount.ToString();
     if (!UpgradeMeta.checkUpgradeBought("Unlock Leaderboards"))
     {
         tsmLeaderboard.Visible = false;
     }
     // if (!UpgradeMeta.checkUpgradeBought("Exploiter")) tsmExploiter.Visible = false;
 }
Example #2
0
 private void base_Activated(object sender, EventArgs e)
 {
     RPCManger.UpdateSatus(lblProg.Text, rpcData, rpcImage);
     if (Properties.Settings.Default.graphicsFriendly == true)
     {
         return;
     }
     pnlTitle.BackColor = Color.White;
     lblProg.ForeColor  = SystemColors.ControlText;
     lblProg.BackColor  = pnlTitle.BackColor;
 }
 private void MenuScreen_Load(object sender, EventArgs e)
 {
     RPCManger.start("Menu Screen", "Browsing the Menu Screen");
     if (Properties.Settings.Default.upgradesAvailable == null)
     {
         Properties.Settings.Default.upgradesAvailable = new System.Collections.Hashtable();
         Properties.Settings.Default.upgradesBought    = new System.Collections.Hashtable();
         Properties.Settings.Default.upgradesAvailable.Add("Enable AdSense", null);
         Properties.Settings.Default.upgradesAvailable.Add("Unlock Leaderboards", null);
         Properties.Settings.Default.upgradesAvailable.Add("Exploiter", null);
     }
     UpgradeMeta.load();
 }