private void closeTAEToolStripMenuItem_Click(object sender, EventArgs e) { tae = null; dataGridView1.Rows.Clear(); listBox1.Items.Clear(); }
private void Open() { tae = new TAE.Tae(); listBox1.Items.Clear(); ResetState(); if (File.Exists(textBox1.Text)) { tae = TAE.ReadTae(textBox1.Text); if (tae.err != null) { MessageBox.Show(tae.err); } else { foreach (TAE.IdStruct id in tae.data.ids) { listBox1.Items.Add(id.id.ToString()); } } } }