mirror of
https://github.com/hama3254/Crunchyroll-Downloader-v3.0.git
synced 2024-11-10 18:25:05 +01:00
small ui fix
small ui fix
This commit is contained in:
parent
170bfb90fc
commit
bfe2abf834
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -412,18 +412,24 @@ Public Class CRD_List_Item
|
||||
End Sub
|
||||
|
||||
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
|
||||
If proc.HasExited = True Then
|
||||
If ProgressBar1.Value < 100 Then
|
||||
If Canceld = False Then
|
||||
Label_website.Text = "The download process seems to have crashed"
|
||||
Label_percent.Text = "Press the play button again to retry."
|
||||
ProgressBar1.Value = 100
|
||||
Retry = True
|
||||
StatusRunning = False
|
||||
End If
|
||||
End If
|
||||
Try
|
||||
|
||||
End If
|
||||
|
||||
If proc.HasExited = True Then
|
||||
If ProgressBar1.Value < 100 Then
|
||||
If Canceld = False Then
|
||||
Label_website.Text = "The download process seems to have crashed"
|
||||
Label_percent.Text = "Press the play button again to retry."
|
||||
ProgressBar1.Value = 100
|
||||
Retry = True
|
||||
StatusRunning = False
|
||||
End If
|
||||
End If
|
||||
|
||||
End If
|
||||
Catch ex As Exception
|
||||
|
||||
End Try
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
|
@ -43,9 +43,9 @@ Public Class GeckoFX
|
||||
|
||||
WebBrowser1.Navigate("https://www.crunchyroll.com/logout")
|
||||
Main.Pause(5)
|
||||
WebBrowser1.Navigate("javascript:document.cookie =" + Chr(34) + "session_id=" + keks + "; expires=Thu, 05 Jan 2021 00:00:00 UTC; path=/;" + Chr(34) + ";")
|
||||
WebBrowser1.Navigate("javascript:document.cookie =" + Chr(34) + "session_id=" + keks + "; expires=Thu, 04 Jan 2022 00:00:00 UTC; path=/;" + Chr(34) + ";")
|
||||
Main.Pause(1)
|
||||
WebBrowser1.Navigate("javascript:document.cookie =" + Chr(34) + "sess_id=" + keks + "; expires=Thu, 05 Jan 2021 00:00:00 UTC; path=/;" + Chr(34) + ";")
|
||||
WebBrowser1.Navigate("javascript:document.cookie =" + Chr(34) + "sess_id=" + keks + "; expires=Thu, 04 Jan 2022 00:00:00 UTC; path=/;" + Chr(34) + ";")
|
||||
Main.Pause(1)
|
||||
If Main.LoginDialog = True Then
|
||||
Login.ShowDialog()
|
||||
@ -326,6 +326,20 @@ Public Class GeckoFX
|
||||
End Sub
|
||||
|
||||
Private Sub GeckoFX_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||
If Me.Width > My.Computer.Screen.Bounds.Width Then
|
||||
Me.Width = My.Computer.Screen.Bounds.Width
|
||||
WebBrowser1.Width = Me.Size.Width - 15 ', Me.Size.Height - 69)
|
||||
WebBrowser1.Location = New Point(0, 30)
|
||||
TextBox1.Width = My.Computer.Screen.Bounds.Width - 435
|
||||
|
||||
End If
|
||||
|
||||
If Me.Size.Height > My.Computer.Screen.Bounds.Height Then
|
||||
Me.Height = My.Computer.Screen.Bounds.Height
|
||||
WebBrowser1.Height = Me.Size.Height - 69
|
||||
WebBrowser1.Location = New Point(0, 30)
|
||||
End If
|
||||
|
||||
If Main.Debug2 = True Then
|
||||
Debug_Mode.Show()
|
||||
Debug_Mode.Location = New Point(Me.Location.X + Me.Width - 15, Me.Location.Y)
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user