private void Button1_Click(object sender, EventArgs e) { listViewPrinter printer = new listViewPrinter(ListView1, new Point(50, 50), chkBorder.Checked, ListView1.Groups.Count > 0, "titleText"); printer.print(); }
private void button2_Click_1(object sender, EventArgs e) { listViewPrinter printer = new listViewPrinter(ListView1, new Point(50, 25), chkBorder.Checked, ListView1.Groups.Count > 0, "Izveštaj", KonvJedinica(sum)); printer.print2(); }