ComponentModel :: CancelEventArgs ^ e) {
}: System :: Void button3_Click (System :: Object ^ sender, System :: EventArgs ^ e) {(numericUpDown12.Value> 0)
{; (numericUpDown12.Value> elite.Count/2) = elite.Count/2; = (int) numericUpDown12.Value; = 0; (inti = 0; i
(int j = 0; j
{= 0; (inti = 0; i
{(i! = 0) (elite [min]. Height + elite [min]. MediumShot + elite [min]. LongShot + elite [min]. Pass + elite [min]. Rebound + elite [min]. Steal + elite [min]. Endurance + elite [min]. BlockShot> elite [i]. Height + elite [i]. MediumShot + elite [i]. LongShot + elite [i]. Pass + elite [i]. Rebound + elite [i]. Steal + elite [i]. Endurance + elite [i]. BlockShot) = i;
}. Add (elite [min]);. RemoveAt (min); = elite [rnd.Next (0, elite.Count - 1)]; = list [rnd.Next (0, list.Count - 1)]; (can.Height> = rec.Height && can.MediumShot> = rec.MediumShot
&& can.LongShot> = rec.LongShot && can.Pass> = rec.Pass
&& can.Rebound> = rec.Rebound && can.Steal> = rec.Steal
&& can.Endurance> = rec.Endurance && can.BlockShot> = rec.BlockShot). Add (can);. Add (list [rnd.Next (0, list . Count - 1)]); = 0; (inti = 0; i
(summelite
{. BackColor = Color.Green;. Text = "Елітаразвівается";
}
{. BackColor = Color.Red;. Text = "Елітадеградірует";
}. Visible = true;
}. DataSource = null;. Rows.Clear ();. DataSource = elite;
. DataSource = null;. Rows.Clear ();. DataSource = propol;
}
}
}: System :: Void выбратьФайлКандидатовToolStripMenuItem_Click (System :: Object ^ sender, System :: EventArgs ^ e) {(openFileDialog1-> ShowDialog () == System :: Windows :: Forms :: DialogResult :: OK)
{:: Show (openFileDialog1-> FileName);
}
{:: Show ("Необхідно вибрати файл!");
FileName); ^ line; i = 1; [0,0] -> Value = sf-> ReadLine (); (sf-> ReadLine ()! = "" ;)
}> Close ();
}: System :: Void Form1_Activated (System ::...