private void StatusUpdate() { string[] items = nw.GetLiteras(); if (items.Length > 0) { comboBox.Items.AddRange(items); comboBox.SelectedIndex = 0; } label1.Text = "Состояние нейросети: " + " элементов - " + items.Count(); }
private void Form1_Load(object sender, EventArgs e) { NeiroGraphUtils.ClearImage(pictureBox1); nw = new NeiroWeb(); string[] items = nw.GetLiteras(); if (items.Length > 0) { comboBox.Items.AddRange(items); comboBox.SelectedIndex = 0; } }