private void setup()
{
dataGridView1.Rows.Clear();
dataGridView1.Columns.Clear();
{
CB_Species.DisplayMember = "Text";
CB_Species.ValueMember = "Value";
CB_Species.DataSource = new BindingSource(m_parent.CB_Species.DataSource, null);
CB_S2.DisplayMember = "Text";
CB_S2.ValueMember = "Value";
CB_S2.DataSource = new BindingSource(m_parent.CB_Species.DataSource, null);
}
listBox1.SelectedIndex = 0;
fillTrainingBags();
CB_S2.SelectedValue = (int)BitConverter.ToUInt16(sav, offsetSpec + 4 * 30);
TB_Time1.Text = BitConverter.ToSingle(sav, offsetTime + 4 * 30).ToString();
TB_Time2.Text = BitConverter.ToSingle(sav, offsetTime + 4 * 31).ToString();
}
private void fillTrainingBags()