private void System1()
{
int num1 = 0;
int num2 = 0;
for (int index = 0; (Decimal) index < this.numericUpDown1.Value; ++index)
{
if (this.lastseven[index] == 1 || this.lastseven[index] == 3 || (this.lastseven[index] == 5 || this.lastseven[index] == 7) || (this.lastseven[index] == 9 || this.lastseven[index] == 12 || (this.lastseven[index] == 14 || this.lastseven[index] == 16)) || (this.lastseven[index] == 18 || this.lastseven[index] == 19 || (this.lastseven[index] == 21 || this.lastseven[index] == 23) || (this.lastseven[index] == 25 || this.lastseven[index] == 27 || (this.lastseven[index] == 30 || this.lastseven[index] == 32))) || this.lastseven[index] == 34 || this.lastseven[index] == 36)
num1 = 1;
else if (this.lastseven[index] == 2 || this.lastseven[index] == 4 || (this.lastseven[index] == 6 || this.lastseven[index] == 8) || (this.lastseven[index] == 10 || this.lastseven[index] == 11 || (this.lastseven[index] == 13 || this.lastseven[index] == 15)) || (this.lastseven[index] == 17 || this.lastseven[index] == 20 || (this.lastseven[index] == 22 || this.lastseven[index] == 24) || (this.lastseven[index] == 26 || this.lastseven[index] == 28 || (this.lastseven[index] == 29 || this.lastseven[index] == 31))) || this.lastseven[index] == 33 || this.lastseven[index] == 35)
num2 = 1;
}
if (num1 == 0 && num2 == 0)
return;
if (num1 == 0)
{
this.rp_lblred.Visible = true;
this.rp_lblred.BringToFront();
this.rp_pictred.Visible = true;
int num3;
if (this.rp_lblred.Text == "")
{
num3 = 1;
}
else
{
num3 = (int) Convert.ToInt16(this.rp_lblred.Text);
if (num3 != 256)
num3 *= 2;
}
if (num3 < 10)
this.rp_lblred.Text = " " + num3.ToString();
else if (num3 < 100)
this.rp_lblred.Text = " " + num3.ToString();
else
this.rp_lblred.Text = num3.ToString();
this.rp_lblblack.Text = "";
this.rp_lblblack.Visible = false;
this.rp_pictblack.Visible = false;
}
else if (num2 == 0)
{
this.rp_pictblack.Visible = true;
this.rp_lblblack.Visible = true;
this.rp_lblblack.BringToFront();
int num3;
if (this.rp_lblblack.Text == "")
{
num3 = 1;
}
else
{
num3 = (int) Convert.ToInt16(this.rp_lblblack.Text);
if (num3 != 256)
num3 *= 2;
}
if (num3 < 10)
this.rp_lblblack.Text = " " + num3.ToString();
else if (num3 < 100)
this.rp_lblblack.Text = " " + num3.ToString();
else
this.rp_lblblack.Text = num3.ToString();
this.rp_lblred.Text = "";
this.rp_lblred.Visible = false;
this.rp_pictred.Visible = false;
}
else
{
this.rp_lblred.Text = "";
this.rp_lblred.Visible = false;
this.rp_pictred.Visible = false;
this.rp_lblblack.Text = "";
this.rp_lblblack.Visible = false;
this.rp_pictblack.Visible = false;
}
}
private void System2()
{
int num1 = 0;
int num2 = 0;
for (int index = 0; (Decimal) index < this.numericUpDown2.Value; ++index)
{
if (this.lastseven[index] != 0)
{
if (this.lastseven[index] % 2 == 0)
num2 = 1;
else if (this.lastseven[index] % 2 == 1)
num1 = 1;
}
}
if (num1 == 0 && num2 == 0)
return;
if (num1 == 0)
{
this.rt_LblOdd.Visible = true;
this.rt_LblOdd.BringToFront();
this.rt_PictOdd.Visible = true;
int num3;
if (this.rt_LblOdd.Text == "")
{
num3 = 1;
}
else
{
num3 = (int) Convert.ToInt16(this.rt_LblOdd.Text);
if (num3 != 256)
num3 *= 2;
}
if (num3 < 10)
this.rt_LblOdd.Text = " " + num3.ToString();
else if (num3 < 100)
this.rt_LblOdd.Text = " " + num3.ToString();
else
this.rt_LblOdd.Text = num3.ToString();
this.rt_LblEven.Text = "";
this.rt_LblEven.Visible = false;
this.rt_PictEven.Visible = false;
}
else if (num2 == 0)
{
this.rt_PictEven.Visible = true;
this.rt_LblEven.Visible = true;
this.rt_LblEven.BringToFront();
int num3;
if (this.rt_LblEven.Text == "")
{
num3 = 1;
}
else
{
num3 = (int) Convert.ToInt16(this.rt_LblEven.Text);
if (num3 != 256)
num3 *= 2;
}
if (num3 < 10)
this.rt_LblEven.Text = " " + num3.ToString();
else if (num3 < 100)
this.rt_LblEven.Text = " " + num3.ToString();
else
this.rt_LblEven.Text = num3.ToString();
this.rt_LblOdd.Text = "";
this.rt_LblOdd.Visible = false;
this.rt_PictOdd.Visible = false;
}
else
{
this.rt_LblOdd.Text = "";
this.rt_LblOdd.Visible = false;
this.rt_PictOdd.Visible = false;
this.rt_LblEven.Text = "";
this.rt_LblEven.Visible = false;
this.rt_PictEven.Visible = false;
}
}
private void System3()
{
int num1 = 0;
int num2 = 0;
for (int index = 0; (Decimal) index < this.numericUpDown3.Value; ++index)
{
if (this.lastseven[index] != 0)
{
if (this.lastseven[index] < 19 && this.lastseven[index] > 0)
num1 = 1;
else if (this.lastseven[index] > 18)
num2 = 1;
}
}
if (num1 == 0 && num2 == 0)
return;
if (num1 == 0)
{
this.rt_LblLow.Visible = true;
this.rt_LblLow.BringToFront();
this.rt_PictLow.Visible = true;
int num3;
if (this.rt_LblLow.Text == "")
{
num3 = 1;
}
else
{
num3 = (int) Convert.ToInt16(this.rt_LblLow.Text);
if (num3 != 256)
num3 *= 2;
}
if (num3 < 10)
this.rt_LblLow.Text = " " + num3.ToString();
else if (num3 < 100)
this.rt_LblLow.Text = " " + num3.ToString();
else
this.rt_LblLow.Text = num3.ToString();
this.rt_LblHigh.Text = "";
this.rt_LblHigh.Visible = false;
this.rt_PictHigh.Visible = false;
}
else if (num2 == 0)
{
this.rt_PictHigh.Visible = true;
this.rt_LblHigh.Visible = true;
this.rt_LblHigh.BringToFront();
int num3;
if (this.rt_LblHigh.Text == "")
{
num3 = 1;
}
else
{
num3 = (int) Convert.ToInt16(this.rt_LblHigh.Text);
if (num3 != 256)
num3 *= 2;
}
if (num3 < 10)
this.rt_LblHigh.Text = " " + num3.ToString();
else if (num3 < 100)
this.rt_LblHigh.Text = " " + num3.ToString();
else
this.rt_LblHigh.Text = num3.ToString();
this.rt_LblLow.Text = "";
this.rt_LblLow.Visible = false;
this.rt_PictLow.Visible = false;
}
else
{
this.rt_LblLow.Text = "";
this.rt_LblLow.Visible = false;
this.rt_PictLow.Visible = false;
this.rt_LblHigh.Text = "";
this.rt_LblHigh.Visible = false;
this.rt_PictHigh.Visible = false;
}
}
private void System4()
{
int num1 = 0;
int num2 = 0;
int num3 = 0;
for (int index = 0; (Decimal) index < this.numericUpDown4.Value; ++index)
{
if (this.lastseven[index] == 1 || this.lastseven[index] == 4 || (this.lastseven[index] == 7 || this.lastseven[index] == 10) || (this.lastseven[index] == 13 || this.lastseven[index] == 16 || (this.lastseven[index] == 19 || this.lastseven[index] == 22)) || (this.lastseven[index] == 25 || this.lastseven[index] == 28 || this.lastseven[index] == 31) || this.lastseven[index] == 34)
num1 = 1;
else if (this.lastseven[index] == 2 || this.lastseven[index] == 5 || (this.lastseven[index] == 8 || this.lastseven[index] == 11) || (this.lastseven[index] == 14 || this.lastseven[index] == 17 || (this.lastseven[index] == 20 || this.lastseven[index] == 23)) || (this.lastseven[index] == 26 || this.lastseven[index] == 29 || this.lastseven[index] == 32) || this.lastseven[index] == 35)
num2 = 1;
else if (this.lastseven[index] == 3 || this.lastseven[index] == 6 || (this.lastseven[index] == 9 || this.lastseven[index] == 12) || (this.lastseven[index] == 15 || this.lastseven[index] == 18 || (this.lastseven[index] == 21 || this.lastseven[index] == 24)) || (this.lastseven[index] == 27 || this.lastseven[index] == 30 || this.lastseven[index] == 33) || this.lastseven[index] == 36)
num3 = 1;
}
if (num1 == 0 && num2 == 0 && (num3 == 0 && this.rt_Lbl1Column.Text == "") && this.rt_Lbl2Column.Text == "" && this.rt_Lbl3Column.Text == "")
return;
int i;
if (num1 == 0)
{
this.rt_Lbl1Column.Visible = true;
this.rt_Pict1Column.Visible = true;
i = !(this.rt_Lbl1Column.Text == "") ? this.DifferentBetting((int) Convert.ToInt16(this.rt_Lbl1Column.Text)) : 1;
if (i < 10)
this.rt_Lbl1Column.Text = " " + i.ToString();
else if (i < 100)
this.rt_Lbl1Column.Text = " " + i.ToString();
else
this.rt_Lbl1Column.Text = i.ToString();
}
if (num2 == 0)
{
this.rt_Lbl2Column.Visible = true;
this.rt_Pict2Column.Visible = true;
if (this.rt_Lbl2Column.Text == "")
{
i = 1;
}
else
{
i = (int) Convert.ToInt16(this.rt_Lbl2Column.Text);
i = this.DifferentBetting(i);
}
if (i < 10)
this.rt_Lbl2Column.Text = " " + i.ToString();
else if (i < 100)
this.rt_Lbl2Column.Text = " " + i.ToString();
else
this.rt_Lbl2Column.Text = i.ToString();
}
if (num3 == 0)
{
this.rt_Lbl3Column.Visible = true;
this.rt_Pict3Column.Visible = true;
if (this.rt_Lbl3Column.Text == "")
{
i = 1;
}
else
{
i = (int) Convert.ToInt16(this.rt_Lbl3Column.Text);
i = this.DifferentBetting(i);
}
if (i < 10)
this.rt_Lbl3Column.Text = " " + i.ToString();
else if (i < 100)
this.rt_Lbl3Column.Text = " " + i.ToString();
else
this.rt_Lbl3Column.Text = i.ToString();
}
if (num1 == 1)
{
this.rt_Lbl1Column.Text = "";
this.rt_Lbl1Column.Visible = false;
this.rt_Pict1Column.Visible = false;
}
if (num2 == 1)
{
this.rt_Lbl2Column.Text = "";
this.rt_Lbl2Column.Visible = false;
this.rt_Pict2Column.Visible = false;
}
if (num3 == 1)
{
this.rt_Lbl3Column.Text = "";
this.rt_Lbl3Column.Visible = false;
this.rt_Pict3Column.Visible = false;
}
if (num1 != 1 || num2 != 1 || num3 != 1)
;
}
private void System5()
{
int num1 = 0;
int num2 = 0;
int num3 = 0;
for (int index = 0; (Decimal) index < this.numericUpDown5.Value; ++index)
{
if (this.lastseven[index] > 0 && this.lastseven[index] < 13)
num1 = 1;
else if (this.lastseven[index] > 12 && this.lastseven[index] < 25)
num2 = 1;
else if (this.lastseven[index] > 24)
num3 = 1;
}
if (num1 == 0 && num2 == 0 && (num3 == 0 && this.rt_Lbl1Dozen.Text == "") && this.rt_Lbl2Dozen.Text == "" && this.rt_Lbl3Dozen.Text == "")
return;
int i;
if (num1 == 0)
{
this.rt_Lbl1Dozen.Visible = true;
this.rt_Pict1Dozen.Visible = true;
i = !(this.rt_Lbl1Dozen.Text == "") ? this.DifferentBetting((int) Convert.ToInt16(this.rt_Lbl1Dozen.Text)) : 1;
if (i < 10)
this.rt_Lbl1Dozen.Text = " " + i.ToString();
else if (i < 100)
this.rt_Lbl1Dozen.Text = " " + i.ToString();
else
this.rt_Lbl1Dozen.Text = i.ToString();
}
if (num2 == 0)
{
this.rt_Lbl2Dozen.Visible = true;
this.rt_Pict2Dozen.Visible = true;
if (this.rt_Lbl2Dozen.Text == "")
{
i = 1;
}
else
{
i = (int) Convert.ToInt16(this.rt_Lbl2Dozen.Text);
i = this.DifferentBetting(i);
}
if (i < 10)
this.rt_Lbl2Dozen.Text = " " + i.ToString();
else if (i < 100)
this.rt_Lbl2Dozen.Text = " " + i.ToString();
else
this.rt_Lbl2Dozen.Text = i.ToString();
}
if (num3 == 0)
{
this.rt_Lbl3Dozen.Visible = true;
this.rt_Pict3Dozen.Visible = true;
if (this.rt_Lbl3Dozen.Text == "")
{
i = 1;
}
else
{
i = (int) Convert.ToInt16(this.rt_Lbl3Dozen.Text);
i = this.DifferentBetting(i);
}
if (i < 10)
this.rt_Lbl3Dozen.Text = " " + i.ToString();
else if (i < 100)
this.rt_Lbl3Dozen.Text = " " + i.ToString();
else
this.rt_Lbl3Dozen.Text = i.ToString();
}
if (num1 == 1)
{
this.rt_Lbl1Dozen.Text = "";
this.rt_Lbl1Dozen.Visible = false;
this.rt_Pict1Dozen.Visible = false;
}
if (num2 == 1)
{
this.rt_Lbl2Dozen.Text = "";
this.rt_Lbl2Dozen.Visible = false;
this.rt_Pict2Dozen.Visible = false;
}
if (num3 == 1)
{
this.rt_Lbl3Dozen.Text = "";
this.rt_Lbl3Dozen.Visible = false;
this.rt_Pict3Dozen.Visible = false;
}
if (num1 != 1 || num2 != 1 || num3 != 1)
;
}
private int DifferentBetting(int i)
{
if (i < 4)
++i;
else if (i == 4)
i = 6;
else if (i == 6)
i = 9;
else if (i == 9)
i = 13;
else if (i == 13)
i = 20;
else if (i == 20)
i = 30;
else if (i == 30)
i = 45;
else if (i == 45)
i = 67;
else if (i == 67)
i = 101;
else if (i != 101)
;
return i;
}