public void toolStripPrintBtn_Click(object sender, EventArgs e) { if (listViewPageViewer.Items.Count > 0) { for (int i = 0; i < listViewPageViewer.Items.Count; i++) { if (listViewPageViewer.Items[i].Checked) { printDialog.ShowDialog(); printDocument.Print(); } else { MessageBox.Show("Please Select an Item From the List"); } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)