示例#1
0
        private void btnShowReport_Click_1(object sender, EventArgs e)
        {
            CReport cr = new CReport();

            cr.lblReport.Text = c.ToString();
            cr.Show();
        }
示例#2
0
        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();
        }