예제 #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();
        }