示例#1
0
 private void sumar()
 {
     subtotal           = UserControlPollo.subtotal + UserControl2.getsubtotal() + UserControl1.getsubtotal() + UserControlEnsaladas.getsubtotal();
     textBox1.Text      = subtotal.ToString();
     ClassFactura.Total = subtotal;
 }