Exemple #1
0
        private void bt_agregar_Click_1(object sender, EventArgs e)
        {
            Det_Entradas frm = new Det_Entradas();

            frm.ShowDialog();
            carga(sql);
        }
Exemple #2
0
        private void bteditar_Click(object sender, EventArgs e)
        {
            if (grid_ent.CurrentRow.Cells[0].Value.ToString() != "")
            {
                DialogResult result = MessageBox.Show("¡Deseas Editar la Entrada al Almacen?", "Precaucion", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
                if (result == DialogResult.Yes)
                {
                    Det_Entradas frm = new Det_Entradas();
                    frm.Tag = grid_ent.CurrentRow.Cells[0].Value.ToString();
                    frm.ShowDialog();

                    carga(sql);
                }
            }
        }