. Surface)) = i;
} + = elite [min]. Glitter + "" + Convert.ToString (elite [min]. Depth) + "" + elite [min]. Surface + " n ";. RemoveAt (min); = elite [rnd.Next (0, elite.Count - 1)]; = list [rnd.Next (0, list.Count - 1)]; (ClRet1 (can.Glitter) > = ClRet1 (rec.Glitter)
&& can.Depth> = rec.Depth
&& FRet1 (can.Surface)> = FRet1 (rec.Surface)). Add (can);. Add (list [rnd.Next (0, list.Count - 1 )]); = 0; (int i = 0; i
{label9.BackColor = Color.Green;. Text = "Еліта розвивається";
}
{label9.BackColor = Color.Red;. Text = "Еліта деградує";
}
}. DataSource = null;. Rows.Clear ();. DataSource = elite;. Show (vyvod);. Visible = false;. Visible = false;
}
}
// Збір урожаяvoid button2_Click (object sender, EventArgs e)
{label13.Visible = false;. Visible = false; (numericUpDown4.Value> 0)
{int kol; vyvod = ""; (numericUpDown4.Value> elite.Count/2) = elite.Count/2; kol = (int) numericUpDown4.Value; = 0; (int i = 0; i
{max = 0; (int i = 0; i
{if (i! = 0) (ClRet1 (elite [max]. Glitter) + elite [max]. Depth + FRet1 (elite [max]. Surface)
} + = elite [max]. Glitter + "" + Convert.ToString (elite [max]. Depth) + "" + elite [max]. Surface + " n ";. RemoveAt (max); = elite [rnd.Next (0, elite.Count - 1)]; = list [rnd.Next (0, list.Count - 1)]; (ClRet1 (can.Glitter) > = ClRet1 (rec.Glitter)
&& can.Depth> = rec.Depth
&& FRet1 (can.Surface)> = FRet1 (rec.Surface)). Add (can);. Add (list [rnd.Next (0, list.Count - 1 )]); = 0; (int i = 0; i
{label9.BackColor = Color.Green;. Text = "Еліта розвивається";
}
{label9.BackColor = Color.Red;. Text = "Еліта деградує";
}
}. DataSource = null;. Rows.Clear ();. DataSource = elite;. Show (vyvod);. Visible = false;. Visible = false;
}
...