Ejemplo n.º 1
0
        private void closeTAEToolStripMenuItem_Click(object sender, EventArgs e)
        {
            tae = null;

            dataGridView1.Rows.Clear();

            listBox1.Items.Clear();
        }
Ejemplo n.º 2
0
        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());
                    }
                }
            }
        }