private void btnShowReport_Click_1(object sender, EventArgs e) { CReport cr = new CReport(); cr.lblReport.Text = c.ToString(); cr.Show(); }
private void btnShowReport_Click(object sender, EventArgs e) { //we'll call this method elsewhere, but it works //c.AddToCustomerTotal(3); CReport cr = new CReport(); cr.lblReport.Text = c.ToString(); cr.Show(); }