public void InitWindow()
        {
            // Configuración de los combos
            cmbSupplier.DataSource    = SuppliersDAO.Select();
            cmbSupplier.DisplayMember = "CompanyName";
            cmbSupplier.ValueMember   = "SupplierId";

            cmbCategory.DataSource    = CategoriesDAO.Select();
            cmbCategory.DisplayMember = "CategoryName";
            cmbCategory.ValueMember   = "CategoryId";

            txtProductName.Focus();

            if (Prod == null)
            {
                return;
            }

            // Modo edición
            lblTitle.Text = "Editar producto";

            txtProductName.Text       = Prod.ProductName;
            cmbSupplier.SelectedValue = Prod.SupplierID;
            cmbCategory.SelectedValue = Prod.CategoryID;
            txtQuantityPerUnit.Text   = Prod.QuantityPerUnit;
            nmUnitPrice.Value         = (decimal)Prod.UnitPrice;
            nmUnitsInStock.Value      = Prod.UnitsInStock;
            nmUnitsOnOrder.Value      = Prod.UnitsOnOrder;
            nmReorderLevel.Value      = Prod.ReorderLevel;
            chkDescontinued.Checked   = Prod.Discontinued != 0;
        }