private void englFoobjmsgToolStripMenuItem_Click(object sender, EventArgs e) { TxtFoobj txtFj = new TxtFoobj("engl", NewItemPidPath.Text); txtFj.SetNewText(); txtFj.writeFile(); }
private void label6_Click(object sender, EventArgs e) { listBox1.Items.Clear(); TxtFoobj txtFj = new TxtFoobj("engl", NewItemPidPath.Text); txtFj.SetNewText(); for (int i = 0; i < txtFj.file.arrayListOfStrings.Length; i++) { listBox1.Items.Add(txtFj.file.arrayListOfStrings[i]); } }