UpdatePrintSettings(PrintDocument doc, TreeView tv, ListView lv, ref Int32[] widthArray) { if (tv.SelectedNode == null) { return; } doc.DocumentName = Utils.GetPrintDocumentName(tv.SelectedNode); widthArray = Utils.GetMaximumColumnWidths(lv); }
UpdatePrintSettings(ListView lv, ref Int32[] widthArray) { widthArray = Utils.GetMaximumColumnWidths(lv); }