示例#1
0
 private void buttonModify_Click(object sender, EventArgs e)
 {
     WindowItem modif = new WindowItem("", valItemName.Text, Convert.ToDouble(valPrice.Text), Convert.ToInt32(valQuantity.Text), valDescription.Text);
     modif.ShowDialog();
 }
示例#2
0
 private void buttonAdd_Click(object sender, EventArgs e)
 {
     WindowItem windowAdd = new WindowItem(this);
     windowAdd.ShowDialog(this);
 }