Пример #1
0
        private void pbxPlus_Click(object sender, EventArgs e)
        {
            ProductDetailsForm pdf = new ProductDetailsForm(aux);

            pdf.Show();
            this.Close();
        }
Пример #2
0
        private void pbxEdit_Click(object sender, EventArgs e)
        {
            int idProduct = Int32.Parse(dgvProduct.SelectedRows[0].Cells[0].Value.ToString());

            ProductDetailsForm pdf = new ProductDetailsForm(idProduct, aux);

            pdf.Show();

            this.Close();
        }