Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form_salidas.folio = "0";
            Form_salidas new_salida = new Form_salidas();

            new_salida.Owner = this;
            new_salida.Show();
        }
Esempio n. 2
0
        private void dtSalidas_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int             selectedrowindex = dtSalidas.SelectedCells[0].RowIndex;
            DataGridViewRow selectedRow      = dtSalidas.Rows[selectedrowindex];
            string          codigo           = Convert.ToString(selectedRow.Cells["folio"].Value);

            Form_salidas.folio = codigo;
            Form_salidas new_salida = new Form_salidas();

            new_salida.Owner = this;
            new_salida.Show();
        }
Esempio n. 3
0
        private void dtSalidas_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                int    i     = dtSalidas.CurrentRow.Index;
                string valor = dtSalidas.Rows[i].Cells["folio"].Value.ToString();

                Form_salidas.folio = valor;
                Form_salidas new_salida = new Form_salidas();
                new_salida.Owner = this;
                new_salida.Show();
            }
        }