private void BtnNextReceipt_Click(object sender, EventArgs e) { if (CheckReceiptHasCustomer == true) { BtnCommit_Click(sender, e); CheckReceiptHasCustomer = false; // return to defult // Next Receipt FReceipt fr = new FReceipt(); fr.ShowDialog(); } }
private void receiptToolStripMenuItem_Click(object sender, EventArgs e) { FReceipt fr = new FReceipt(); fr.ShowDialog(); }