private void button4_Click(object sender, EventArgs e) { Consulta_Cliente doForm = new Consulta_Cliente(); if (doForm.ShowDialog() == DialogResult.OK) { txtcodigo.Text = doForm.codigo.Text; txtnombre.Focus(); SendKeys.Send("{enter}"); } }
private void buttonX3_Click(object sender, EventArgs e) { Consulta_Cliente doForm = new Consulta_Cliente(); if (doForm.ShowDialog() == DialogResult.OK) { codcli.Text = doForm.codigo.Text; canart.Focus(); SendKeys.Send("{enter}"); } }
private void cONSULTACLIENTEToolStripMenuItem_Click(object sender, EventArgs e) { Consulta_Cliente obj = new Consulta_Cliente(); obj.ShowDialog(); }