private void button3_Click(object sender, EventArgs e)
        {
            try
            {
                int    rowindex        = dataGridView1.CurrentCell.RowIndex;
                string ingredientsName = dataGridView1.Rows[rowindex].Cells[0].Value.ToString();

                addEditIngredients a = new addEditIngredients(1, ingredientsName);
                a.ShowDialog();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Please choose the data first! " + ex.Message);
            }
        }
        private void button2_Click(object sender, EventArgs e)
        {
            addEditIngredients a = new addEditIngredients(0, "");

            a.ShowDialog();
        }