コード例 #1
0
 private void RepriceButton_Click(object sender, EventArgs e)
 {
     if (CatalogueListBox.SelectedItem is Product tmp)
     {
         catalogue.UpdateProductPrice(tmp.Name, double.Parse(PriceTextBox.Text));
     }
 }