Skip to content

Commit

Permalink
Upload 20240825
Browse files Browse the repository at this point in the history
  • Loading branch information
cjhdevact authored Aug 25, 2024
1 parent ff6b3fa commit a8a6c91
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/SmartEduDownloader/DownLinkForm.vb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Imports Newtonsoft.Json.Linq
Imports System.Net

Public Class DownLinkForm
Dim st As Integer
Expand All @@ -18,6 +19,7 @@ Public Class DownLinkForm
End Sub

Private Sub DownLinkForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ServicePointManager.SecurityProtocol = CType(192, SecurityProtocolType) Or CType(768, SecurityProtocolType) Or CType(3072, SecurityProtocolType)
st = 0
mld = 1
CheckBox1.Checked = True
Expand Down
2 changes: 2 additions & 0 deletions Src/SmartEduDownloader/MDownForm.vb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Imports Newtonsoft.Json.Linq
Imports System.Net

Public Class MDownForm
Dim st As Integer
Expand All @@ -18,6 +19,7 @@ Public Class MDownForm
End Sub

Private Sub MDownForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ServicePointManager.SecurityProtocol = CType(192, SecurityProtocolType) Or CType(768, SecurityProtocolType) Or CType(3072, SecurityProtocolType)
st = 0
mld = 1
CheckBox1.Checked = True
Expand Down
2 changes: 2 additions & 0 deletions Src/SmartEduDownloader/MGetForm.vb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Imports Newtonsoft.Json.Linq
Imports System.Net

Public Class MGetForm
Dim DownLinks() As String
Expand Down Expand Up @@ -79,6 +80,7 @@ Public Class MGetForm
End Try
End Sub
Private Sub MGetForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ServicePointManager.SecurityProtocol = CType(192, SecurityProtocolType) Or CType(768, SecurityProtocolType) Or CType(3072, SecurityProtocolType)
OErr = 1
CheckBox1.Checked = False
DownLinks = Nothing
Expand Down
1 change: 1 addition & 0 deletions Src/SmartEduDownloader/MainForm.vb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Public Class MainForm
Public Const AppBuildChannel As String = "O"

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ServicePointManager.SecurityProtocol = CType(192, SecurityProtocolType) Or CType(768, SecurityProtocolType) Or CType(3072, SecurityProtocolType)
Dim disi As Graphics = Me.CreateGraphics()
TextBox2.Height = disi.DpiX * 0.01 * 135
If Environment.Is64BitProcess = True Then
Expand Down

0 comments on commit a8a6c91

Please sign in to comment.