Example #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            var x = new N_Proyects();

            listBox1.DataSource    = x.Read();
            listBox1.DisplayMember = "name";
        }
Example #2
0
        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";
        }