Ejemplo n.º 1
0
        private void agregarVentaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BuyDlg dialog = new BuyDlg();

            dialog.setDB(database);
            dialog.isBuy = false;
            dialog.ShowDialog();
            updateTable(database.readAll());
        }
Ejemplo n.º 2
0
        private void toolStripMenuItem3_Click(object sender, EventArgs e)
        {
            BuyDlg dialog = new BuyDlg();

            dialog.setDB(database);
            dialog.isBuy = true;
            dialog.ShowDialog();
            updateTable(database.readAll());
        }