Beispiel #1
0
        // This updates UI variables such as textboxes etc.
        void UpdateUI()
        {
            // Get stored notes info from NV11
            tbNotesStored.Text = NV11.GetStorageInfo();

            // Get channel info from hopper
            tbCoinLevels.Text = Hopper.GetChannelLevelInfo();
        }
Beispiel #2
0
 // This updates UI variables such as textboxes etc.
 void UpdateUI()
 {
     // Get stored notes info from SMART Payout and SMART Hopper at intervals
     if (!timer2.Enabled)
     {
         tbChannelLevels.Text = Payout.GetChannelLevelInfo();
         tbCoinLevels.Text    = Hopper.GetChannelLevelInfo();
         timer2.Enabled       = true;
     }
 }
Beispiel #3
0
        // This updates UI variables such as textboxes etc.
        void UpdateUI()
        {
            textBox2.Text = "";
            textBox2.AppendText(Hopper.GetChannelLevelInfo());

            // can't payout if payout amount or currency box is empty
            if (tbAmountToPayout.Text == "" || tbPayoutCurrency.Text == "")
            {
                btnPayout.Enabled = false;
            }
            else
            {
                btnPayout.Enabled = true;
            }

            // can't set float if either min payout, float amount or float currency is empty
            if (tbMinPayout.Text == "" || tbFloatAmount.Text == "" || tbFloatCurrency.Text == "")
            {
                btnSetFloat.Enabled = false;
            }
            else
            {
                btnSetFloat.Enabled = true;
            }
        }
Beispiel #4
0
 // This updates UI variables such as textboxes etc.
 void UpdateUI()
 {
     tbCoinLevels.Text = Hopper.GetChannelLevelInfo();
 }