Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Datos_Persona dp = new Datos_Persona();

            dp.Show();
            this.Hide();
        }
Exemple #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            long          id = Convert.ToInt64(dgwDatos.Rows[dgwDatos.CurrentRow.Index].Cells[0].Value);
            Datos_Persona dp = new Datos_Persona();

            dp.txtCI.Text = Convert.ToString(id);
            dp.Show();
            this.Hide();
        }