private void FillFileFlowPanel(int id)
        {
            View.CategoryFiles.FileFlowLayout.Controls.Clear();
            IEnumerable <File> files =
                File.Select("CATEGORYID = " + id.ToSqlFormat());

            foreach (File file in files)
            {
                var pt = new PanelTile(file.Name, file.Description);
                pt.Tag = file;
                pt.pictureBox1.ImageLocation = setFileImage(file.Name);
                pt.pictureBox1.Click        += pt_Click;

                View.CategoryFiles.FileFlowLayout.Controls.Add(pt);
            }
        }