Torna al Thread

public frmOpzioni(ref int min, ref int max, ref bool punteggio) { InitializeComponent(); // Vario il valore di Min e Max in modo da far estrarre carte di un solo seme o tutto il mazzo if (min == 1 && max == 52) radioButton1.Checked = true; if (min == 40 && max == 52) radioButton2.Checked = true; if (min == 1 && max == 13) radioButton3.Checked = true; if (min == 14 && max == 26) radioButton4.Checked = true; if (min == 27 && max == 39) radioButton5.Checked = true; // Controllo se è stato scelto di visualizzare il Punteggio if (punteggio) checkBox1.Checked = true; else checkBox1.Checked = false; }
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5