コード例 #1
0
        private void buttonX2_Click(object sender, EventArgs e)
        {
            Consulta_Factura doForm = new Consulta_Factura();

            if (doForm.ShowDialog() == DialogResult.OK)
            {
                numero.Text = doForm.codigo.Text;
                numero.Focus();
                SendKeys.Send("{enter}");
            }
        }
コード例 #2
0
        private void cONSULTAFACTURAToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Consulta_Factura obj = new Consulta_Factura();

            obj.ShowDialog();
        }