private void btn_SaleItem_Click(object sender, EventArgs e) { frmSaleItem frmSale = new frmSaleItem(); frmSale.ShowDialog(); lblTotalPrice.Text = ConfigurationDAL.GetCurrentCurrency() + frmSale.getSaleTotalPrice(); this.subTotal = frmSale.getSaleTotalPrice(); if (this.subTotal > 0) { btnPaid.Enabled = true; txtMoneyPaid.Enabled = true; picStatusPayment.Image = global::Shop_Management_Solution.Properties.Resources.recieve_cash; lblPaymentStatusText.Text = "Recieve Cash"; lblPaymentStatusText.ForeColor = Color.Green; } }
private void saleItemToolStripMenuItem_Click(object sender, EventArgs e) { frmSaleItem frmSale = new frmSaleItem(); frmSale.ShowDialog(); }