コード例 #1
0
        private void btnEditarProducto_Click(object sender, EventArgs e)
        {
            //editar
            int?id = getid();

            if (id != null)
            {
                Gestion.gProductos gProductos = new Gestion.gProductos();
                gProductos.ShowDialog();

                refrescar();
            }
        }
コード例 #2
0
 private void btnAgregarProducto_Click(object sender, EventArgs e)
 {
     //agregar
     Gestion.gProductos gProductos = new Gestion.gProductos();
     gProductos.ShowDialog();
 }