FloydPink.Flickr.Downloadr.UI.BrowserWindow.DownloadComplete C# (CSharp) Method

DownloadComplete() public method

public DownloadComplete ( string downloadedLocation, bool downloadComplete ) : void
downloadedLocation string
downloadComplete bool
return void
        public void DownloadComplete(string downloadedLocation, bool downloadComplete)
        {
            const string proTip = "\r\n\r\n(ProTip™: CTRL+C will copy all of this message with the location.)";
            if (downloadComplete)
            {
                ClearSelectedPhotos();
                MessageBox.Show(
                    string.Format(
                        "Download completed to the directory: \r\n{0}{1}",
                        downloadedLocation, proTip), "Done");
            }
            else
            {
                MessageBox.Show(
                    string.Format(
                        "Incomplete download could be found at: \r\n{0}{1}",
                        downloadedLocation, proTip), "Cancelled");
            }
        }