Пример #1
0
        private void PrintPreview(object sender, EventArgs e)
        {
            PrintOptions po = new PrintOptions(trv_view_exam.SelectedNode);

            po.ShowDialog();
            whatToPrint = po.SelectedPrintOption;
            ppd_print.ShowDialog();
        }
Пример #2
0
 private void Print_Preview(object sender, EventArgs e)
 {
     PrintOptions po = new PrintOptions(trv_explorer.SelectedNode);
     po.ShowDialog();
     whatToPrint = po.SelectedPrintOption;
     ppd_print.ShowDialog();
 }