Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            FichaADOContacto fadoc = new FichaADOContacto();

            fadoc.MdiParent = this.MdiParent;
            fadoc.Show();
        }
Esempio n. 2
0
        private void butModificar_Click(object sender, EventArgs e)
        {
            int cod = int.Parse(dataGridView1.CurrentRow.Cells[0].Value.ToString());
            FichaADOContacto fadoc = new FichaADOContacto();

            fadoc.MdiParent = this.MdiParent;
            fadoc.cs        = cod;
            fadoc.Show();
        }