예제 #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();
        }