private void button4_Click(object sender, EventArgs e) { var x = new N_Proyects(); listBox1.DataSource = x.Read(); listBox1.DisplayMember = "name"; }
private void button3_Click(object sender, EventArgs e) { var x = new N_Proyects(); x.Write(textBox1.Text, textBox2.Text, textBox3.Text); listBox1.DataSource = x.Read(); listBox1.DisplayMember = "name"; }