{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "fixed in change set 26146.  This change will be in the next v1.7 preview release.",
    "ClosedDate": "2008-11-18T01:05:17.033-08:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "Hi Cheeso,\n \nCan you update your examples programs to taking care of the granular events (which is a great feature!).\n \nUpdate the WinForms application or the self extracting interface.\n \nThis is basically a second progressbar to add.\n \nThanks",
    "LastUpdatedDate": "2013-05-16T05:32:35.39-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2008-11-17T10:12:41.34-08:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Update Sample programs to take advantage of granular events",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 6613
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "Hi Cheeso,\r\n\r\nI done some tests with the last version and I saw one problem and 2 small optimizations.\r\n\r\nTry to make a zip with the winform example :\r\n1 - files seems to be read twice, you will see 2 times the second progressbar with the same file (1 of 1 files ...) the second time is faster than the first one (don't know if it's because the file is in memory), also if these files are read twice there is a design class problem (performance problem).\r\n2 - If i zip/unzip only one file both progressbars should have the same step <= this is a detail\r\n3 - the second progressbar should be the first IMHO (the final progressbar in the bottom should be more logic) <= this is a detail ;)\r\n\r\nAfter some checking, I see that you really read twice the file.\r\n\r\nif (nCycles > 1) readAgain = false;\r\nelse if (!outstream.CanSeek) readAgain = false;\r\nelse if (cipher != null && CompressedSize - 12 <= UncompressedSize) readAgain = false;\r\nelse readAgain = WantReadAgain();\r\n\r\nI don't understand why the file should be read twice.",
      "PostedDate": "2008-11-18T13:10:19.567-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:44:36.233-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:32:35.39-07:00",
      "Id": -2147483648
    }
  ]
}