コード例 #1
0
 private void button49_Click(object sender, EventArgs e)
 {
     if (myCash1.listInvoiceItem.Rows.Count == 0)
     {
         myCash1.invoiceTotal.Rows[0][15] = "V";
         UpdateInvoiceTotals();
         getGui.DeleteInvoiceItemized(StaticClass.storeId, this.invoiceNum);
         getGui.CloseTable(StaticClass.storeId, this.invoiceNum);
         this.Dispose();
     }
     else
     {
         Alert.Show("Hủy hoặc giữ hóa đơn \ntrước khi thoát !", Color.Red);
     }
 }