示例#1
0
 private void listBox2_DoubleClick(object sender, EventArgs e)
 {
     if (currentProduct != null)
     {
         Form edit = new ProductInf(currentProduct, Text, 2);
         edit.ShowDialog();
     }
 }
示例#2
0
        private void addbutton_Click(object sender, EventArgs e)
        {
            Form add = new ProductInf(Text, 1);

            add.ShowDialog();
        }