using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Using_Totals_and_Counting { public partial class frmCounts : Form { public frmCounts() { InitializeComponent(); } //---class or module level variables go here after the InitializeComponent(); stuff decimal grandTotal = 0; //hold the running total int numItems = 0; //hold the number of items bought