Conversione a c# + threads

This commit is contained in:
Maddo Scientisto 2021-02-25 11:14:44 +01:00
commit d133917283
24 changed files with 2649 additions and 642 deletions

View file

@ -160,6 +160,7 @@ Partial Class MainForm
Me.Label10 = New System.Windows.Forms.Label()
Me.btnCreaCatalogo = New System.Windows.Forms.Button()
Me.Button6 = New System.Windows.Forms.Button()
Me.btnCreaCatalogoAsync = New System.Windows.Forms.Button()
Me.TabControl1.SuspendLayout()
Me.TabPage5.SuspendLayout()
Me.GroupBox11.SuspendLayout()
@ -289,9 +290,9 @@ Partial Class MainForm
Me.Label8.AutoSize = True
Me.Label8.Location = New System.Drawing.Point(64, 26)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(61, 13)
Me.Label8.Size = New System.Drawing.Size(111, 13)
Me.Label8.TabIndex = 3
Me.Label8.Text = "Min Thread"
Me.Label8.Text = "Chunk Size (0 = MAX)"
'
'TextBox8
'
@ -299,16 +300,16 @@ Partial Class MainForm
Me.TextBox8.Name = "TextBox8"
Me.TextBox8.Size = New System.Drawing.Size(47, 20)
Me.TextBox8.TabIndex = 2
Me.TextBox8.Text = "4"
Me.TextBox8.Text = "0"
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Location = New System.Drawing.Point(61, 48)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(64, 13)
Me.Label7.Size = New System.Drawing.Size(108, 13)
Me.Label7.TabIndex = 1
Me.Label7.Text = "Max Thread"
Me.Label7.Text = "Threads (0 = CPU *2)"
'
'TextBox7
'
@ -316,7 +317,7 @@ Partial Class MainForm
Me.TextBox7.Name = "TextBox7"
Me.TextBox7.Size = New System.Drawing.Size(47, 20)
Me.TextBox7.TabIndex = 0
Me.TextBox7.Text = "4"
Me.TextBox7.Text = "0"
'
'GroupBox3
'
@ -1493,7 +1494,7 @@ Partial Class MainForm
Me.Label27.Name = "Label27"
Me.Label27.Size = New System.Drawing.Size(140, 20)
Me.Label27.TabIndex = 62
Me.Label27.Text = "Versione 2.1 2019"
Me.Label27.Text = "Versione 2.2 2021"
Me.Label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Button7
@ -1568,7 +1569,7 @@ Partial Class MainForm
Me.btnCreaCatalogo.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.btnCreaCatalogo.Location = New System.Drawing.Point(539, 77)
Me.btnCreaCatalogo.Name = "btnCreaCatalogo"
Me.btnCreaCatalogo.Size = New System.Drawing.Size(192, 39)
Me.btnCreaCatalogo.Size = New System.Drawing.Size(102, 39)
Me.btnCreaCatalogo.TabIndex = 53
Me.btnCreaCatalogo.Text = "crea catalogo"
'
@ -1581,11 +1582,21 @@ Partial Class MainForm
Me.Button6.TabIndex = 54
Me.Button6.Text = "Carica impostazioni"
'
'btnCreaCatalogoAsync
'
Me.btnCreaCatalogoAsync.Location = New System.Drawing.Point(647, 78)
Me.btnCreaCatalogoAsync.Name = "btnCreaCatalogoAsync"
Me.btnCreaCatalogoAsync.Size = New System.Drawing.Size(84, 38)
Me.btnCreaCatalogoAsync.TabIndex = 68
Me.btnCreaCatalogoAsync.Text = "Crea 2"
Me.btnCreaCatalogoAsync.UseVisualStyleBackColor = True
'
'MainForm
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(739, 401)
Me.Controls.Add(Me.btnCreaCatalogoAsync)
Me.Controls.Add(Me.ProgressBar1)
Me.Controls.Add(Me.CheckBox22)
Me.Controls.Add(Me.Label43)
@ -1783,4 +1794,5 @@ Partial Class MainForm
Friend WithEvents rdbVecchioMetodo As System.Windows.Forms.RadioButton
Friend WithEvents CheckBox2 As System.Windows.Forms.CheckBox
Friend WithEvents chkSovrascriviFile As System.Windows.Forms.CheckBox
Friend WithEvents btnCreaCatalogoAsync As Button
End Class