From 14edf6bfe4213c0d1618d0c8493ad901b50d524e Mon Sep 17 00:00:00 2001 From: hama3254 <52826614+hama3254@users.noreply.github.com> Date: Sun, 22 May 2022 11:01:32 +0200 Subject: [PATCH] queue count display improved queue count display improved #477 --- .vs/Crunchyroll Downloader/v17/.suo | Bin 129024 -> 129536 bytes Crunchyroll Downloader/Anime_Add.vb | 10 +++++----- Crunchyroll Downloader/Main.resx | 4 ++-- Crunchyroll Downloader/Main.vb | 16 ++++++++++------ .../My Project/AssemblyInfo.vb | 4 ++-- 5 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.vs/Crunchyroll Downloader/v17/.suo b/.vs/Crunchyroll Downloader/v17/.suo index 37fb5f8c001e15de5773c3768c4cfcea596dea63..b771338c874ff5c662e9113a1df8c2c785bdf5e5 100644 GIT binary patch delta 6117 zcmeHLdsLLw7XN<3Yru*3`ymejk(UGVR5V2FDq0Q+ijt;)R;CCz_&|ceH1ozPnWG%9 zX(CE!Ru>#~x@bDSGtJDpUYB8+c}-JGi|WQTx%SlwNo3c> zvWJH(S}f-F~LK4y8JxhfO549SDI0u?bNo)Man*k(0u=TWLr2IKo4O3Rddpr6?q+h%k-7 zR`>;tC?;Vxp@dLMC?m`vs0rnSxrBLy`Gf@oG1o$>D+x~!st6hayNMD<>C@%EWm{&|;<{;gapHm!BIYHgq?*>#5q=G@EL+IXSB~$>O$H_t8)M3_Z#_mS%#koZ zty6o}Vyo}da27NZc7kT2W~=;WFj;6Bige|n&p_*Zr;%AlSdx{GyQGT=cLV0Jp?&vg z9lW6+LfF*OKu&ep$%CIKVGUs&!Mv>X-SUR+y4j*n*leQqX2Rbo;lf%-XeDeV=m^^g z+X*`edctdj*J(=o-6ZTGkcYj3h1<>3S-Sri>E9xpsmmTv{XPlpgtLSX2p_Y zqR(v1TL(air`X=udw-cK+tHH{(a}K(`TLVT?wb7dtfqM>F;{x6YfT?%6V+V#?Iy2p z4(^Xx7Oxu}?GA?%R@Ty5%GP2hHY289n>CE>m&Gx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zeitJ7}qCIcm6QC3Mj870?AA)3vRzn_iAZNxGH2 z4`{azReN&{2YiXMIMZkw&)#)}57xjCycMWtnzbASyr}}b!9y6|2CwlrlVj~~?S@D( z#s{v`xqkB|j6oOH!3T6xEsVrnIlQ(#0de#|Ep9k!BQ(2H6zyP(fugU>rSNi02eTHHVl1iDmzG2p6;O8kanKKZH>5p;rpwJ$4TR zF|wlb^Hkmn`FM(Wz^(LrJM4FM{4cfpE|Yw)kktllw^d{DFqnX{M8BW&Eu8Zy0dH$C zP*EOiAsurk(BfwxOb9!KnsD1DQ}HuKVGTj&Su85b^b^F=l8`U^nr) z#N$0dX}w81Kf(~`#qJ5}H;0tZJw)+FMTv9J^b;57Rl@tJqPj!wNKthKKIKVhSbX27 Nx%(6SW_br6_#gSG(IWr= 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: ' - - + +