Skip to content

Commit

Permalink
fix null stuff n add bt yuuki
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuki committed Jul 6, 2023
1 parent 3c0b31e commit 8683590
Show file tree
Hide file tree
Showing 8 changed files with 165 additions and 146 deletions.
4 changes: 2 additions & 2 deletions Download.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public partial class Download : Form
{
private string set_download = "";
private string set_folder = "";
private DownloadService dl;
private DownloadService? dl = null;

public Download(string url_download = "", string folder_download = "")
{
Expand Down Expand Up @@ -56,7 +56,7 @@ private void btDownload_Click(object sender, EventArgs e)
}
catch (Exception ek)
{
MessageBox.Show($"Failed downloading Data", "Oh Snap!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
MessageBox.Show($"Failed downloading Data: "+ek.Message, "Oh Snap!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
}
else
Expand Down
62 changes: 38 additions & 24 deletions Main.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8683590

Please sign in to comment.