Search results for query: *

  1. E

    How to open file location from list view item using context menu strip?

    Here is list of things I want to do: Display context menu strip only when mouse is over the item and right clicked on it, the code I have for that is this: private void contextMenuStrip1_Opening(object sender, CancelEventArgs e) { if (listView1.SelectedItems.Count ==...
  2. E

    Question How to format file sizes?

    Currently I have this code: public static class SizeUnit { public static string FileSizeToString(long size) { double FileSize = size; string[] format = new string[] { "{0} bytes", "{0:0.00} KB", "{0:0.00}...
Back
Top Bottom