Chunks and threads in model
This commit is contained in:
parent
a466efbb27
commit
764a439645
4 changed files with 155 additions and 321 deletions
58
imagecatalog/MainForm.Designer.cs
generated
58
imagecatalog/MainForm.Designer.cs
generated
|
|
@ -48,13 +48,13 @@ namespace ImageCatalog
|
|||
button1 = new Button();
|
||||
btnTest = new Button();
|
||||
GroupBox11 = new GroupBox();
|
||||
numericUpDown2 = new NumericUpDown();
|
||||
numericUpDown1 = new NumericUpDown();
|
||||
Panel3 = new Panel();
|
||||
rdbNuovoMetodo = new RadioButton();
|
||||
rdbVecchioMetodo = new RadioButton();
|
||||
Label8 = new Label();
|
||||
TextBox8 = new TextBox();
|
||||
Label7 = new Label();
|
||||
TextBox7 = new TextBox();
|
||||
GroupBox3 = new GroupBox();
|
||||
chkAggiornaSottodirectory = new CheckBox();
|
||||
_Button3 = new Button();
|
||||
|
|
@ -186,6 +186,8 @@ namespace ImageCatalog
|
|||
TabControl1.SuspendLayout();
|
||||
TabPage5.SuspendLayout();
|
||||
GroupBox11.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDown2).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit();
|
||||
Panel3.SuspendLayout();
|
||||
GroupBox3.SuspendLayout();
|
||||
GroupBox8.SuspendLayout();
|
||||
|
|
@ -304,11 +306,11 @@ namespace ImageCatalog
|
|||
//
|
||||
// GroupBox11
|
||||
//
|
||||
GroupBox11.Controls.Add(numericUpDown2);
|
||||
GroupBox11.Controls.Add(numericUpDown1);
|
||||
GroupBox11.Controls.Add(Panel3);
|
||||
GroupBox11.Controls.Add(Label8);
|
||||
GroupBox11.Controls.Add(TextBox8);
|
||||
GroupBox11.Controls.Add(Label7);
|
||||
GroupBox11.Controls.Add(TextBox7);
|
||||
GroupBox11.Location = new Point(15, 515);
|
||||
GroupBox11.Margin = new Padding(6, 8, 6, 8);
|
||||
GroupBox11.Name = "GroupBox11";
|
||||
|
|
@ -318,6 +320,24 @@ namespace ImageCatalog
|
|||
GroupBox11.TabStop = false;
|
||||
GroupBox11.Text = "Avanzate (ATTENZIONE)";
|
||||
//
|
||||
// numericUpDown2
|
||||
//
|
||||
numericUpDown2.DataBindings.Add(new Binding("Value", bindingSource1, "ThreadsCount", true, DataSourceUpdateMode.OnPropertyChanged));
|
||||
numericUpDown2.Location = new Point(15, 118);
|
||||
numericUpDown2.Maximum = new decimal(new int[] { 10000, 0, 0, 0 });
|
||||
numericUpDown2.Name = "numericUpDown2";
|
||||
numericUpDown2.Size = new Size(114, 39);
|
||||
numericUpDown2.TabIndex = 52;
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
numericUpDown1.DataBindings.Add(new Binding("Value", bindingSource1, "ChunkSize", true, DataSourceUpdateMode.OnPropertyChanged));
|
||||
numericUpDown1.Location = new Point(15, 62);
|
||||
numericUpDown1.Maximum = new decimal(new int[] { 10000, 0, 0, 0 });
|
||||
numericUpDown1.Name = "numericUpDown1";
|
||||
numericUpDown1.Size = new Size(114, 39);
|
||||
numericUpDown1.TabIndex = 51;
|
||||
//
|
||||
// Panel3
|
||||
//
|
||||
Panel3.Controls.Add(rdbNuovoMetodo);
|
||||
|
|
@ -362,33 +382,15 @@ namespace ImageCatalog
|
|||
Label8.TabIndex = 3;
|
||||
Label8.Text = "Chunk Size (0 = MAX)";
|
||||
//
|
||||
// TextBox8
|
||||
//
|
||||
TextBox8.Location = new Point(15, 50);
|
||||
TextBox8.Margin = new Padding(6, 8, 6, 8);
|
||||
TextBox8.Name = "TextBox8";
|
||||
TextBox8.Size = new Size(97, 39);
|
||||
TextBox8.TabIndex = 2;
|
||||
TextBox8.Text = "0";
|
||||
//
|
||||
// Label7
|
||||
//
|
||||
Label7.AutoSize = true;
|
||||
Label7.Location = new Point(132, 118);
|
||||
Label7.Location = new Point(138, 120);
|
||||
Label7.Margin = new Padding(6, 0, 6, 0);
|
||||
Label7.Name = "Label7";
|
||||
Label7.Size = new Size(236, 32);
|
||||
Label7.Size = new Size(213, 32);
|
||||
Label7.TabIndex = 1;
|
||||
Label7.Text = "Threads (0 = CPU *2)";
|
||||
//
|
||||
// TextBox7
|
||||
//
|
||||
TextBox7.Location = new Point(15, 114);
|
||||
TextBox7.Margin = new Padding(6, 8, 6, 8);
|
||||
TextBox7.Name = "TextBox7";
|
||||
TextBox7.Size = new Size(97, 39);
|
||||
TextBox7.TabIndex = 0;
|
||||
TextBox7.Text = "0";
|
||||
Label7.Text = "Threads (0 = Auto)";
|
||||
//
|
||||
// GroupBox3
|
||||
//
|
||||
|
|
@ -1832,6 +1834,8 @@ namespace ImageCatalog
|
|||
TabPage5.ResumeLayout(false);
|
||||
GroupBox11.ResumeLayout(false);
|
||||
GroupBox11.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDown2).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDown1).EndInit();
|
||||
Panel3.ResumeLayout(false);
|
||||
Panel3.PerformLayout();
|
||||
GroupBox3.ResumeLayout(false);
|
||||
|
|
@ -2302,9 +2306,7 @@ namespace ImageCatalog
|
|||
|
||||
internal GroupBox GroupBox11;
|
||||
internal Label Label7;
|
||||
internal TextBox TextBox7;
|
||||
internal Label Label8;
|
||||
internal TextBox TextBox8;
|
||||
internal Panel Panel3;
|
||||
internal RadioButton rdbNuovoMetodo;
|
||||
internal RadioButton rdbVecchioMetodo;
|
||||
|
|
@ -2316,6 +2318,8 @@ namespace ImageCatalog
|
|||
private BindingSource bindingSource1;
|
||||
private Button btnTest;
|
||||
private Button button1;
|
||||
private NumericUpDown numericUpDown1;
|
||||
private NumericUpDown numericUpDown2;
|
||||
|
||||
internal Button btnCreaCatalogoAsync
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue