send RadioButton with SendKeys.Send ();

1

I am sending information from a windows form to a form. The problem I have is that the How to send Radio buttons?

method:

private void button2_Click(object sender, EventArgs e)
{
    DateTime fecha = Convert.ToDateTime(txtFecha.Text);
    string stringFecha = fecha.ToShortDateString();

    //MessageBox.Show(fecha+"\n"+stringFecha);

    ActivateApp("roalrogaSoft");   ///activo el formulario para mendar los datos
    SendKeys.Send(txtCodigo.Text);

    SendKeys.Send("{TAB}");
    SendKeys.Send(txtPaterno.Text);

    SendKeys.Send("{TAB}");
    SendKeys.Send(txtMaterno.Text);

    SendKeys.Send("{TAB}");
    SendKeys.Send(txtNombres.Text);

}

    
asked by Pikoh 21.02.2018 в 12:24
source

0 answers