Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Transfer_forms.id_transfer = 0;
            Transfer_forms Producto = new Transfer_forms();

            Producto.ShowDialog();
            carga();
        }
Example #2
0
        private void dtTraspasos_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int             selectedrowindex = dtTraspasos.SelectedCells[0].RowIndex;
            DataGridViewRow selectedRow      = dtTraspasos.Rows[selectedrowindex];
            string          codigo           = Convert.ToString(selectedRow.Cells["id"].Value);

            Transfer_forms.id_transfer = Convert.ToInt16(codigo);
            Transfer_forms Producto = new Transfer_forms();

            Producto.ShowDialog();
            carga();
        }