示例#1
0
        private void gruposArticulosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ConsGruArt obj = new ConsGruArt();

            obj.MdiParent = this;
            obj.Show();
        }
示例#2
0
        private void ConsGruArt_Click(object sender, EventArgs e)
        {
            ConsGruArt obj = new ConsGruArt();

            if (obj.ShowDialog() == DialogResult.OK)
            {
                GruArt.Text = obj.dataGridView1.Rows[obj.dataGridView1.CurrentCell.RowIndex].Cells[0].Value.ToString();
            }
        }
示例#3
0
        public override void Consultar()
        {
            ConsGruArt obj = new ConsGruArt();

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