GetMaximumColumnWidths() public static method

public static GetMaximumColumnWidths ( ListView lv ) : System.Int32[]
lv System.Windows.Forms.ListView
return System.Int32[]
Example #1
0
 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);
 }
Example #2
0
 UpdatePrintSettings(ListView lv, ref Int32[] widthArray)
 {
     widthArray = Utils.GetMaximumColumnWidths(lv);
 }