Example #1
0
        private void showInfo(InterfaceFile file)
        {
            sFileDetails FileInfo = (sFileDetails)krnGateway.GetFileDetails(file.strHash);

            this.tx_fileName.Text     = file.Name;
            this.tx_completeName.Text = file.CompleteName;
            switch ((byte)FileInfo.Type)
            {
            case ((byte)Constants.FileType.Avi):
                FAviDetails.ShowData((Hashtable)FileInfo.ListDetails);
                FAviDetails.Show();
                break;

            default:
                FAviDetails.Hide();
                break;
            }
        }