Beispiel #1
0
        private void usuariosToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ConsUsu obj = new ConsUsu();

            obj.MdiParent = this;
            obj.Show();
        }
Beispiel #2
0
        public override void Consultar()
        {
            ConsUsu obj = new ConsUsu();

            if (obj.ShowDialog() == DialogResult.OK)
            {
                codigo.Text = obj.dataGridView1.Rows[obj.dataGridView1.CurrentCell.RowIndex].Cells[0].Value.ToString();
                codigo.Focus();
                SendKeys.Send("{TAB}");
            }
        }