Exemple #1
0
        private void m_RefreshStatistics(InterfaceFile file)
        {
            FileStatistics fstatistics = krnGateway.GetFileStatistics(file.strHash);

            labelSessionDownloadedRes.Text = eLePhantListView.SizeToString((uint)fstatistics.SessionDownload);
            labelSessionUploadedRes.Text   = eLePhantListView.SizeToString((uint)fstatistics.SessionUpload);
            labelSessionRequestsRes.Text   = fstatistics.SessionRequests.ToString();
            byte   rating  = 0;
            string comment = "";

            krnGateway.GetFileComment(file.strHash, ref comment, ref rating);
            this.textBoxComment.Text = comment;
        }