Exemple #1
0
        private void TransactionButton_Click(object sender, EventArgs e)
        {
            using TransactionForm transactionForm = new TransactionForm();
            transactionForm.ShowDialog();

            GetSalesList();
        }
        private void AddButton_Click(object sender, EventArgs e)
        {
            TransactionForm PoSForm = (TransactionForm)this.Owner;

            DataGridViewRow row = ProductsList.SelectedRows[0];

            if (!PoSForm.GetSelectedProduct(row))
            {
                return;
            }

            this.Close();
        }