Пример #1
0
 private void GetProduct(int id)
 {
     ProductsLogic pl = new ProductsLogic();
     Products p = pl.GetProduct(id);
     ProductPanel.Visible = true;
     idProductTextBox.Text = p.ProductID.ToString();
     productNameTextBox.Text = p.ProductName;
 }