diff --git a/.vs/Crunchyroll Downloader/v17/.suo b/.vs/Crunchyroll Downloader/v17/.suo index 37fb5f8..b771338 100644 Binary files a/.vs/Crunchyroll Downloader/v17/.suo and b/.vs/Crunchyroll Downloader/v17/.suo differ diff --git a/Crunchyroll Downloader/Anime_Add.vb b/Crunchyroll Downloader/Anime_Add.vb index ac0c497..760b6d2 100644 --- a/Crunchyroll Downloader/Anime_Add.vb +++ b/Crunchyroll Downloader/Anime_Add.vb @@ -749,9 +749,9 @@ Public Class Anime_Add - Private Sub TextBox2_Click(sender As Object, e As EventArgs) Handles textBox2.Click - If textBox2.Text = "Use Custom Name" Then - textBox2.Text = Nothing + Private Sub TextBox2_Click(sender As Object, e As EventArgs) Handles TextBox2.Click + If TextBox2.Text = "Use Custom Name" Then + TextBox2.Text = Nothing End If End Sub @@ -859,8 +859,8 @@ Public Class Anime_Add Private Sub GroupBox1_VisibleChanged(sender As Object, e As EventArgs) Handles groupBox1.VisibleChanged - If Not textBox2.Text = "Use Custom Name" Then - textBox2.Text = "Use Custom Name" + If Not TextBox2.Text = "Use Custom Name" Then + TextBox2.Text = "Use Custom Name" End If End Sub diff --git a/Crunchyroll Downloader/Main.resx b/Crunchyroll Downloader/Main.resx index f0a4fe8..bb384fc 100644 --- a/Crunchyroll Downloader/Main.resx +++ b/Crunchyroll Downloader/Main.resx @@ -196,7 +196,7 @@ 281, 17 - 370, 17 + 375, 15 459, 17 @@ -538,7 +538,7 @@ Check Token - 182, 92 + 182, 70 ContextMenuStrip1 diff --git a/Crunchyroll Downloader/Main.vb b/Crunchyroll Downloader/Main.vb index 785961b..cb55002 100644 --- a/Crunchyroll Downloader/Main.vb +++ b/Crunchyroll Downloader/Main.vb @@ -4791,7 +4791,7 @@ Public Class Main End If Next Me.Invoke(New Action(Function() As Object - Me.Text = "Status: " + ListBoxList.Count.ToString + " Downloads in queue" + vbNewLine + "open the add window to continue" + Me.Text = "Status: " + ListBoxList.Count.ToString + " downloads in queue" + vbNewLine + "open the add window to continue" Me.Invalidate() Return Nothing End Function)) @@ -4837,7 +4837,7 @@ Public Class Main End If Next Me.Invoke(New Action(Function() As Object - Me.Text = "Status: " + ListBoxList.Count.ToString + " Downloads in queue" + vbNewLine + "open the add window to continue" + Me.Text = "Status: " + ListBoxList.Count.ToString + " downloads in queue" + vbNewLine + "open the add window to continue" Me.Invalidate() Return Nothing End Function)) @@ -4938,7 +4938,7 @@ Public Class Main ListBoxList.Add(WebbrowserURL) End If Me.Invoke(New Action(Function() As Object - Me.Text = "Status: " + ListBoxList.Count.ToString + " Downloads in queue" + Me.Text = "Status: " + ListBoxList.Count.ToString + " downloads in queue" Me.Invalidate() Return Nothing End Function)) @@ -5142,11 +5142,15 @@ Public Class Main End Sub Private Sub Timer4_Tick(sender As Object, e As EventArgs) Handles Timer4.Tick - If ListBoxList.Count > 0 Then - If CBool(InStr(Me.Text, "Crunchyroll Downloader")) Or CBool(InStr(Me.Text, " downloads in queue")) Then - Me.Text = "Status: " + ListBoxList.Count.ToString + " downloads in queue" + vbNewLine + "open the add window to continue" + + If Application.OpenForms().OfType(Of Anime_Add).Any = False Then + If ListBoxList.Count > 0 Then + If CBool(InStr(Me.Text, "Crunchyroll Downloader")) Or CBool(InStr(Me.Text, " downloads in queue")) Then + Me.Text = "Status: " + ListBoxList.Count.ToString + " downloads in queue" + vbNewLine + "open the add window to continue" + End If End If End If + End Sub Private Sub Main_Shown(sender As Object, e As EventArgs) Handles Me.Shown diff --git a/Crunchyroll Downloader/My Project/AssemblyInfo.vb b/Crunchyroll Downloader/My Project/AssemblyInfo.vb index 0d2ba97..469d839 100644 --- a/Crunchyroll Downloader/My Project/AssemblyInfo.vb +++ b/Crunchyroll Downloader/My Project/AssemblyInfo.vb @@ -32,6 +32,6 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - - + +