private void button1_Click(object sender, EventArgs e)
        {
            add_new_product anp = new add_new_product();

            anp.comboBox1.Items.Add(textBox1.Text);
            MessageBox.Show("Inserted");
        }
Esempio n. 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            add_new_product adp = new add_new_product();
            Manage_Product  mp  = new Manage_Product();

            adp.Show();
            mp.Close();
        }