Пример #1
0
        private void Button1_Click(object sender, EventArgs e)
        {
            Frm_consultamarca curriculum = new Frm_consultamarca();

            curriculum.ShowDialog();

            if (curriculum.DialogResult == DialogResult.OK)
            {
                Txt_marca.Text = curriculum.Dgv_consulta.Rows[curriculum.Dgv_consulta.CurrentRow.Index].
                                 Cells[0].Value.ToString();
            }
        }
Пример #2
0
        private void Btn_consultar_Click(object sender, EventArgs e)
        {
            Frm_consultamarca curriculum = new Frm_consultamarca();

            curriculum.ShowDialog();
        }