private void PrintPreview(object sender, EventArgs e) { PrintOptions po = new PrintOptions(trv_view_exam.SelectedNode); po.ShowDialog(); whatToPrint = po.SelectedPrintOption; ppd_print.ShowDialog(); }
private void Print_Preview(object sender, EventArgs e) { PrintOptions po = new PrintOptions(trv_explorer.SelectedNode); po.ShowDialog(); whatToPrint = po.SelectedPrintOption; ppd_print.ShowDialog(); }