WebExpress.DownloadItem.DownloadItem C# (CSharp) Method

DownloadItem() public method

public DownloadItem ( string filepath, string url, string filename ) : System
filepath string
url string
filename string
return System
        public DownloadItem(string filepath, string url, string filename)
        {
            Downloaded = false;
            InitializeComponent();
            webClient = new WebClient();
            webClient.DownloadFileAsync(new Uri(url), filepath + "\\" + filename);
            FileName.Text = filename;
            _filepath = filepath;
            button.SetRippleMargin(1);
               button.ImageSource("close_button.png");
            webClient.DownloadProgressChanged += WebClient_DownloadProgressChanged;
            webClient.DownloadFileCompleted += WebClient_DownloadFileCompleted;
        }