Exemple #1
0
        void UpdateScreen()
        {
            TrifectaFullSystem tr = new TrifectaFullSystem();

            tr.AmountToWin = AmountToWin;

            tr.SpecifySelectionsForTrifectasPosition(TrifectaFullSystem.Position.First, _firstPositionCtrl.Selections);
            tr.SpecifySelectionsForTrifectasPosition(TrifectaFullSystem.Position.Second, _secondPositionCtrl.Selections);
            tr.SpecifySelectionsForTrifectasPosition(TrifectaFullSystem.Position.Third, _thirdPositionCtrl.Selections);

            string txt = "Total : " + tr.CountAndDevelop(_oddsControl.GetOdds()).ToString();

            txt += " (" + tr.DutchingRate.ToString() + ")";

            _txtboxAmountNeeded.Text = tr.TotalBet.ToString();

            _txtboxTotalNumberOfCombinations.Text = txt;
            _trifectaPayoutsControl.LoadCombinations(tr.RawSubsystems);
            _trifectaSubsystemsControl.LoadSubsystem(tr.CondensedSubsystems);

            _txtBoxROI.Text = tr.ROI.ToString();
        }
Exemple #2
0
 private void UpdateNecessarySubsystemsControl()
 {
     TrifectaFullSystem tr = new TrifectaFullSystem();
     tr.AmountToWin = AmountToWin;
     tr.SpecifySelectionsForTrifectasPosition(TrifectaFullSystem.Position.First, _firstPositionCtrl.Selections);
     tr.SpecifySelectionsForTrifectasPosition(TrifectaFullSystem.Position.Second, _secondPositionCtrl.Selections);
     tr.SpecifySelectionsForTrifectasPosition(TrifectaFullSystem.Position.Third, _thirdPositionCtrl.Selections);
     tr.CountAndDevelop(_oddsControl.GetOdds());
     List<TrifectaSubsystem> selectedCombos = _trifectaPayoutsControl.SelectedCombinations;
     TrifectaFullSystem tr2 = new TrifectaFullSystem(selectedCombos);
     _trifectaSubsystemsControl.LoadSubsystem(tr2.CondensedSubsystems);
 }