Exemplo n.º 1
0
        public DownloadFileDlg(long fileId, string fileHash, string fileName)
        {
            InitializeComponent();

            this.FileId      = fileId;
            this.FileHash    = Commons.NotBlank(fileHash, "fileHash").Trim();
            this.FileName    = Commons.NotBlank(fileName, "fileName").Trim();
            this.label2.Text = string.Format(Properties.Resources.DownloadFileDlg_Downloading, this.FileName);
        }