Beispiel #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            Peripherals periph = new Peripherals(txtPeriphName.Text, txtPeriphPrice.Text);

            periph.add();
        }
Beispiel #2
0
        private void btnUpdateP_Click(object sender, EventArgs e)
        {
            Peripherals p = new Peripherals(txtNameP.Text, txtPriceU.Text);

            p.update();
        }