private void pbxAdd_Click(object sender, EventArgs e)
        {
            ProductDetailsForm productdetailsform = new ProductDetailsForm();

            productdetailsform.Show();
            this.Hide();
        }
Beispiel #2
0
        private void pbxAdd_Click(object sender, EventArgs e)
        {
            ProductDetailsForm pd = new ProductDetailsForm(aux);

            pd.Show();
            this.Close();
        }
        private void pbxEdit_Click(object sender, EventArgs e)
        {
            int idProduct = Int32.Parse(dgvProduct.SelectedRows[0].Cells[0].Value.ToString());
            ProductDetailsForm productdetailsform = new ProductDetailsForm(idProduct);

            productdetailsform.Show();
            this.Hide();
        }