Exemple #1
0
 public HladanieForm(Jadro jadro)
 {
     _jadro = jadro;
     _jadro.ZmenaPoradiaHladania += UpdateProgressBar;
     _jadro.KoniecVlakna         += KoniecVlakana;
     InitializeComponent();
     comboBox1.DataSource              = RasyId.ListId.Keys.ToList();
     comboBoxRasaPovodna.DataSource    = RasyId.ListId.Keys.ToList();
     comboBoxRasaSucasna.DataSource    = RasyId.ListId.Keys.ToList();
     comboBox2.DataSource              = _jadro.NaplnSektory();
     comboBoxRasaTypPlanety.DataSource = RasyId.ListId.Keys.ToList();
     comboBoxTypPlanety.DataSource     = _jadro.NaplnTypyPlanet();
 }