public void UpdateOutsToBestLabel(PokerScoreOuts outs) { Dispatcher.BeginInvoke((Action) delegate { OutsToBestLabel.Text = outs.Outs.ToString(CultureInfo.CurrentCulture); }); }
public void UpdateBestChanceLabel(PokerScoreOuts outs) { Dispatcher.BeginInvoke((Action) delegate { outs.Percentage = Math.Round(outs.Percentage, 2); ChanceOfBestLabel.Text = outs.Percentage.ToString(CultureInfo.CurrentCulture); }); }
public void UpdateRoyalFlushOuts(PokerScoreOuts rFlushOuts) { Dispatcher.BeginInvoke((Action) delegate { RFlushProgressBar.Value = rFlushOuts.Percentage; RFlushProgressBar.SetColour(rFlushOuts.Percentage); UpdateRunnerRunnerImage(RFlushRRImage, rFlushOuts.RunnerRunner); RFlushOutsLabel.Text = rFlushOuts.Outs.ToString(CultureInfo.CurrentCulture); RFlushPercentageLabel.Text = rFlushOuts.Percentage.ToString("0.00") + "%"; }); }
public void UpdateFullHouse(PokerScoreOuts fullHouseOuts) { Dispatcher.BeginInvoke((Action) delegate { FullHouseProgressBar.Value = fullHouseOuts.Percentage; FullHouseProgressBar.SetColour(fullHouseOuts.Percentage); UpdateRunnerRunnerImage(FullHouseRRImage, fullHouseOuts.RunnerRunner); FullHouseOutsLabel.Text = fullHouseOuts.Outs.ToString(CultureInfo.CurrentCulture); FullHousePercentageLabel.Text = fullHouseOuts.Percentage.ToString("0.00") + "%"; }); }
public void UpdateFourOfAKindOuts(PokerScoreOuts quadOuts) { Dispatcher.BeginInvoke((Action) delegate { QuadsProgressBar.Value = quadOuts.Percentage; QuadsProgressBar.SetColour(quadOuts.Percentage); UpdateRunnerRunnerImage(QuadsRRImage, quadOuts.RunnerRunner); QuadsOutsLabel.Text = quadOuts.Outs.ToString(CultureInfo.CurrentCulture); QuadsPercentageLabel.Text = quadOuts.Percentage.ToString("0.00") + "%"; }); }
public void UpdateStraightOuts(PokerScoreOuts straightOuts) { Dispatcher.BeginInvoke((Action) delegate { StraightProgressBar.Value = straightOuts.Percentage; StraightProgressBar.SetColour(straightOuts.Percentage); UpdateRunnerRunnerImage(StraightRRImage, straightOuts.RunnerRunner); StraightOutsLabel.Text = straightOuts.Outs.ToString(CultureInfo.CurrentCulture); StraightPercentageLabel.Text = straightOuts.Percentage.ToString("0.00") + "%"; }); }
public void UpdateThreeOfAKindOuts(PokerScoreOuts tripsOuts) { Dispatcher.BeginInvoke((Action) delegate { TripsProgressBar.Value = tripsOuts.Percentage; TripsProgressBar.SetColour(tripsOuts.Percentage); UpdateRunnerRunnerImage(TripsRRImage, tripsOuts.RunnerRunner); TripsOutsLabel.Text = tripsOuts.Outs.ToString(CultureInfo.CurrentCulture); TripsrPercentageLabel.Text = tripsOuts.Percentage.ToString("0.00") + "%"; }); }
public void UpdatePairOuts(PokerScoreOuts pairOuts) { Dispatcher.BeginInvoke((Action) delegate { PairProgressBar.Value = pairOuts.Percentage; PairProgressBar.SetColour(pairOuts.Percentage); UpdateRunnerRunnerImage(PairRRImage, pairOuts.RunnerRunner); PairOutsLabel.Text = pairOuts.Outs.ToString(CultureInfo.CurrentCulture); PairPercentageLabel.Text = pairOuts.Percentage.ToString("0.00") + "%"; }); }