diff --git a/imagecatalog/DataModel.cs b/imagecatalog/DataModel.cs new file mode 100644 index 0000000..99d7dfd --- /dev/null +++ b/imagecatalog/DataModel.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ImageCatalog_2 +{ + public class DataModel : ViewModelBase + { + + private string _sourcePath; + + public string SourcePath + { + get => _sourcePath; + set + { + _sourcePath = value; + NotifyPropertyChanged(); + } + } + + private string _destinationPath; + public string DestinationPath + { + get => _destinationPath; + set + { + _destinationPath = value; + NotifyPropertyChanged(); + } + } + + } +} diff --git a/imagecatalog/MainForm.Designer.cs b/imagecatalog/MainForm.Designer.cs index ee6590c..a98ad26 100644 --- a/imagecatalog/MainForm.Designer.cs +++ b/imagecatalog/MainForm.Designer.cs @@ -37,1633 +37,1804 @@ namespace ImageCatalog [DebuggerStepThrough()] private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.ProgressBar1 = new System.Windows.Forms.ProgressBar(); - this.CheckBox22 = new System.Windows.Forms.CheckBox(); - this.Label43 = new System.Windows.Forms.Label(); - this.TabControl1 = new System.Windows.Forms.TabControl(); - this.TabPage5 = new System.Windows.Forms.TabPage(); - this.GroupBox11 = new System.Windows.Forms.GroupBox(); - this.Panel3 = new System.Windows.Forms.Panel(); - this.rdbNuovoMetodo = new System.Windows.Forms.RadioButton(); - this.rdbVecchioMetodo = new System.Windows.Forms.RadioButton(); - this.Label8 = new System.Windows.Forms.Label(); - this.TextBox8 = new System.Windows.Forms.TextBox(); - this.Label7 = new System.Windows.Forms.Label(); - this.TextBox7 = new System.Windows.Forms.TextBox(); - this.GroupBox3 = new System.Windows.Forms.GroupBox(); - this.chkAggiornaSottodirectory = new System.Windows.Forms.CheckBox(); - this._Button3 = new System.Windows.Forms.Button(); - this._Button2 = new System.Windows.Forms.Button(); - this.Label1 = new System.Windows.Forms.Label(); - this.Label2 = new System.Windows.Forms.Label(); - this.txtSorgente = new System.Windows.Forms.TextBox(); - this.txtDestinazione = new System.Windows.Forms.TextBox(); - this.GroupBox8 = new System.Windows.Forms.GroupBox(); - this.rdbNumFiles = new System.Windows.Forms.RadioButton(); - this.rdbNumProgressiva = new System.Windows.Forms.RadioButton(); - this.txtCifreContatore = new System.Windows.Forms.TextBox(); - this.Label34 = new System.Windows.Forms.Label(); - this.txtSuffissoCartelle = new System.Windows.Forms.TextBox(); - this.Label33 = new System.Windows.Forms.Label(); - this.Label31 = new System.Windows.Forms.Label(); - this.chkCreaSottocartelle = new System.Windows.Forms.CheckBox(); - this.txtFilePerCartella = new System.Windows.Forms.TextBox(); - this.Label32 = new System.Windows.Forms.Label(); - this.GroupBox7 = new System.Windows.Forms.GroupBox(); - this.chkSovrascriviFile = new System.Windows.Forms.CheckBox(); - this.chkRotazioneAutomatica = new System.Windows.Forms.CheckBox(); - this.chkForzaJpg = new System.Windows.Forms.CheckBox(); - this.TabPage3 = new System.Windows.Forms.TabPage(); - this.GroupBox10 = new System.Windows.Forms.GroupBox(); - this.Label42 = new System.Windows.Forms.Label(); - this.Label41 = new System.Windows.Forms.Label(); - this.TextBox31 = new System.Windows.Forms.TextBox(); - this.TextBox30 = new System.Windows.Forms.TextBox(); - this.GroupBox9 = new System.Windows.Forms.GroupBox(); - this.CheckBox17 = new System.Windows.Forms.CheckBox(); - this.CheckBox16 = new System.Windows.Forms.CheckBox(); - this.GroupBox5 = new System.Windows.Forms.GroupBox(); - this.TextBox34 = new System.Windows.Forms.TextBox(); - this._Button8 = new System.Windows.Forms.Button(); - this.Label36 = new System.Windows.Forms.Label(); - this.TextBox25 = new System.Windows.Forms.TextBox(); - this.Label35 = new System.Windows.Forms.Label(); - this.ComboBox3 = new System.Windows.Forms.ComboBox(); - this.TextBox11 = new System.Windows.Forms.TextBox(); - this.Label12 = new System.Windows.Forms.Label(); - this.Label11 = new System.Windows.Forms.Label(); - this.CheckBox3 = new System.Windows.Forms.CheckBox(); - this.GroupBox4 = new System.Windows.Forms.GroupBox(); - this.Label40 = new System.Windows.Forms.Label(); - this.TextBox29 = new System.Windows.Forms.TextBox(); - this.TextBox18 = new System.Windows.Forms.TextBox(); - this.Label26 = new System.Windows.Forms.Label(); - this.DateTimePicker1 = new System.Windows.Forms.DateTimePicker(); - this.CheckBox8 = new System.Windows.Forms.CheckBox(); - this.TextBox9 = new System.Windows.Forms.TextBox(); - this.CheckBox7 = new System.Windows.Forms.CheckBox(); - this.Label4 = new System.Windows.Forms.Label(); - this.TextBox4 = new System.Windows.Forms.TextBox(); - this.Label9 = new System.Windows.Forms.Label(); - this.Label13 = new System.Windows.Forms.Label(); - this.ComboBox1 = new System.Windows.Forms.ComboBox(); - this.ComboBox2 = new System.Windows.Forms.ComboBox(); - this.Label14 = new System.Windows.Forms.Label(); - this.TextBox12 = new System.Windows.Forms.TextBox(); - this.Label15 = new System.Windows.Forms.Label(); - this.TabPage2 = new System.Windows.Forms.TabPage(); - this.GroupBox2 = new System.Windows.Forms.GroupBox(); - this.Label45 = new System.Windows.Forms.Label(); - this.TextBox32 = new System.Windows.Forms.TextBox(); - this.TextBox26 = new System.Windows.Forms.TextBox(); - this.Label37 = new System.Windows.Forms.Label(); - this.Label38 = new System.Windows.Forms.Label(); - this.TextBox27 = new System.Windows.Forms.TextBox(); - this.Label39 = new System.Windows.Forms.Label(); - this.TextBox28 = new System.Windows.Forms.TextBox(); - this.CheckBox15 = new System.Windows.Forms.CheckBox(); - this.TabPage1 = new System.Windows.Forms.TabPage(); - this.Panel1 = new System.Windows.Forms.Panel(); - this._CheckBox18 = new System.Windows.Forms.CheckBox(); - this._CheckBox4 = new System.Windows.Forms.CheckBox(); - this._CheckBox12 = new System.Windows.Forms.CheckBox(); - this.GroupBox1 = new System.Windows.Forms.GroupBox(); - this.Label46 = new System.Windows.Forms.Label(); - this.TextBox33 = new System.Windows.Forms.TextBox(); - this.Panel2 = new System.Windows.Forms.Panel(); - this.RadioButton3 = new System.Windows.Forms.RadioButton(); - this.RadioButton7 = new System.Windows.Forms.RadioButton(); - this.RadioButton4 = new System.Windows.Forms.RadioButton(); - this.RadioButton6 = new System.Windows.Forms.RadioButton(); - this.RadioButton5 = new System.Windows.Forms.RadioButton(); - this.Label5 = new System.Windows.Forms.Label(); - this.TextBox5 = new System.Windows.Forms.TextBox(); - this.Label6 = new System.Windows.Forms.Label(); - this.TextBox6 = new System.Windows.Forms.TextBox(); - this.Label3 = new System.Windows.Forms.Label(); - this.TextBox3 = new System.Windows.Forms.TextBox(); - this.CheckBox1 = new System.Windows.Forms.CheckBox(); - this.TabPage4 = new System.Windows.Forms.TabPage(); - this.GroupBox6 = new System.Windows.Forms.GroupBox(); - this.PictureBox2 = new System.Windows.Forms.PictureBox(); - this._PictureBox1 = new System.Windows.Forms.PictureBox(); - this.ComboBox5 = new System.Windows.Forms.ComboBox(); - this.ComboBox4 = new System.Windows.Forms.ComboBox(); - this.TextBox19 = new System.Windows.Forms.TextBox(); - this.Label28 = new System.Windows.Forms.Label(); - this.CheckBox5 = new System.Windows.Forms.CheckBox(); - this.TextBox15 = new System.Windows.Forms.TextBox(); - this.TextBox14 = new System.Windows.Forms.TextBox(); - this.Label25 = new System.Windows.Forms.Label(); - this.TextBox16 = new System.Windows.Forms.TextBox(); - this.Label24 = new System.Windows.Forms.Label(); - this.Label22 = new System.Windows.Forms.Label(); - this.Label23 = new System.Windows.Forms.Label(); - this._Button4 = new System.Windows.Forms.Button(); - this.TextBox10 = new System.Windows.Forms.TextBox(); - this.Label29 = new System.Windows.Forms.Label(); - this.Label30 = new System.Windows.Forms.Label(); - this.PictureBox3 = new System.Windows.Forms.PictureBox(); - this._Label27 = new System.Windows.Forms.Label(); - this._Button7 = new System.Windows.Forms.Button(); - this._Button5 = new System.Windows.Forms.Button(); - this.Label20 = new System.Windows.Forms.Label(); - this.Label19 = new System.Windows.Forms.Label(); - this.Label18 = new System.Windows.Forms.Label(); - this.lblFotoTotaliNum = new System.Windows.Forms.Label(); - this.Label10 = new System.Windows.Forms.Label(); - this._Button6 = new System.Windows.Forms.Button(); - this._btnCreaCatalogoAsync = new System.Windows.Forms.Button(); - this.timer1 = new System.Windows.Forms.Timer(this.components); - this.TabControl1.SuspendLayout(); - this.TabPage5.SuspendLayout(); - this.GroupBox11.SuspendLayout(); - this.Panel3.SuspendLayout(); - this.GroupBox3.SuspendLayout(); - this.GroupBox8.SuspendLayout(); - this.GroupBox7.SuspendLayout(); - this.TabPage3.SuspendLayout(); - this.GroupBox10.SuspendLayout(); - this.GroupBox9.SuspendLayout(); - this.GroupBox5.SuspendLayout(); - this.GroupBox4.SuspendLayout(); - this.TabPage2.SuspendLayout(); - this.GroupBox2.SuspendLayout(); - this.TabPage1.SuspendLayout(); - this.Panel1.SuspendLayout(); - this.GroupBox1.SuspendLayout(); - this.Panel2.SuspendLayout(); - this.TabPage4.SuspendLayout(); - this.GroupBox6.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this._PictureBox1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).BeginInit(); - this.SuspendLayout(); + components = new System.ComponentModel.Container(); + ProgressBar1 = new ProgressBar(); + CheckBox22 = new CheckBox(); + Label43 = new Label(); + TabControl1 = new TabControl(); + TabPage5 = new TabPage(); + GroupBox11 = new GroupBox(); + 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(); + _Button2 = new Button(); + Label1 = new Label(); + Label2 = new Label(); + txtSorgente = new TextBox(); + bindingSource1 = new BindingSource(components); + dataModelBindingSource = new BindingSource(components); + txtDestinazione = new TextBox(); + GroupBox8 = new GroupBox(); + rdbNumFiles = new RadioButton(); + rdbNumProgressiva = new RadioButton(); + txtCifreContatore = new TextBox(); + Label34 = new Label(); + txtSuffissoCartelle = new TextBox(); + Label33 = new Label(); + Label31 = new Label(); + chkCreaSottocartelle = new CheckBox(); + txtFilePerCartella = new TextBox(); + Label32 = new Label(); + GroupBox7 = new GroupBox(); + chkSovrascriviFile = new CheckBox(); + chkRotazioneAutomatica = new CheckBox(); + chkForzaJpg = new CheckBox(); + TabPage3 = new TabPage(); + GroupBox10 = new GroupBox(); + Label42 = new Label(); + Label41 = new Label(); + TextBox31 = new TextBox(); + TextBox30 = new TextBox(); + GroupBox9 = new GroupBox(); + CheckBox17 = new CheckBox(); + CheckBox16 = new CheckBox(); + GroupBox5 = new GroupBox(); + TextBox34 = new TextBox(); + _Button8 = new Button(); + Label36 = new Label(); + TextBox25 = new TextBox(); + Label35 = new Label(); + ComboBox3 = new ComboBox(); + TextBox11 = new TextBox(); + Label12 = new Label(); + Label11 = new Label(); + CheckBox3 = new CheckBox(); + GroupBox4 = new GroupBox(); + Label40 = new Label(); + TextBox29 = new TextBox(); + TextBox18 = new TextBox(); + Label26 = new Label(); + DateTimePicker1 = new DateTimePicker(); + CheckBox8 = new CheckBox(); + TextBox9 = new TextBox(); + CheckBox7 = new CheckBox(); + Label4 = new Label(); + TextBox4 = new TextBox(); + Label9 = new Label(); + Label13 = new Label(); + ComboBox1 = new ComboBox(); + ComboBox2 = new ComboBox(); + Label14 = new Label(); + TextBox12 = new TextBox(); + Label15 = new Label(); + TabPage2 = new TabPage(); + GroupBox2 = new GroupBox(); + Label45 = new Label(); + TextBox32 = new TextBox(); + TextBox26 = new TextBox(); + Label37 = new Label(); + Label38 = new Label(); + TextBox27 = new TextBox(); + Label39 = new Label(); + TextBox28 = new TextBox(); + CheckBox15 = new CheckBox(); + TabPage1 = new TabPage(); + Panel1 = new Panel(); + _CheckBox18 = new CheckBox(); + _CheckBox4 = new CheckBox(); + _CheckBox12 = new CheckBox(); + GroupBox1 = new GroupBox(); + Label46 = new Label(); + TextBox33 = new TextBox(); + Panel2 = new Panel(); + RadioButton3 = new RadioButton(); + RadioButton7 = new RadioButton(); + RadioButton4 = new RadioButton(); + RadioButton6 = new RadioButton(); + RadioButton5 = new RadioButton(); + Label5 = new Label(); + TextBox5 = new TextBox(); + Label6 = new Label(); + TextBox6 = new TextBox(); + Label3 = new Label(); + TextBox3 = new TextBox(); + CheckBox1 = new CheckBox(); + TabPage4 = new TabPage(); + GroupBox6 = new GroupBox(); + PictureBox2 = new PictureBox(); + _PictureBox1 = new PictureBox(); + ComboBox5 = new ComboBox(); + ComboBox4 = new ComboBox(); + TextBox19 = new TextBox(); + Label28 = new Label(); + CheckBox5 = new CheckBox(); + TextBox15 = new TextBox(); + TextBox14 = new TextBox(); + Label25 = new Label(); + TextBox16 = new TextBox(); + Label24 = new Label(); + Label22 = new Label(); + Label23 = new Label(); + _Button4 = new Button(); + TextBox10 = new TextBox(); + Label29 = new Label(); + Label30 = new Label(); + PictureBox3 = new PictureBox(); + _Label27 = new Label(); + _Button7 = new Button(); + _Button5 = new Button(); + Label20 = new Label(); + Label19 = new Label(); + Label18 = new Label(); + lblFotoTotaliNum = new Label(); + Label10 = new Label(); + _Button6 = new Button(); + _btnCreaCatalogoAsync = new Button(); + timer1 = new System.Windows.Forms.Timer(components); + dataModelBindingSource1 = new BindingSource(components); + TabControl1.SuspendLayout(); + TabPage5.SuspendLayout(); + GroupBox11.SuspendLayout(); + Panel3.SuspendLayout(); + GroupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)bindingSource1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)dataModelBindingSource).BeginInit(); + GroupBox8.SuspendLayout(); + GroupBox7.SuspendLayout(); + TabPage3.SuspendLayout(); + GroupBox10.SuspendLayout(); + GroupBox9.SuspendLayout(); + GroupBox5.SuspendLayout(); + GroupBox4.SuspendLayout(); + TabPage2.SuspendLayout(); + GroupBox2.SuspendLayout(); + TabPage1.SuspendLayout(); + Panel1.SuspendLayout(); + GroupBox1.SuspendLayout(); + Panel2.SuspendLayout(); + TabPage4.SuspendLayout(); + GroupBox6.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)PictureBox2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)_PictureBox1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)PictureBox3).BeginInit(); + ((System.ComponentModel.ISupportInitialize)dataModelBindingSource1).BeginInit(); + SuspendLayout(); // // ProgressBar1 // - this.ProgressBar1.Location = new System.Drawing.Point(539, 243); - this.ProgressBar1.Name = "ProgressBar1"; - this.ProgressBar1.Size = new System.Drawing.Size(192, 23); - this.ProgressBar1.TabIndex = 67; + ProgressBar1.Location = new Point(719, 374); + ProgressBar1.Margin = new Padding(4, 5, 4, 5); + ProgressBar1.Name = "ProgressBar1"; + ProgressBar1.Size = new Size(256, 35); + ProgressBar1.TabIndex = 67; // // CheckBox22 // - this.CheckBox22.AutoSize = true; - this.CheckBox22.Location = new System.Drawing.Point(539, 358); - this.CheckBox22.Name = "CheckBox22"; - this.CheckBox22.Size = new System.Drawing.Size(104, 17); - this.CheckBox22.TabIndex = 65; - this.CheckBox22.Text = "Arresta il sistema"; - this.CheckBox22.UseVisualStyleBackColor = true; + CheckBox22.AutoSize = true; + CheckBox22.Location = new Point(719, 551); + CheckBox22.Margin = new Padding(4, 5, 4, 5); + CheckBox22.Name = "CheckBox22"; + CheckBox22.Size = new Size(144, 24); + CheckBox22.TabIndex = 65; + CheckBox22.Text = "Arresta il sistema"; + CheckBox22.UseVisualStyleBackColor = true; // // Label43 // - this.Label43.AutoSize = true; - this.Label43.Location = new System.Drawing.Point(536, 342); - this.Label43.Name = "Label43"; - this.Label43.Size = new System.Drawing.Size(25, 13); - this.Label43.TabIndex = 64; - this.Label43.Text = "000"; - this.Label43.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + Label43.AutoSize = true; + Label43.Location = new Point(715, 526); + Label43.Margin = new Padding(4, 0, 4, 0); + Label43.Name = "Label43"; + Label43.Size = new Size(33, 20); + Label43.TabIndex = 64; + Label43.Text = "000"; + Label43.TextAlign = ContentAlignment.MiddleLeft; // // TabControl1 // - this.TabControl1.Controls.Add(this.TabPage5); - this.TabControl1.Controls.Add(this.TabPage3); - this.TabControl1.Controls.Add(this.TabPage2); - this.TabControl1.Controls.Add(this.TabPage1); - this.TabControl1.Controls.Add(this.TabPage4); - this.TabControl1.Location = new System.Drawing.Point(12, 12); - this.TabControl1.Name = "TabControl1"; - this.TabControl1.SelectedIndex = 0; - this.TabControl1.Size = new System.Drawing.Size(521, 377); - this.TabControl1.TabIndex = 63; + TabControl1.Controls.Add(TabPage5); + TabControl1.Controls.Add(TabPage3); + TabControl1.Controls.Add(TabPage2); + TabControl1.Controls.Add(TabPage1); + TabControl1.Controls.Add(TabPage4); + TabControl1.Location = new Point(16, 18); + TabControl1.Margin = new Padding(4, 5, 4, 5); + TabControl1.Name = "TabControl1"; + TabControl1.SelectedIndex = 0; + TabControl1.Size = new Size(695, 580); + TabControl1.TabIndex = 63; // // TabPage5 // - this.TabPage5.Controls.Add(this.GroupBox11); - this.TabPage5.Controls.Add(this.GroupBox3); - this.TabPage5.Controls.Add(this.GroupBox8); - this.TabPage5.Controls.Add(this.GroupBox7); - this.TabPage5.Location = new System.Drawing.Point(4, 22); - this.TabPage5.Name = "TabPage5"; - this.TabPage5.Padding = new System.Windows.Forms.Padding(3); - this.TabPage5.Size = new System.Drawing.Size(513, 351); - this.TabPage5.TabIndex = 4; - this.TabPage5.Text = "Generale"; - this.TabPage5.UseVisualStyleBackColor = true; + TabPage5.Controls.Add(GroupBox11); + TabPage5.Controls.Add(GroupBox3); + TabPage5.Controls.Add(GroupBox8); + TabPage5.Controls.Add(GroupBox7); + TabPage5.Location = new Point(4, 29); + TabPage5.Margin = new Padding(4, 5, 4, 5); + TabPage5.Name = "TabPage5"; + TabPage5.Padding = new Padding(4, 5, 4, 5); + TabPage5.Size = new Size(687, 547); + TabPage5.TabIndex = 4; + TabPage5.Text = "Generale"; + TabPage5.UseVisualStyleBackColor = true; // // GroupBox11 // - this.GroupBox11.Controls.Add(this.Panel3); - this.GroupBox11.Controls.Add(this.Label8); - this.GroupBox11.Controls.Add(this.TextBox8); - this.GroupBox11.Controls.Add(this.Label7); - this.GroupBox11.Controls.Add(this.TextBox7); - this.GroupBox11.Location = new System.Drawing.Point(7, 209); - this.GroupBox11.Name = "GroupBox11"; - this.GroupBox11.Size = new System.Drawing.Size(191, 132); - this.GroupBox11.TabIndex = 48; - this.GroupBox11.TabStop = false; - this.GroupBox11.Text = "Avanzate (ATTENZIONE)"; + GroupBox11.Controls.Add(Panel3); + GroupBox11.Controls.Add(Label8); + GroupBox11.Controls.Add(TextBox8); + GroupBox11.Controls.Add(Label7); + GroupBox11.Controls.Add(TextBox7); + GroupBox11.Location = new Point(9, 322); + GroupBox11.Margin = new Padding(4, 5, 4, 5); + GroupBox11.Name = "GroupBox11"; + GroupBox11.Padding = new Padding(4, 5, 4, 5); + GroupBox11.Size = new Size(255, 203); + GroupBox11.TabIndex = 48; + GroupBox11.TabStop = false; + GroupBox11.Text = "Avanzate (ATTENZIONE)"; // // Panel3 // - this.Panel3.Controls.Add(this.rdbNuovoMetodo); - this.Panel3.Controls.Add(this.rdbVecchioMetodo); - this.Panel3.Location = new System.Drawing.Point(7, 73); - this.Panel3.Name = "Panel3"; - this.Panel3.Size = new System.Drawing.Size(178, 53); - this.Panel3.TabIndex = 4; + Panel3.Controls.Add(rdbNuovoMetodo); + Panel3.Controls.Add(rdbVecchioMetodo); + Panel3.Location = new Point(9, 112); + Panel3.Margin = new Padding(4, 5, 4, 5); + Panel3.Name = "Panel3"; + Panel3.Size = new Size(237, 82); + Panel3.TabIndex = 4; // // rdbNuovoMetodo // - this.rdbNuovoMetodo.AutoSize = true; - this.rdbNuovoMetodo.Checked = true; - this.rdbNuovoMetodo.Location = new System.Drawing.Point(8, 28); - this.rdbNuovoMetodo.Name = "rdbNuovoMetodo"; - this.rdbNuovoMetodo.Size = new System.Drawing.Size(65, 17); - this.rdbNuovoMetodo.TabIndex = 1; - this.rdbNuovoMetodo.TabStop = true; - this.rdbNuovoMetodo.Text = "Parallelo"; - this.rdbNuovoMetodo.UseVisualStyleBackColor = true; + rdbNuovoMetodo.AutoSize = true; + rdbNuovoMetodo.Checked = true; + rdbNuovoMetodo.Location = new Point(11, 43); + rdbNuovoMetodo.Margin = new Padding(4, 5, 4, 5); + rdbNuovoMetodo.Name = "rdbNuovoMetodo"; + rdbNuovoMetodo.Size = new Size(87, 24); + rdbNuovoMetodo.TabIndex = 1; + rdbNuovoMetodo.TabStop = true; + rdbNuovoMetodo.Text = "Parallelo"; + rdbNuovoMetodo.UseVisualStyleBackColor = true; // // rdbVecchioMetodo // - this.rdbVecchioMetodo.AutoSize = true; - this.rdbVecchioMetodo.Location = new System.Drawing.Point(8, 4); - this.rdbVecchioMetodo.Name = "rdbVecchioMetodo"; - this.rdbVecchioMetodo.Size = new System.Drawing.Size(60, 17); - this.rdbVecchioMetodo.TabIndex = 0; - this.rdbVecchioMetodo.Text = "Lineare"; - this.rdbVecchioMetodo.UseVisualStyleBackColor = true; + rdbVecchioMetodo.AutoSize = true; + rdbVecchioMetodo.Location = new Point(11, 6); + rdbVecchioMetodo.Margin = new Padding(4, 5, 4, 5); + rdbVecchioMetodo.Name = "rdbVecchioMetodo"; + rdbVecchioMetodo.Size = new Size(78, 24); + rdbVecchioMetodo.TabIndex = 0; + rdbVecchioMetodo.Text = "Lineare"; + rdbVecchioMetodo.UseVisualStyleBackColor = true; // // Label8 // - this.Label8.AutoSize = true; - this.Label8.Location = new System.Drawing.Point(64, 26); - this.Label8.Name = "Label8"; - this.Label8.Size = new System.Drawing.Size(111, 13); - this.Label8.TabIndex = 3; - this.Label8.Text = "Chunk Size (0 = MAX)"; + Label8.AutoSize = true; + Label8.Location = new Point(85, 40); + Label8.Margin = new Padding(4, 0, 4, 0); + Label8.Name = "Label8"; + Label8.Size = new Size(152, 20); + Label8.TabIndex = 3; + Label8.Text = "Chunk Size (0 = MAX)"; // // TextBox8 // - this.TextBox8.Location = new System.Drawing.Point(7, 20); - this.TextBox8.Name = "TextBox8"; - this.TextBox8.Size = new System.Drawing.Size(47, 20); - this.TextBox8.TabIndex = 2; - this.TextBox8.Text = "0"; + TextBox8.Location = new Point(9, 31); + TextBox8.Margin = new Padding(4, 5, 4, 5); + TextBox8.Name = "TextBox8"; + TextBox8.Size = new Size(61, 27); + TextBox8.TabIndex = 2; + TextBox8.Text = "0"; // // Label7 // - this.Label7.AutoSize = true; - this.Label7.Location = new System.Drawing.Point(61, 48); - this.Label7.Name = "Label7"; - this.Label7.Size = new System.Drawing.Size(108, 13); - this.Label7.TabIndex = 1; - this.Label7.Text = "Threads (0 = CPU *2)"; + Label7.AutoSize = true; + Label7.Location = new Point(81, 74); + Label7.Margin = new Padding(4, 0, 4, 0); + Label7.Name = "Label7"; + Label7.Size = new Size(146, 20); + Label7.TabIndex = 1; + Label7.Text = "Threads (0 = CPU *2)"; // // TextBox7 // - this.TextBox7.Location = new System.Drawing.Point(7, 46); - this.TextBox7.Name = "TextBox7"; - this.TextBox7.Size = new System.Drawing.Size(47, 20); - this.TextBox7.TabIndex = 0; - this.TextBox7.Text = "0"; + TextBox7.Location = new Point(9, 71); + TextBox7.Margin = new Padding(4, 5, 4, 5); + TextBox7.Name = "TextBox7"; + TextBox7.Size = new Size(61, 27); + TextBox7.TabIndex = 0; + TextBox7.Text = "0"; // // GroupBox3 // - this.GroupBox3.Controls.Add(this.chkAggiornaSottodirectory); - this.GroupBox3.Controls.Add(this._Button3); - this.GroupBox3.Controls.Add(this._Button2); - this.GroupBox3.Controls.Add(this.Label1); - this.GroupBox3.Controls.Add(this.Label2); - this.GroupBox3.Controls.Add(this.txtSorgente); - this.GroupBox3.Controls.Add(this.txtDestinazione); - this.GroupBox3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.GroupBox3.Location = new System.Drawing.Point(6, 6); - this.GroupBox3.Name = "GroupBox3"; - this.GroupBox3.Size = new System.Drawing.Size(496, 101); - this.GroupBox3.TabIndex = 35; - this.GroupBox3.TabStop = false; - this.GroupBox3.Text = "Directory"; + GroupBox3.Controls.Add(chkAggiornaSottodirectory); + GroupBox3.Controls.Add(_Button3); + GroupBox3.Controls.Add(_Button2); + GroupBox3.Controls.Add(Label1); + GroupBox3.Controls.Add(Label2); + GroupBox3.Controls.Add(txtSorgente); + GroupBox3.Controls.Add(txtDestinazione); + GroupBox3.ForeColor = Color.FromArgb(0, 0, 192); + GroupBox3.Location = new Point(8, 9); + GroupBox3.Margin = new Padding(4, 5, 4, 5); + GroupBox3.Name = "GroupBox3"; + GroupBox3.Padding = new Padding(4, 5, 4, 5); + GroupBox3.Size = new Size(661, 155); + GroupBox3.TabIndex = 35; + GroupBox3.TabStop = false; + GroupBox3.Text = "Directory"; // // chkAggiornaSottodirectory // - this.chkAggiornaSottodirectory.ForeColor = System.Drawing.Color.Black; - this.chkAggiornaSottodirectory.Location = new System.Drawing.Point(80, 64); - this.chkAggiornaSottodirectory.Name = "chkAggiornaSottodirectory"; - this.chkAggiornaSottodirectory.Size = new System.Drawing.Size(152, 24); - this.chkAggiornaSottodirectory.TabIndex = 25; - this.chkAggiornaSottodirectory.Text = "aggiorna le sottodirectory"; + chkAggiornaSottodirectory.ForeColor = Color.Black; + chkAggiornaSottodirectory.Location = new Point(107, 98); + chkAggiornaSottodirectory.Margin = new Padding(4, 5, 4, 5); + chkAggiornaSottodirectory.Name = "chkAggiornaSottodirectory"; + chkAggiornaSottodirectory.Size = new Size(203, 37); + chkAggiornaSottodirectory.TabIndex = 25; + chkAggiornaSottodirectory.Text = "aggiorna le sottodirectory"; // // _Button3 // - this._Button3.Location = new System.Drawing.Point(462, 40); - this._Button3.Name = "_Button3"; - this._Button3.Size = new System.Drawing.Size(24, 20); - this._Button3.TabIndex = 6; - this._Button3.Text = "..."; - this._Button3.Click += new System.EventHandler(this.Button3_Click); + _Button3.Location = new Point(616, 62); + _Button3.Margin = new Padding(4, 5, 4, 5); + _Button3.Name = "_Button3"; + _Button3.Size = new Size(32, 31); + _Button3.TabIndex = 6; + _Button3.Text = "..."; + _Button3.Click += Button3_Click; // // _Button2 // - this._Button2.Location = new System.Drawing.Point(462, 16); - this._Button2.Name = "_Button2"; - this._Button2.Size = new System.Drawing.Size(24, 20); - this._Button2.TabIndex = 5; - this._Button2.Text = "..."; - this._Button2.Click += new System.EventHandler(this.Button2_Click); + _Button2.Location = new Point(616, 25); + _Button2.Margin = new Padding(4, 5, 4, 5); + _Button2.Name = "_Button2"; + _Button2.Size = new Size(32, 31); + _Button2.TabIndex = 5; + _Button2.Text = "..."; + _Button2.Click += Button2_Click; // // Label1 // - this.Label1.AutoSize = true; - this.Label1.ForeColor = System.Drawing.Color.Black; - this.Label1.Location = new System.Drawing.Point(6, 19); - this.Label1.Name = "Label1"; - this.Label1.Size = new System.Drawing.Size(50, 13); - this.Label1.TabIndex = 3; - this.Label1.Text = "Sorgente"; + Label1.AutoSize = true; + Label1.ForeColor = Color.Black; + Label1.Location = new Point(8, 29); + Label1.Margin = new Padding(4, 0, 4, 0); + Label1.Name = "Label1"; + Label1.Size = new Size(69, 20); + Label1.TabIndex = 3; + Label1.Text = "Sorgente"; // // Label2 // - this.Label2.AutoSize = true; - this.Label2.ForeColor = System.Drawing.Color.Black; - this.Label2.Location = new System.Drawing.Point(6, 43); - this.Label2.Name = "Label2"; - this.Label2.Size = new System.Drawing.Size(68, 13); - this.Label2.TabIndex = 4; - this.Label2.Text = "Destinazione"; + Label2.AutoSize = true; + Label2.ForeColor = Color.Black; + Label2.Location = new Point(8, 66); + Label2.Margin = new Padding(4, 0, 4, 0); + Label2.Name = "Label2"; + Label2.Size = new Size(95, 20); + Label2.TabIndex = 4; + Label2.Text = "Destinazione"; // // txtSorgente // - this.txtSorgente.Location = new System.Drawing.Point(80, 16); - this.txtSorgente.Name = "txtSorgente"; - this.txtSorgente.Size = new System.Drawing.Size(376, 20); - this.txtSorgente.TabIndex = 0; - this.txtSorgente.Text = "TextBox1"; + txtSorgente.DataBindings.Add(new Binding("Text", bindingSource1, "SourcePath", true, DataSourceUpdateMode.OnPropertyChanged)); + txtSorgente.Location = new Point(107, 25); + txtSorgente.Margin = new Padding(4, 5, 4, 5); + txtSorgente.Name = "txtSorgente"; + txtSorgente.Size = new Size(500, 27); + txtSorgente.TabIndex = 0; + txtSorgente.Text = "TextBox1"; + // + // bindingSource1 + // + bindingSource1.DataSource = dataModelBindingSource; + // + // dataModelBindingSource + // + dataModelBindingSource.DataSource = typeof(ImageCatalog_2.DataModel); // // txtDestinazione // - this.txtDestinazione.Location = new System.Drawing.Point(80, 40); - this.txtDestinazione.Name = "txtDestinazione"; - this.txtDestinazione.Size = new System.Drawing.Size(376, 20); - this.txtDestinazione.TabIndex = 1; - this.txtDestinazione.Text = "TextBox2"; + txtDestinazione.DataBindings.Add(new Binding("Text", bindingSource1, "DestinationPath", true, DataSourceUpdateMode.OnPropertyChanged)); + txtDestinazione.Location = new Point(107, 62); + txtDestinazione.Margin = new Padding(4, 5, 4, 5); + txtDestinazione.Name = "txtDestinazione"; + txtDestinazione.Size = new Size(500, 27); + txtDestinazione.TabIndex = 1; + txtDestinazione.Text = "TextBox2"; // // GroupBox8 // - this.GroupBox8.Controls.Add(this.rdbNumFiles); - this.GroupBox8.Controls.Add(this.rdbNumProgressiva); - this.GroupBox8.Controls.Add(this.txtCifreContatore); - this.GroupBox8.Controls.Add(this.Label34); - this.GroupBox8.Controls.Add(this.txtSuffissoCartelle); - this.GroupBox8.Controls.Add(this.Label33); - this.GroupBox8.Controls.Add(this.Label31); - this.GroupBox8.Controls.Add(this.chkCreaSottocartelle); - this.GroupBox8.Controls.Add(this.txtFilePerCartella); - this.GroupBox8.Controls.Add(this.Label32); - this.GroupBox8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.GroupBox8.Location = new System.Drawing.Point(204, 113); - this.GroupBox8.Name = "GroupBox8"; - this.GroupBox8.Size = new System.Drawing.Size(192, 152); - this.GroupBox8.TabIndex = 47; - this.GroupBox8.TabStop = false; - this.GroupBox8.Text = "Sottocartelle"; + GroupBox8.Controls.Add(rdbNumFiles); + GroupBox8.Controls.Add(rdbNumProgressiva); + GroupBox8.Controls.Add(txtCifreContatore); + GroupBox8.Controls.Add(Label34); + GroupBox8.Controls.Add(txtSuffissoCartelle); + GroupBox8.Controls.Add(Label33); + GroupBox8.Controls.Add(Label31); + GroupBox8.Controls.Add(chkCreaSottocartelle); + GroupBox8.Controls.Add(txtFilePerCartella); + GroupBox8.Controls.Add(Label32); + GroupBox8.ForeColor = Color.FromArgb(0, 0, 192); + GroupBox8.Location = new Point(272, 174); + GroupBox8.Margin = new Padding(4, 5, 4, 5); + GroupBox8.Name = "GroupBox8"; + GroupBox8.Padding = new Padding(4, 5, 4, 5); + GroupBox8.Size = new Size(256, 234); + GroupBox8.TabIndex = 47; + GroupBox8.TabStop = false; + GroupBox8.Text = "Sottocartelle"; // // rdbNumFiles // - this.rdbNumFiles.ForeColor = System.Drawing.Color.Black; - this.rdbNumFiles.Location = new System.Drawing.Point(32, 128); - this.rdbNumFiles.Name = "rdbNumFiles"; - this.rdbNumFiles.Size = new System.Drawing.Size(136, 16); - this.rdbNumFiles.TabIndex = 38; - this.rdbNumFiles.Text = "Numerazione files"; + rdbNumFiles.ForeColor = Color.Black; + rdbNumFiles.Location = new Point(43, 197); + rdbNumFiles.Margin = new Padding(4, 5, 4, 5); + rdbNumFiles.Name = "rdbNumFiles"; + rdbNumFiles.Size = new Size(181, 25); + rdbNumFiles.TabIndex = 38; + rdbNumFiles.Text = "Numerazione files"; // // rdbNumProgressiva // - this.rdbNumProgressiva.Checked = true; - this.rdbNumProgressiva.ForeColor = System.Drawing.Color.Black; - this.rdbNumProgressiva.Location = new System.Drawing.Point(32, 112); - this.rdbNumProgressiva.Name = "rdbNumProgressiva"; - this.rdbNumProgressiva.Size = new System.Drawing.Size(152, 16); - this.rdbNumProgressiva.TabIndex = 37; - this.rdbNumProgressiva.TabStop = true; - this.rdbNumProgressiva.Text = "Numerazione progressiva"; + rdbNumProgressiva.Checked = true; + rdbNumProgressiva.ForeColor = Color.Black; + rdbNumProgressiva.Location = new Point(43, 172); + rdbNumProgressiva.Margin = new Padding(4, 5, 4, 5); + rdbNumProgressiva.Name = "rdbNumProgressiva"; + rdbNumProgressiva.Size = new Size(203, 25); + rdbNumProgressiva.TabIndex = 37; + rdbNumProgressiva.TabStop = true; + rdbNumProgressiva.Text = "Numerazione progressiva"; // // txtCifreContatore // - this.txtCifreContatore.Location = new System.Drawing.Point(128, 88); - this.txtCifreContatore.Name = "txtCifreContatore"; - this.txtCifreContatore.Size = new System.Drawing.Size(56, 20); - this.txtCifreContatore.TabIndex = 34; - this.txtCifreContatore.Text = "4"; + txtCifreContatore.Location = new Point(171, 135); + txtCifreContatore.Margin = new Padding(4, 5, 4, 5); + txtCifreContatore.Name = "txtCifreContatore"; + txtCifreContatore.Size = new Size(73, 27); + txtCifreContatore.TabIndex = 34; + txtCifreContatore.Text = "4"; // // Label34 // - this.Label34.ForeColor = System.Drawing.Color.Black; - this.Label34.Location = new System.Drawing.Point(8, 88); - this.Label34.Name = "Label34"; - this.Label34.Size = new System.Drawing.Size(112, 16); - this.Label34.TabIndex = 33; - this.Label34.Text = "Num. cifre contatore"; - this.Label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + Label34.ForeColor = Color.Black; + Label34.Location = new Point(11, 135); + Label34.Margin = new Padding(4, 0, 4, 0); + Label34.Name = "Label34"; + Label34.Size = new Size(149, 25); + Label34.TabIndex = 33; + Label34.Text = "Num. cifre contatore"; + Label34.TextAlign = ContentAlignment.MiddleRight; // // txtSuffissoCartelle // - this.txtSuffissoCartelle.Location = new System.Drawing.Point(56, 64); - this.txtSuffissoCartelle.Name = "txtSuffissoCartelle"; - this.txtSuffissoCartelle.Size = new System.Drawing.Size(128, 20); - this.txtSuffissoCartelle.TabIndex = 32; - this.txtSuffissoCartelle.Text = "TextBox20"; + txtSuffissoCartelle.Location = new Point(75, 98); + txtSuffissoCartelle.Margin = new Padding(4, 5, 4, 5); + txtSuffissoCartelle.Name = "txtSuffissoCartelle"; + txtSuffissoCartelle.Size = new Size(169, 27); + txtSuffissoCartelle.TabIndex = 32; + txtSuffissoCartelle.Text = "TextBox20"; // // Label33 // - this.Label33.ForeColor = System.Drawing.Color.Black; - this.Label33.Location = new System.Drawing.Point(6, 67); - this.Label33.Name = "Label33"; - this.Label33.Size = new System.Drawing.Size(48, 16); - this.Label33.TabIndex = 31; - this.Label33.Text = "Suffisso"; + Label33.ForeColor = Color.Black; + Label33.Location = new Point(8, 103); + Label33.Margin = new Padding(4, 0, 4, 0); + Label33.Name = "Label33"; + Label33.Size = new Size(64, 25); + Label33.TabIndex = 31; + Label33.Text = "Suffisso"; // // Label31 // - this.Label31.ForeColor = System.Drawing.Color.Black; - this.Label31.Location = new System.Drawing.Point(24, 40); - this.Label31.Name = "Label31"; - this.Label31.Size = new System.Drawing.Size(32, 16); - this.Label31.TabIndex = 30; - this.Label31.Text = "ogni"; + Label31.ForeColor = Color.Black; + Label31.Location = new Point(32, 62); + Label31.Margin = new Padding(4, 0, 4, 0); + Label31.Name = "Label31"; + Label31.Size = new Size(43, 25); + Label31.TabIndex = 30; + Label31.Text = "ogni"; // // chkCreaSottocartelle // - this.chkCreaSottocartelle.ForeColor = System.Drawing.Color.Black; - this.chkCreaSottocartelle.Location = new System.Drawing.Point(56, 16); - this.chkCreaSottocartelle.Name = "chkCreaSottocartelle"; - this.chkCreaSottocartelle.Size = new System.Drawing.Size(112, 16); - this.chkCreaSottocartelle.TabIndex = 29; - this.chkCreaSottocartelle.Text = "crea sottocartelle"; + chkCreaSottocartelle.ForeColor = Color.Black; + chkCreaSottocartelle.Location = new Point(75, 25); + chkCreaSottocartelle.Margin = new Padding(4, 5, 4, 5); + chkCreaSottocartelle.Name = "chkCreaSottocartelle"; + chkCreaSottocartelle.Size = new Size(149, 25); + chkCreaSottocartelle.TabIndex = 29; + chkCreaSottocartelle.Text = "crea sottocartelle"; // // txtFilePerCartella // - this.txtFilePerCartella.Location = new System.Drawing.Point(56, 40); - this.txtFilePerCartella.Name = "txtFilePerCartella"; - this.txtFilePerCartella.Size = new System.Drawing.Size(64, 20); - this.txtFilePerCartella.TabIndex = 27; - this.txtFilePerCartella.Text = "99"; + txtFilePerCartella.Location = new Point(75, 62); + txtFilePerCartella.Margin = new Padding(4, 5, 4, 5); + txtFilePerCartella.Name = "txtFilePerCartella"; + txtFilePerCartella.Size = new Size(84, 27); + txtFilePerCartella.TabIndex = 27; + txtFilePerCartella.Text = "99"; // // Label32 // - this.Label32.ForeColor = System.Drawing.Color.Black; - this.Label32.Location = new System.Drawing.Point(128, 40); - this.Label32.Name = "Label32"; - this.Label32.Size = new System.Drawing.Size(24, 16); - this.Label32.TabIndex = 28; - this.Label32.Text = "file"; + Label32.ForeColor = Color.Black; + Label32.Location = new Point(171, 62); + Label32.Margin = new Padding(4, 0, 4, 0); + Label32.Name = "Label32"; + Label32.Size = new Size(32, 25); + Label32.TabIndex = 28; + Label32.Text = "file"; // // GroupBox7 // - this.GroupBox7.Controls.Add(this.chkSovrascriviFile); - this.GroupBox7.Controls.Add(this.chkRotazioneAutomatica); - this.GroupBox7.Controls.Add(this.chkForzaJpg); - this.GroupBox7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.GroupBox7.Location = new System.Drawing.Point(6, 113); - this.GroupBox7.Name = "GroupBox7"; - this.GroupBox7.Size = new System.Drawing.Size(192, 88); - this.GroupBox7.TabIndex = 45; - this.GroupBox7.TabStop = false; - this.GroupBox7.Text = "Generale"; + GroupBox7.Controls.Add(chkSovrascriviFile); + GroupBox7.Controls.Add(chkRotazioneAutomatica); + GroupBox7.Controls.Add(chkForzaJpg); + GroupBox7.ForeColor = Color.FromArgb(0, 0, 192); + GroupBox7.Location = new Point(8, 174); + GroupBox7.Margin = new Padding(4, 5, 4, 5); + GroupBox7.Name = "GroupBox7"; + GroupBox7.Padding = new Padding(4, 5, 4, 5); + GroupBox7.Size = new Size(256, 135); + GroupBox7.TabIndex = 45; + GroupBox7.TabStop = false; + GroupBox7.Text = "Generale"; // // chkSovrascriviFile // - this.chkSovrascriviFile.AutoSize = true; - this.chkSovrascriviFile.Location = new System.Drawing.Point(16, 61); - this.chkSovrascriviFile.Name = "chkSovrascriviFile"; - this.chkSovrascriviFile.Size = new System.Drawing.Size(94, 17); - this.chkSovrascriviFile.TabIndex = 2; - this.chkSovrascriviFile.Text = "Sovrascrivi file"; - this.chkSovrascriviFile.UseVisualStyleBackColor = true; + chkSovrascriviFile.AutoSize = true; + chkSovrascriviFile.Location = new Point(21, 94); + chkSovrascriviFile.Margin = new Padding(4, 5, 4, 5); + chkSovrascriviFile.Name = "chkSovrascriviFile"; + chkSovrascriviFile.Size = new Size(126, 24); + chkSovrascriviFile.TabIndex = 2; + chkSovrascriviFile.Text = "Sovrascrivi file"; + chkSovrascriviFile.UseVisualStyleBackColor = true; // // chkRotazioneAutomatica // - this.chkRotazioneAutomatica.ForeColor = System.Drawing.Color.Black; - this.chkRotazioneAutomatica.Location = new System.Drawing.Point(16, 39); - this.chkRotazioneAutomatica.Name = "chkRotazioneAutomatica"; - this.chkRotazioneAutomatica.Size = new System.Drawing.Size(136, 16); - this.chkRotazioneAutomatica.TabIndex = 1; - this.chkRotazioneAutomatica.Text = "Rotazione automatica"; + chkRotazioneAutomatica.ForeColor = Color.Black; + chkRotazioneAutomatica.Location = new Point(21, 60); + chkRotazioneAutomatica.Margin = new Padding(4, 5, 4, 5); + chkRotazioneAutomatica.Name = "chkRotazioneAutomatica"; + chkRotazioneAutomatica.Size = new Size(181, 25); + chkRotazioneAutomatica.TabIndex = 1; + chkRotazioneAutomatica.Text = "Rotazione automatica"; // // chkForzaJpg // - this.chkForzaJpg.Checked = true; - this.chkForzaJpg.CheckState = System.Windows.Forms.CheckState.Checked; - this.chkForzaJpg.ForeColor = System.Drawing.Color.Black; - this.chkForzaJpg.Location = new System.Drawing.Point(16, 18); - this.chkForzaJpg.Name = "chkForzaJpg"; - this.chkForzaJpg.Size = new System.Drawing.Size(80, 16); - this.chkForzaJpg.TabIndex = 0; - this.chkForzaJpg.Text = "Forza Jpg"; + chkForzaJpg.Checked = true; + chkForzaJpg.CheckState = CheckState.Checked; + chkForzaJpg.ForeColor = Color.Black; + chkForzaJpg.Location = new Point(21, 28); + chkForzaJpg.Margin = new Padding(4, 5, 4, 5); + chkForzaJpg.Name = "chkForzaJpg"; + chkForzaJpg.Size = new Size(107, 25); + chkForzaJpg.TabIndex = 0; + chkForzaJpg.Text = "Forza Jpg"; // // TabPage3 // - this.TabPage3.Controls.Add(this.GroupBox10); - this.TabPage3.Controls.Add(this.GroupBox9); - this.TabPage3.Controls.Add(this.GroupBox5); - this.TabPage3.Controls.Add(this.GroupBox4); - this.TabPage3.Location = new System.Drawing.Point(4, 22); - this.TabPage3.Name = "TabPage3"; - this.TabPage3.Padding = new System.Windows.Forms.Padding(3); - this.TabPage3.Size = new System.Drawing.Size(513, 351); - this.TabPage3.TabIndex = 2; - this.TabPage3.Text = "Testo"; - this.TabPage3.UseVisualStyleBackColor = true; + TabPage3.Controls.Add(GroupBox10); + TabPage3.Controls.Add(GroupBox9); + TabPage3.Controls.Add(GroupBox5); + TabPage3.Controls.Add(GroupBox4); + TabPage3.Location = new Point(4, 29); + TabPage3.Margin = new Padding(4, 5, 4, 5); + TabPage3.Name = "TabPage3"; + TabPage3.Padding = new Padding(4, 5, 4, 5); + TabPage3.Size = new Size(687, 547); + TabPage3.TabIndex = 2; + TabPage3.Text = "Testo"; + TabPage3.UseVisualStyleBackColor = true; // // GroupBox10 // - this.GroupBox10.Controls.Add(this.Label42); - this.GroupBox10.Controls.Add(this.Label41); - this.GroupBox10.Controls.Add(this.TextBox31); - this.GroupBox10.Controls.Add(this.TextBox30); - this.GroupBox10.Location = new System.Drawing.Point(316, 78); - this.GroupBox10.Name = "GroupBox10"; - this.GroupBox10.Size = new System.Drawing.Size(186, 73); - this.GroupBox10.TabIndex = 39; - this.GroupBox10.TabStop = false; - this.GroupBox10.Text = "Testo foto verticali"; + GroupBox10.Controls.Add(Label42); + GroupBox10.Controls.Add(Label41); + GroupBox10.Controls.Add(TextBox31); + GroupBox10.Controls.Add(TextBox30); + GroupBox10.Location = new Point(421, 120); + GroupBox10.Margin = new Padding(4, 5, 4, 5); + GroupBox10.Name = "GroupBox10"; + GroupBox10.Padding = new Padding(4, 5, 4, 5); + GroupBox10.Size = new Size(248, 112); + GroupBox10.TabIndex = 39; + GroupBox10.TabStop = false; + GroupBox10.Text = "Testo foto verticali"; // // Label42 // - this.Label42.AutoSize = true; - this.Label42.Location = new System.Drawing.Point(7, 46); - this.Label42.Name = "Label42"; - this.Label42.Size = new System.Drawing.Size(45, 13); - this.Label42.TabIndex = 3; - this.Label42.Text = "Margine"; + Label42.AutoSize = true; + Label42.Location = new Point(9, 71); + Label42.Margin = new Padding(4, 0, 4, 0); + Label42.Name = "Label42"; + Label42.Size = new Size(64, 20); + Label42.TabIndex = 3; + Label42.Text = "Margine"; // // Label41 // - this.Label41.AutoSize = true; - this.Label41.Location = new System.Drawing.Point(7, 25); - this.Label41.Name = "Label41"; - this.Label41.Size = new System.Drawing.Size(108, 13); - this.Label41.TabIndex = 2; - this.Label41.Text = "Dimensione Carattere"; + Label41.AutoSize = true; + Label41.Location = new Point(9, 38); + Label41.Margin = new Padding(4, 0, 4, 0); + Label41.Name = "Label41"; + Label41.Size = new Size(153, 20); + Label41.TabIndex = 2; + Label41.Text = "Dimensione Carattere"; // // TextBox31 // - this.TextBox31.Location = new System.Drawing.Point(131, 46); - this.TextBox31.Name = "TextBox31"; - this.TextBox31.Size = new System.Drawing.Size(39, 20); - this.TextBox31.TabIndex = 1; + TextBox31.Location = new Point(175, 71); + TextBox31.Margin = new Padding(4, 5, 4, 5); + TextBox31.Name = "TextBox31"; + TextBox31.Size = new Size(51, 27); + TextBox31.TabIndex = 1; // // TextBox30 // - this.TextBox30.Location = new System.Drawing.Point(131, 22); - this.TextBox30.Name = "TextBox30"; - this.TextBox30.Size = new System.Drawing.Size(39, 20); - this.TextBox30.TabIndex = 0; + TextBox30.Location = new Point(175, 34); + TextBox30.Margin = new Padding(4, 5, 4, 5); + TextBox30.Name = "TextBox30"; + TextBox30.Size = new Size(51, 27); + TextBox30.TabIndex = 0; // // GroupBox9 // - this.GroupBox9.Controls.Add(this.CheckBox17); - this.GroupBox9.Controls.Add(this.CheckBox16); - this.GroupBox9.Location = new System.Drawing.Point(316, 31); - this.GroupBox9.Name = "GroupBox9"; - this.GroupBox9.Size = new System.Drawing.Size(186, 45); - this.GroupBox9.TabIndex = 38; - this.GroupBox9.TabStop = false; - this.GroupBox9.Text = "Slide show"; + GroupBox9.Controls.Add(CheckBox17); + GroupBox9.Controls.Add(CheckBox16); + GroupBox9.Location = new Point(421, 48); + GroupBox9.Margin = new Padding(4, 5, 4, 5); + GroupBox9.Name = "GroupBox9"; + GroupBox9.Padding = new Padding(4, 5, 4, 5); + GroupBox9.Size = new Size(248, 69); + GroupBox9.TabIndex = 38; + GroupBox9.TabStop = false; + GroupBox9.Text = "Slide show"; // // CheckBox17 // - this.CheckBox17.AutoSize = true; - this.CheckBox17.Location = new System.Drawing.Point(96, 18); - this.CheckBox17.Name = "CheckBox17"; - this.CheckBox17.Size = new System.Drawing.Size(84, 17); - this.CheckBox17.TabIndex = 1; - this.CheckBox17.Text = "Numero foto"; - this.CheckBox17.UseVisualStyleBackColor = true; + CheckBox17.AutoSize = true; + CheckBox17.Location = new Point(128, 28); + CheckBox17.Margin = new Padding(4, 5, 4, 5); + CheckBox17.Name = "CheckBox17"; + CheckBox17.Size = new Size(117, 24); + CheckBox17.TabIndex = 1; + CheckBox17.Text = "Numero foto"; + CheckBox17.UseVisualStyleBackColor = true; // // CheckBox16 // - this.CheckBox16.AutoSize = true; - this.CheckBox16.Location = new System.Drawing.Point(6, 19); - this.CheckBox16.Name = "CheckBox16"; - this.CheckBox16.Size = new System.Drawing.Size(49, 17); - this.CheckBox16.TabIndex = 0; - this.CheckBox16.Text = "Data"; - this.CheckBox16.UseVisualStyleBackColor = true; + CheckBox16.AutoSize = true; + CheckBox16.Location = new Point(8, 29); + CheckBox16.Margin = new Padding(4, 5, 4, 5); + CheckBox16.Name = "CheckBox16"; + CheckBox16.Size = new Size(63, 24); + CheckBox16.TabIndex = 0; + CheckBox16.Text = "Data"; + CheckBox16.UseVisualStyleBackColor = true; // // GroupBox5 // - this.GroupBox5.Controls.Add(this.TextBox34); - this.GroupBox5.Controls.Add(this._Button8); - this.GroupBox5.Controls.Add(this.Label36); - this.GroupBox5.Controls.Add(this.TextBox25); - this.GroupBox5.Controls.Add(this.Label35); - this.GroupBox5.Controls.Add(this.ComboBox3); - this.GroupBox5.Controls.Add(this.TextBox11); - this.GroupBox5.Controls.Add(this.Label12); - this.GroupBox5.Controls.Add(this.Label11); - this.GroupBox5.Controls.Add(this.CheckBox3); - this.GroupBox5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.GroupBox5.Location = new System.Drawing.Point(6, 31); - this.GroupBox5.Name = "GroupBox5"; - this.GroupBox5.Size = new System.Drawing.Size(304, 120); - this.GroupBox5.TabIndex = 37; - this.GroupBox5.TabStop = false; - this.GroupBox5.Text = "Carattere"; + GroupBox5.Controls.Add(TextBox34); + GroupBox5.Controls.Add(_Button8); + GroupBox5.Controls.Add(Label36); + GroupBox5.Controls.Add(TextBox25); + GroupBox5.Controls.Add(Label35); + GroupBox5.Controls.Add(ComboBox3); + GroupBox5.Controls.Add(TextBox11); + GroupBox5.Controls.Add(Label12); + GroupBox5.Controls.Add(Label11); + GroupBox5.Controls.Add(CheckBox3); + GroupBox5.ForeColor = Color.FromArgb(0, 0, 192); + GroupBox5.Location = new Point(8, 48); + GroupBox5.Margin = new Padding(4, 5, 4, 5); + GroupBox5.Name = "GroupBox5"; + GroupBox5.Padding = new Padding(4, 5, 4, 5); + GroupBox5.Size = new Size(405, 185); + GroupBox5.TabIndex = 37; + GroupBox5.TabStop = false; + GroupBox5.Text = "Carattere"; // // TextBox34 // - this.TextBox34.Location = new System.Drawing.Point(160, 91); - this.TextBox34.Name = "TextBox34"; - this.TextBox34.Size = new System.Drawing.Size(56, 20); - this.TextBox34.TabIndex = 36; - this.TextBox34.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + TextBox34.Location = new Point(213, 140); + TextBox34.Margin = new Padding(4, 5, 4, 5); + TextBox34.Name = "TextBox34"; + TextBox34.Size = new Size(73, 27); + TextBox34.TabIndex = 36; + TextBox34.TextAlign = HorizontalAlignment.Right; // // _Button8 // - this._Button8.ForeColor = System.Drawing.Color.Black; - this._Button8.Location = new System.Drawing.Point(222, 89); - this._Button8.Name = "_Button8"; - this._Button8.Size = new System.Drawing.Size(74, 24); - this._Button8.TabIndex = 35; - this._Button8.Text = "Scegli..."; - this._Button8.Click += new System.EventHandler(this.Button8_Click); + _Button8.ForeColor = Color.Black; + _Button8.Location = new Point(296, 137); + _Button8.Margin = new Padding(4, 5, 4, 5); + _Button8.Name = "_Button8"; + _Button8.Size = new Size(99, 37); + _Button8.TabIndex = 35; + _Button8.Text = "Scegli..."; + _Button8.Click += Button8_Click; // // Label36 // - this.Label36.ForeColor = System.Drawing.Color.Black; - this.Label36.Location = new System.Drawing.Point(8, 60); - this.Label36.Name = "Label36"; - this.Label36.Size = new System.Drawing.Size(120, 19); - this.Label36.TabIndex = 34; - this.Label36.Text = "Dimensione miniatura"; - this.Label36.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + Label36.ForeColor = Color.Black; + Label36.Location = new Point(11, 92); + Label36.Margin = new Padding(4, 0, 4, 0); + Label36.Name = "Label36"; + Label36.Size = new Size(160, 29); + Label36.TabIndex = 34; + Label36.Text = "Dimensione miniatura"; + Label36.TextAlign = ContentAlignment.MiddleLeft; // // TextBox25 // - this.TextBox25.Location = new System.Drawing.Point(160, 59); - this.TextBox25.Name = "TextBox25"; - this.TextBox25.Size = new System.Drawing.Size(56, 20); - this.TextBox25.TabIndex = 33; - this.TextBox25.Text = "TextBox25"; + TextBox25.Location = new Point(213, 91); + TextBox25.Margin = new Padding(4, 5, 4, 5); + TextBox25.Name = "TextBox25"; + TextBox25.Size = new Size(73, 27); + TextBox25.TabIndex = 33; + TextBox25.Text = "TextBox25"; // // Label35 // - this.Label35.ForeColor = System.Drawing.Color.Black; - this.Label35.Location = new System.Drawing.Point(8, 93); - this.Label35.Name = "Label35"; - this.Label35.Size = new System.Drawing.Size(72, 16); - this.Label35.TabIndex = 32; - this.Label35.Text = "Colore RGB"; - this.Label35.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + Label35.ForeColor = Color.Black; + Label35.Location = new Point(11, 143); + Label35.Margin = new Padding(4, 0, 4, 0); + Label35.Name = "Label35"; + Label35.Size = new Size(96, 25); + Label35.TabIndex = 32; + Label35.Text = "Colore RGB"; + Label35.TextAlign = ContentAlignment.MiddleLeft; // // ComboBox3 // - this.ComboBox3.Location = new System.Drawing.Point(96, 8); - this.ComboBox3.Name = "ComboBox3"; - this.ComboBox3.Size = new System.Drawing.Size(120, 21); - this.ComboBox3.TabIndex = 28; - this.ComboBox3.Text = "ComboBox3"; + ComboBox3.Location = new Point(128, 12); + ComboBox3.Margin = new Padding(4, 5, 4, 5); + ComboBox3.Name = "ComboBox3"; + ComboBox3.Size = new Size(159, 28); + ComboBox3.TabIndex = 28; + ComboBox3.Text = "ComboBox3"; // // TextBox11 // - this.TextBox11.Location = new System.Drawing.Point(160, 35); - this.TextBox11.Name = "TextBox11"; - this.TextBox11.Size = new System.Drawing.Size(56, 20); - this.TextBox11.TabIndex = 27; - this.TextBox11.Text = "TextBox11"; + TextBox11.Location = new Point(213, 54); + TextBox11.Margin = new Padding(4, 5, 4, 5); + TextBox11.Name = "TextBox11"; + TextBox11.Size = new Size(73, 27); + TextBox11.TabIndex = 27; + TextBox11.Text = "TextBox11"; // // Label12 // - this.Label12.AutoSize = true; - this.Label12.ForeColor = System.Drawing.Color.Black; - this.Label12.Location = new System.Drawing.Point(8, 38); - this.Label12.Name = "Label12"; - this.Label12.Size = new System.Drawing.Size(62, 13); - this.Label12.TabIndex = 26; - this.Label12.Text = "Dimensione"; - this.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + Label12.AutoSize = true; + Label12.ForeColor = Color.Black; + Label12.Location = new Point(11, 58); + Label12.Margin = new Padding(4, 0, 4, 0); + Label12.Name = "Label12"; + Label12.Size = new Size(88, 20); + Label12.TabIndex = 26; + Label12.Text = "Dimensione"; + Label12.TextAlign = ContentAlignment.MiddleLeft; // // Label11 // - this.Label11.AutoSize = true; - this.Label11.ForeColor = System.Drawing.Color.Black; - this.Label11.Location = new System.Drawing.Point(56, 8); - this.Label11.Name = "Label11"; - this.Label11.Size = new System.Drawing.Size(28, 13); - this.Label11.TabIndex = 22; - this.Label11.Text = "Font"; + Label11.AutoSize = true; + Label11.ForeColor = Color.Black; + Label11.Location = new Point(75, 12); + Label11.Margin = new Padding(4, 0, 4, 0); + Label11.Name = "Label11"; + Label11.Size = new Size(38, 20); + Label11.TabIndex = 22; + Label11.Text = "Font"; // // CheckBox3 // - this.CheckBox3.ForeColor = System.Drawing.Color.Black; - this.CheckBox3.Location = new System.Drawing.Point(224, 8); - this.CheckBox3.Name = "CheckBox3"; - this.CheckBox3.Size = new System.Drawing.Size(72, 24); - this.CheckBox3.TabIndex = 24; - this.CheckBox3.Text = "Grassetto"; + CheckBox3.ForeColor = Color.Black; + CheckBox3.Location = new Point(299, 12); + CheckBox3.Margin = new Padding(4, 5, 4, 5); + CheckBox3.Name = "CheckBox3"; + CheckBox3.Size = new Size(96, 37); + CheckBox3.TabIndex = 24; + CheckBox3.Text = "Grassetto"; // // GroupBox4 // - this.GroupBox4.Controls.Add(this.Label40); - this.GroupBox4.Controls.Add(this.TextBox29); - this.GroupBox4.Controls.Add(this.TextBox18); - this.GroupBox4.Controls.Add(this.Label26); - this.GroupBox4.Controls.Add(this.DateTimePicker1); - this.GroupBox4.Controls.Add(this.CheckBox8); - this.GroupBox4.Controls.Add(this.TextBox9); - this.GroupBox4.Controls.Add(this.CheckBox7); - this.GroupBox4.Controls.Add(this.Label4); - this.GroupBox4.Controls.Add(this.TextBox4); - this.GroupBox4.Controls.Add(this.Label9); - this.GroupBox4.Controls.Add(this.Label13); - this.GroupBox4.Controls.Add(this.ComboBox1); - this.GroupBox4.Controls.Add(this.ComboBox2); - this.GroupBox4.Controls.Add(this.Label14); - this.GroupBox4.Controls.Add(this.TextBox12); - this.GroupBox4.Controls.Add(this.Label15); - this.GroupBox4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.GroupBox4.Location = new System.Drawing.Point(6, 157); - this.GroupBox4.Name = "GroupBox4"; - this.GroupBox4.Size = new System.Drawing.Size(496, 186); - this.GroupBox4.TabIndex = 36; - this.GroupBox4.TabStop = false; - this.GroupBox4.Text = "Testo da applicare"; + GroupBox4.Controls.Add(Label40); + GroupBox4.Controls.Add(TextBox29); + GroupBox4.Controls.Add(TextBox18); + GroupBox4.Controls.Add(Label26); + GroupBox4.Controls.Add(DateTimePicker1); + GroupBox4.Controls.Add(CheckBox8); + GroupBox4.Controls.Add(TextBox9); + GroupBox4.Controls.Add(CheckBox7); + GroupBox4.Controls.Add(Label4); + GroupBox4.Controls.Add(TextBox4); + GroupBox4.Controls.Add(Label9); + GroupBox4.Controls.Add(Label13); + GroupBox4.Controls.Add(ComboBox1); + GroupBox4.Controls.Add(ComboBox2); + GroupBox4.Controls.Add(Label14); + GroupBox4.Controls.Add(TextBox12); + GroupBox4.Controls.Add(Label15); + GroupBox4.ForeColor = Color.FromArgb(0, 0, 192); + GroupBox4.Location = new Point(8, 242); + GroupBox4.Margin = new Padding(4, 5, 4, 5); + GroupBox4.Name = "GroupBox4"; + GroupBox4.Padding = new Padding(4, 5, 4, 5); + GroupBox4.Size = new Size(661, 286); + GroupBox4.TabIndex = 36; + GroupBox4.TabStop = false; + GroupBox4.Text = "Testo da applicare"; // // Label40 // - this.Label40.AutoSize = true; - this.Label40.Location = new System.Drawing.Point(8, 52); - this.Label40.Name = "Label40"; - this.Label40.Size = new System.Drawing.Size(48, 13); - this.Label40.TabIndex = 40; - this.Label40.Text = "Verticale"; + Label40.AutoSize = true; + Label40.Location = new Point(11, 80); + Label40.Margin = new Padding(4, 0, 4, 0); + Label40.Name = "Label40"; + Label40.Size = new Size(66, 20); + Label40.TabIndex = 40; + Label40.Text = "Verticale"; // // TextBox29 // - this.TextBox29.Location = new System.Drawing.Point(72, 49); - this.TextBox29.Multiline = true; - this.TextBox29.Name = "TextBox29"; - this.TextBox29.Size = new System.Drawing.Size(408, 44); - this.TextBox29.TabIndex = 39; + TextBox29.Location = new Point(96, 75); + TextBox29.Margin = new Padding(4, 5, 4, 5); + TextBox29.Multiline = true; + TextBox29.Name = "TextBox29"; + TextBox29.Size = new Size(543, 66); + TextBox29.TabIndex = 39; // // TextBox18 // - this.TextBox18.Location = new System.Drawing.Point(232, 156); - this.TextBox18.Name = "TextBox18"; - this.TextBox18.Size = new System.Drawing.Size(100, 20); - this.TextBox18.TabIndex = 38; + TextBox18.Location = new Point(309, 240); + TextBox18.Margin = new Padding(4, 5, 4, 5); + TextBox18.Name = "TextBox18"; + TextBox18.Size = new Size(132, 27); + TextBox18.TabIndex = 38; // // Label26 // - this.Label26.AutoSize = true; - this.Label26.ForeColor = System.Drawing.Color.Black; - this.Label26.Location = new System.Drawing.Point(344, 156); - this.Label26.Name = "Label26"; - this.Label26.Size = new System.Drawing.Size(48, 13); - this.Label26.TabIndex = 37; - this.Label26.Text = "partenza"; + Label26.AutoSize = true; + Label26.ForeColor = Color.Black; + Label26.Location = new Point(459, 240); + Label26.Margin = new Padding(4, 0, 4, 0); + Label26.Name = "Label26"; + Label26.Size = new Size(67, 20); + Label26.TabIndex = 37; + Label26.Text = "partenza"; // // DateTimePicker1 // - this.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Time; - this.DateTimePicker1.Location = new System.Drawing.Point(392, 156); - this.DateTimePicker1.Name = "DateTimePicker1"; - this.DateTimePicker1.Size = new System.Drawing.Size(88, 20); - this.DateTimePicker1.TabIndex = 36; + DateTimePicker1.Format = DateTimePickerFormat.Time; + DateTimePicker1.Location = new Point(523, 240); + DateTimePicker1.Margin = new Padding(4, 5, 4, 5); + DateTimePicker1.Name = "DateTimePicker1"; + DateTimePicker1.Size = new Size(116, 27); + DateTimePicker1.TabIndex = 36; // // CheckBox8 // - this.CheckBox8.ForeColor = System.Drawing.Color.Black; - this.CheckBox8.Location = new System.Drawing.Point(72, 156); - this.CheckBox8.Name = "CheckBox8"; - this.CheckBox8.Size = new System.Drawing.Size(56, 16); - this.CheckBox8.TabIndex = 35; - this.CheckBox8.Text = "Orario"; + CheckBox8.ForeColor = Color.Black; + CheckBox8.Location = new Point(96, 240); + CheckBox8.Margin = new Padding(4, 5, 4, 5); + CheckBox8.Name = "CheckBox8"; + CheckBox8.Size = new Size(75, 25); + CheckBox8.TabIndex = 35; + CheckBox8.Text = "Orario"; // // TextBox9 // - this.TextBox9.Location = new System.Drawing.Point(120, 108); - this.TextBox9.Name = "TextBox9"; - this.TextBox9.Size = new System.Drawing.Size(56, 20); - this.TextBox9.TabIndex = 20; - this.TextBox9.Text = "TextBox9"; + TextBox9.Location = new Point(160, 166); + TextBox9.Margin = new Padding(4, 5, 4, 5); + TextBox9.Name = "TextBox9"; + TextBox9.Size = new Size(73, 27); + TextBox9.TabIndex = 20; + TextBox9.Text = "TextBox9"; // // CheckBox7 // - this.CheckBox7.ForeColor = System.Drawing.Color.Black; - this.CheckBox7.Location = new System.Drawing.Point(136, 156); - this.CheckBox7.Name = "CheckBox7"; - this.CheckBox7.Size = new System.Drawing.Size(88, 16); - this.CheckBox7.TabIndex = 34; - this.CheckBox7.Text = "Tempo gara"; + CheckBox7.ForeColor = Color.Black; + CheckBox7.Location = new Point(181, 240); + CheckBox7.Margin = new Padding(4, 5, 4, 5); + CheckBox7.Name = "CheckBox7"; + CheckBox7.Size = new Size(117, 25); + CheckBox7.TabIndex = 34; + CheckBox7.Text = "Tempo gara"; // // Label4 // - this.Label4.AutoSize = true; - this.Label4.ForeColor = System.Drawing.Color.Black; - this.Label4.Location = new System.Drawing.Point(8, 24); - this.Label4.Name = "Label4"; - this.Label4.Size = new System.Drawing.Size(59, 13); - this.Label4.TabIndex = 9; - this.Label4.Text = "Orizzontale"; + Label4.AutoSize = true; + Label4.ForeColor = Color.Black; + Label4.Location = new Point(11, 37); + Label4.Margin = new Padding(4, 0, 4, 0); + Label4.Name = "Label4"; + Label4.Size = new Size(85, 20); + Label4.TabIndex = 9; + Label4.Text = "Orizzontale"; // // TextBox4 // - this.TextBox4.Location = new System.Drawing.Point(72, 24); - this.TextBox4.Name = "TextBox4"; - this.TextBox4.Size = new System.Drawing.Size(408, 20); - this.TextBox4.TabIndex = 8; - this.TextBox4.Text = "TextBox4"; + TextBox4.Location = new Point(96, 37); + TextBox4.Margin = new Padding(4, 5, 4, 5); + TextBox4.Name = "TextBox4"; + TextBox4.Size = new Size(543, 27); + TextBox4.TabIndex = 8; + TextBox4.Text = "TextBox4"; // // Label9 // - this.Label9.AutoSize = true; - this.Label9.ForeColor = System.Drawing.Color.Black; - this.Label9.Location = new System.Drawing.Point(8, 108); - this.Label9.Name = "Label9"; - this.Label9.Size = new System.Drawing.Size(110, 13); - this.Label9.TabIndex = 19; - this.Label9.Text = "Trasparenza (0-100%)"; + Label9.AutoSize = true; + Label9.ForeColor = Color.Black; + Label9.Location = new Point(11, 166); + Label9.Margin = new Padding(4, 0, 4, 0); + Label9.Name = "Label9"; + Label9.Size = new Size(152, 20); + Label9.TabIndex = 19; + Label9.Text = "Trasparenza (0-100%)"; // // Label13 // - this.Label13.AutoSize = true; - this.Label13.ForeColor = System.Drawing.Color.Black; - this.Label13.Location = new System.Drawing.Point(16, 132); - this.Label13.Name = "Label13"; - this.Label13.Size = new System.Drawing.Size(52, 13); - this.Label13.TabIndex = 29; - this.Label13.Text = "Posizione"; + Label13.AutoSize = true; + Label13.ForeColor = Color.Black; + Label13.Location = new Point(21, 203); + Label13.Margin = new Padding(4, 0, 4, 0); + Label13.Name = "Label13"; + Label13.Size = new Size(71, 20); + Label13.TabIndex = 29; + Label13.Text = "Posizione"; // // ComboBox1 // - this.ComboBox1.Location = new System.Drawing.Point(72, 132); - this.ComboBox1.Name = "ComboBox1"; - this.ComboBox1.Size = new System.Drawing.Size(104, 21); - this.ComboBox1.TabIndex = 28; - this.ComboBox1.Text = "ComboBox1"; + ComboBox1.Location = new Point(96, 203); + ComboBox1.Margin = new Padding(4, 5, 4, 5); + ComboBox1.Name = "ComboBox1"; + ComboBox1.Size = new Size(137, 28); + ComboBox1.TabIndex = 28; + ComboBox1.Text = "ComboBox1"; // // ComboBox2 // - this.ComboBox2.Location = new System.Drawing.Point(376, 132); - this.ComboBox2.Name = "ComboBox2"; - this.ComboBox2.Size = new System.Drawing.Size(104, 21); - this.ComboBox2.TabIndex = 31; - this.ComboBox2.Text = "ComboBox2"; + ComboBox2.Location = new Point(501, 203); + ComboBox2.Margin = new Padding(4, 5, 4, 5); + ComboBox2.Name = "ComboBox2"; + ComboBox2.Size = new Size(137, 28); + ComboBox2.TabIndex = 31; + ComboBox2.Text = "ComboBox2"; // // Label14 // - this.Label14.AutoSize = true; - this.Label14.ForeColor = System.Drawing.Color.Black; - this.Label14.Location = new System.Drawing.Point(304, 132); - this.Label14.Name = "Label14"; - this.Label14.Size = new System.Drawing.Size(67, 13); - this.Label14.TabIndex = 30; - this.Label14.Text = "Allineamento"; + Label14.AutoSize = true; + Label14.ForeColor = Color.Black; + Label14.Location = new Point(405, 203); + Label14.Margin = new Padding(4, 0, 4, 0); + Label14.Name = "Label14"; + Label14.Size = new Size(98, 20); + Label14.TabIndex = 30; + Label14.Text = "Allineamento"; // // TextBox12 // - this.TextBox12.Location = new System.Drawing.Point(376, 108); - this.TextBox12.Name = "TextBox12"; - this.TextBox12.Size = new System.Drawing.Size(104, 20); - this.TextBox12.TabIndex = 33; - this.TextBox12.Text = "TextBox12"; + TextBox12.Location = new Point(501, 166); + TextBox12.Margin = new Padding(4, 5, 4, 5); + TextBox12.Name = "TextBox12"; + TextBox12.Size = new Size(137, 27); + TextBox12.TabIndex = 33; + TextBox12.Text = "TextBox12"; // // Label15 // - this.Label15.AutoSize = true; - this.Label15.ForeColor = System.Drawing.Color.Black; - this.Label15.Location = new System.Drawing.Point(296, 108); - this.Label15.Name = "Label15"; - this.Label15.Size = new System.Drawing.Size(75, 13); - this.Label15.TabIndex = 32; - this.Label15.Text = "Margine (pixel)"; + Label15.AutoSize = true; + Label15.ForeColor = Color.Black; + Label15.Location = new Point(395, 166); + Label15.Margin = new Padding(4, 0, 4, 0); + Label15.Name = "Label15"; + Label15.Size = new Size(110, 20); + Label15.TabIndex = 32; + Label15.Text = "Margine (pixel)"; // // TabPage2 // - this.TabPage2.Controls.Add(this.GroupBox2); - this.TabPage2.Location = new System.Drawing.Point(4, 22); - this.TabPage2.Name = "TabPage2"; - this.TabPage2.Padding = new System.Windows.Forms.Padding(3); - this.TabPage2.Size = new System.Drawing.Size(513, 351); - this.TabPage2.TabIndex = 5; - this.TabPage2.Text = "Foto"; - this.TabPage2.UseVisualStyleBackColor = true; + TabPage2.Controls.Add(GroupBox2); + TabPage2.Location = new Point(4, 29); + TabPage2.Margin = new Padding(4, 5, 4, 5); + TabPage2.Name = "TabPage2"; + TabPage2.Padding = new Padding(4, 5, 4, 5); + TabPage2.Size = new Size(687, 547); + TabPage2.TabIndex = 5; + TabPage2.Text = "Foto"; + TabPage2.UseVisualStyleBackColor = true; // // GroupBox2 // - this.GroupBox2.Controls.Add(this.Label45); - this.GroupBox2.Controls.Add(this.TextBox32); - this.GroupBox2.Controls.Add(this.TextBox26); - this.GroupBox2.Controls.Add(this.Label37); - this.GroupBox2.Controls.Add(this.Label38); - this.GroupBox2.Controls.Add(this.TextBox27); - this.GroupBox2.Controls.Add(this.Label39); - this.GroupBox2.Controls.Add(this.TextBox28); - this.GroupBox2.Controls.Add(this.CheckBox15); - this.GroupBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.GroupBox2.Location = new System.Drawing.Point(3, 6); - this.GroupBox2.Name = "GroupBox2"; - this.GroupBox2.Size = new System.Drawing.Size(304, 156); - this.GroupBox2.TabIndex = 36; - this.GroupBox2.TabStop = false; - this.GroupBox2.Text = "Foto grande"; + GroupBox2.Controls.Add(Label45); + GroupBox2.Controls.Add(TextBox32); + GroupBox2.Controls.Add(TextBox26); + GroupBox2.Controls.Add(Label37); + GroupBox2.Controls.Add(Label38); + GroupBox2.Controls.Add(TextBox27); + GroupBox2.Controls.Add(Label39); + GroupBox2.Controls.Add(TextBox28); + GroupBox2.Controls.Add(CheckBox15); + GroupBox2.ForeColor = Color.FromArgb(0, 0, 192); + GroupBox2.Location = new Point(4, 9); + GroupBox2.Margin = new Padding(4, 5, 4, 5); + GroupBox2.Name = "GroupBox2"; + GroupBox2.Padding = new Padding(4, 5, 4, 5); + GroupBox2.Size = new Size(405, 240); + GroupBox2.TabIndex = 36; + GroupBox2.TabStop = false; + GroupBox2.Text = "Foto grande"; // // Label45 // - this.Label45.AutoSize = true; - this.Label45.Location = new System.Drawing.Point(11, 86); - this.Label45.Name = "Label45"; - this.Label45.Size = new System.Drawing.Size(40, 13); - this.Label45.TabIndex = 22; - this.Label45.Text = "Qualità"; + Label45.AutoSize = true; + Label45.Location = new Point(15, 132); + Label45.Margin = new Padding(4, 0, 4, 0); + Label45.Name = "Label45"; + Label45.Size = new Size(57, 20); + Label45.TabIndex = 22; + Label45.Text = "Qualità"; // // TextBox32 // - this.TextBox32.Location = new System.Drawing.Point(72, 80); - this.TextBox32.Name = "TextBox32"; - this.TextBox32.Size = new System.Drawing.Size(72, 20); - this.TextBox32.TabIndex = 21; - this.TextBox32.Text = "100"; + TextBox32.Location = new Point(96, 123); + TextBox32.Margin = new Padding(4, 5, 4, 5); + TextBox32.Name = "TextBox32"; + TextBox32.Size = new Size(95, 27); + TextBox32.TabIndex = 21; + TextBox32.Text = "100"; // // TextBox26 // - this.TextBox26.Location = new System.Drawing.Point(224, 48); - this.TextBox26.Name = "TextBox26"; - this.TextBox26.Size = new System.Drawing.Size(56, 20); - this.TextBox26.TabIndex = 20; - this.TextBox26.Text = "TextBox26"; + TextBox26.Location = new Point(299, 74); + TextBox26.Margin = new Padding(4, 5, 4, 5); + TextBox26.Name = "TextBox26"; + TextBox26.Size = new Size(73, 27); + TextBox26.TabIndex = 20; + TextBox26.Text = "TextBox26"; // // Label37 // - this.Label37.ForeColor = System.Drawing.Color.Black; - this.Label37.Location = new System.Drawing.Point(168, 48); - this.Label37.Name = "Label37"; - this.Label37.Size = new System.Drawing.Size(48, 16); - this.Label37.TabIndex = 19; - this.Label37.Text = "Suffisso"; - this.Label37.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + Label37.ForeColor = Color.Black; + Label37.Location = new Point(224, 74); + Label37.Margin = new Padding(4, 0, 4, 0); + Label37.Name = "Label37"; + Label37.Size = new Size(64, 25); + Label37.TabIndex = 19; + Label37.Text = "Suffisso"; + Label37.TextAlign = ContentAlignment.MiddleRight; // // Label38 // - this.Label38.AutoSize = true; - this.Label38.ForeColor = System.Drawing.Color.Black; - this.Label38.Location = new System.Drawing.Point(24, 24); - this.Label38.Name = "Label38"; - this.Label38.Size = new System.Drawing.Size(41, 13); - this.Label38.TabIndex = 16; - this.Label38.Text = "Altezza"; + Label38.AutoSize = true; + Label38.ForeColor = Color.Black; + Label38.Location = new Point(32, 37); + Label38.Margin = new Padding(4, 0, 4, 0); + Label38.Name = "Label38"; + Label38.Size = new Size(58, 20); + Label38.TabIndex = 16; + Label38.Text = "Altezza"; // // TextBox27 // - this.TextBox27.Location = new System.Drawing.Point(72, 24); - this.TextBox27.Name = "TextBox27"; - this.TextBox27.Size = new System.Drawing.Size(72, 20); - this.TextBox27.TabIndex = 14; - this.TextBox27.Text = "TextBox27"; + TextBox27.Location = new Point(96, 37); + TextBox27.Margin = new Padding(4, 5, 4, 5); + TextBox27.Name = "TextBox27"; + TextBox27.Size = new Size(95, 27); + TextBox27.TabIndex = 14; + TextBox27.Text = "TextBox27"; // // Label39 // - this.Label39.AutoSize = true; - this.Label39.ForeColor = System.Drawing.Color.Black; - this.Label39.Location = new System.Drawing.Point(8, 48); - this.Label39.Name = "Label39"; - this.Label39.Size = new System.Drawing.Size(56, 13); - this.Label39.TabIndex = 17; - this.Label39.Text = "Larghezza"; + Label39.AutoSize = true; + Label39.ForeColor = Color.Black; + Label39.Location = new Point(11, 74); + Label39.Margin = new Padding(4, 0, 4, 0); + Label39.Name = "Label39"; + Label39.Size = new Size(76, 20); + Label39.TabIndex = 17; + Label39.Text = "Larghezza"; // // TextBox28 // - this.TextBox28.Location = new System.Drawing.Point(72, 48); - this.TextBox28.Name = "TextBox28"; - this.TextBox28.Size = new System.Drawing.Size(72, 20); - this.TextBox28.TabIndex = 15; - this.TextBox28.Text = "TextBox28"; + TextBox28.Location = new Point(96, 74); + TextBox28.Margin = new Padding(4, 5, 4, 5); + TextBox28.Name = "TextBox28"; + TextBox28.Size = new Size(95, 27); + TextBox28.TabIndex = 15; + TextBox28.Text = "TextBox28"; // // CheckBox15 // - this.CheckBox15.Checked = true; - this.CheckBox15.CheckState = System.Windows.Forms.CheckState.Checked; - this.CheckBox15.ForeColor = System.Drawing.Color.Black; - this.CheckBox15.Location = new System.Drawing.Point(168, 16); - this.CheckBox15.Name = "CheckBox15"; - this.CheckBox15.Size = new System.Drawing.Size(120, 32); - this.CheckBox15.TabIndex = 18; - this.CheckBox15.Text = "Mantieni dimensioni originali"; + CheckBox15.Checked = true; + CheckBox15.CheckState = CheckState.Checked; + CheckBox15.ForeColor = Color.Black; + CheckBox15.Location = new Point(224, 25); + CheckBox15.Margin = new Padding(4, 5, 4, 5); + CheckBox15.Name = "CheckBox15"; + CheckBox15.Size = new Size(160, 49); + CheckBox15.TabIndex = 18; + CheckBox15.Text = "Mantieni dimensioni originali"; // // TabPage1 // - this.TabPage1.Controls.Add(this.Panel1); - this.TabPage1.Controls.Add(this.GroupBox1); - this.TabPage1.Location = new System.Drawing.Point(4, 22); - this.TabPage1.Name = "TabPage1"; - this.TabPage1.Padding = new System.Windows.Forms.Padding(3); - this.TabPage1.Size = new System.Drawing.Size(513, 351); - this.TabPage1.TabIndex = 0; - this.TabPage1.Text = "Miniature"; - this.TabPage1.UseVisualStyleBackColor = true; + TabPage1.Controls.Add(Panel1); + TabPage1.Controls.Add(GroupBox1); + TabPage1.Location = new Point(4, 29); + TabPage1.Margin = new Padding(4, 5, 4, 5); + TabPage1.Name = "TabPage1"; + TabPage1.Padding = new Padding(4, 5, 4, 5); + TabPage1.Size = new Size(687, 547); + TabPage1.TabIndex = 0; + TabPage1.Text = "Miniature"; + TabPage1.UseVisualStyleBackColor = true; // // Panel1 // - this.Panel1.Controls.Add(this._CheckBox18); - this.Panel1.Controls.Add(this._CheckBox4); - this.Panel1.Controls.Add(this._CheckBox12); - this.Panel1.Location = new System.Drawing.Point(52, 236); - this.Panel1.Name = "Panel1"; - this.Panel1.Size = new System.Drawing.Size(304, 73); - this.Panel1.TabIndex = 26; - this.Panel1.Visible = false; + Panel1.Controls.Add(_CheckBox18); + Panel1.Controls.Add(_CheckBox4); + Panel1.Controls.Add(_CheckBox12); + Panel1.Location = new Point(69, 363); + Panel1.Margin = new Padding(4, 5, 4, 5); + Panel1.Name = "Panel1"; + Panel1.Size = new Size(405, 112); + Panel1.TabIndex = 26; + Panel1.Visible = false; // // _CheckBox18 // - this._CheckBox18.AutoSize = true; - this._CheckBox18.Location = new System.Drawing.Point(140, 3); - this._CheckBox18.Name = "_CheckBox18"; - this._CheckBox18.Size = new System.Drawing.Size(84, 17); - this._CheckBox18.TabIndex = 36; - this._CheckBox18.Text = "Numero foto"; - this._CheckBox18.UseVisualStyleBackColor = true; - this._CheckBox18.CheckedChanged += new System.EventHandler(this.CheckBox18_CheckedChanged); + _CheckBox18.AutoSize = true; + _CheckBox18.Location = new Point(187, 5); + _CheckBox18.Margin = new Padding(4, 5, 4, 5); + _CheckBox18.Name = "_CheckBox18"; + _CheckBox18.Size = new Size(117, 24); + _CheckBox18.TabIndex = 36; + _CheckBox18.Text = "Numero foto"; + _CheckBox18.UseVisualStyleBackColor = true; + _CheckBox18.CheckedChanged += CheckBox18_CheckedChanged; // // _CheckBox4 // - this._CheckBox4.ForeColor = System.Drawing.Color.Black; - this._CheckBox4.Location = new System.Drawing.Point(10, 3); - this._CheckBox4.Name = "_CheckBox4"; - this._CheckBox4.Size = new System.Drawing.Size(104, 17); - this._CheckBox4.TabIndex = 34; - this._CheckBox4.Text = "Aggiungi scritta"; - this._CheckBox4.CheckedChanged += new System.EventHandler(this.CheckBox4_CheckedChanged); + _CheckBox4.ForeColor = Color.Black; + _CheckBox4.Location = new Point(13, 5); + _CheckBox4.Margin = new Padding(4, 5, 4, 5); + _CheckBox4.Name = "_CheckBox4"; + _CheckBox4.Size = new Size(139, 26); + _CheckBox4.TabIndex = 34; + _CheckBox4.Text = "Aggiungi scritta"; + _CheckBox4.CheckedChanged += CheckBox4_CheckedChanged; // // _CheckBox12 // - this._CheckBox12.ForeColor = System.Drawing.Color.Black; - this._CheckBox12.Location = new System.Drawing.Point(10, 19); - this._CheckBox12.Name = "_CheckBox12"; - this._CheckBox12.Size = new System.Drawing.Size(104, 21); - this._CheckBox12.TabIndex = 35; - this._CheckBox12.Text = "Aggiungi orario"; - this._CheckBox12.CheckedChanged += new System.EventHandler(this.CheckBox12_CheckedChanged); + _CheckBox12.ForeColor = Color.Black; + _CheckBox12.Location = new Point(13, 29); + _CheckBox12.Margin = new Padding(4, 5, 4, 5); + _CheckBox12.Name = "_CheckBox12"; + _CheckBox12.Size = new Size(139, 32); + _CheckBox12.TabIndex = 35; + _CheckBox12.Text = "Aggiungi orario"; + _CheckBox12.CheckedChanged += CheckBox12_CheckedChanged; // // GroupBox1 // - this.GroupBox1.Controls.Add(this.Label46); - this.GroupBox1.Controls.Add(this.TextBox33); - this.GroupBox1.Controls.Add(this.Panel2); - this.GroupBox1.Controls.Add(this.Label5); - this.GroupBox1.Controls.Add(this.TextBox5); - this.GroupBox1.Controls.Add(this.Label6); - this.GroupBox1.Controls.Add(this.TextBox6); - this.GroupBox1.Controls.Add(this.Label3); - this.GroupBox1.Controls.Add(this.TextBox3); - this.GroupBox1.Controls.Add(this.CheckBox1); - this.GroupBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.GroupBox1.Location = new System.Drawing.Point(6, 5); - this.GroupBox1.Name = "GroupBox1"; - this.GroupBox1.Size = new System.Drawing.Size(350, 210); - this.GroupBox1.TabIndex = 25; - this.GroupBox1.TabStop = false; - this.GroupBox1.Text = "Miniature"; + GroupBox1.Controls.Add(Label46); + GroupBox1.Controls.Add(TextBox33); + GroupBox1.Controls.Add(Panel2); + GroupBox1.Controls.Add(Label5); + GroupBox1.Controls.Add(TextBox5); + GroupBox1.Controls.Add(Label6); + GroupBox1.Controls.Add(TextBox6); + GroupBox1.Controls.Add(Label3); + GroupBox1.Controls.Add(TextBox3); + GroupBox1.Controls.Add(CheckBox1); + GroupBox1.ForeColor = Color.FromArgb(0, 0, 192); + GroupBox1.Location = new Point(8, 8); + GroupBox1.Margin = new Padding(4, 5, 4, 5); + GroupBox1.Name = "GroupBox1"; + GroupBox1.Padding = new Padding(4, 5, 4, 5); + GroupBox1.Size = new Size(467, 323); + GroupBox1.TabIndex = 25; + GroupBox1.TabStop = false; + GroupBox1.Text = "Miniature"; // // Label46 // - this.Label46.AutoSize = true; - this.Label46.Location = new System.Drawing.Point(198, 43); - this.Label46.Name = "Label46"; - this.Label46.Size = new System.Drawing.Size(40, 13); - this.Label46.TabIndex = 21; - this.Label46.Text = "Qualità"; + Label46.AutoSize = true; + Label46.Location = new Point(264, 66); + Label46.Margin = new Padding(4, 0, 4, 0); + Label46.Name = "Label46"; + Label46.Size = new Size(57, 20); + Label46.TabIndex = 21; + Label46.Text = "Qualità"; // // TextBox33 // - this.TextBox33.Location = new System.Drawing.Point(244, 40); - this.TextBox33.Name = "TextBox33"; - this.TextBox33.Size = new System.Drawing.Size(100, 20); - this.TextBox33.TabIndex = 20; + TextBox33.Location = new Point(325, 62); + TextBox33.Margin = new Padding(4, 5, 4, 5); + TextBox33.Name = "TextBox33"; + TextBox33.Size = new Size(132, 27); + TextBox33.TabIndex = 20; // // Panel2 // - this.Panel2.Controls.Add(this.RadioButton3); - this.Panel2.Controls.Add(this.RadioButton7); - this.Panel2.Controls.Add(this.RadioButton4); - this.Panel2.Controls.Add(this.RadioButton6); - this.Panel2.Controls.Add(this.RadioButton5); - this.Panel2.Location = new System.Drawing.Point(56, 114); - this.Panel2.Name = "Panel2"; - this.Panel2.Size = new System.Drawing.Size(235, 90); - this.Panel2.TabIndex = 19; + Panel2.Controls.Add(RadioButton3); + Panel2.Controls.Add(RadioButton7); + Panel2.Controls.Add(RadioButton4); + Panel2.Controls.Add(RadioButton6); + Panel2.Controls.Add(RadioButton5); + Panel2.Location = new Point(75, 175); + Panel2.Margin = new Padding(4, 5, 4, 5); + Panel2.Name = "Panel2"; + Panel2.Size = new Size(313, 138); + Panel2.TabIndex = 19; // // RadioButton3 // - this.RadioButton3.AutoSize = true; - this.RadioButton3.Location = new System.Drawing.Point(15, 16); - this.RadioButton3.Name = "RadioButton3"; - this.RadioButton3.Size = new System.Drawing.Size(99, 17); - this.RadioButton3.TabIndex = 14; - this.RadioButton3.TabStop = true; - this.RadioButton3.Text = "Aggiungi Scritta"; - this.RadioButton3.UseVisualStyleBackColor = true; + RadioButton3.AutoSize = true; + RadioButton3.Location = new Point(20, 25); + RadioButton3.Margin = new Padding(4, 5, 4, 5); + RadioButton3.Name = "RadioButton3"; + RadioButton3.Size = new Size(137, 24); + RadioButton3.TabIndex = 14; + RadioButton3.TabStop = true; + RadioButton3.Text = "Aggiungi Scritta"; + RadioButton3.UseVisualStyleBackColor = true; // // RadioButton7 // - this.RadioButton7.AutoSize = true; - this.RadioButton7.Location = new System.Drawing.Point(129, 40); - this.RadioButton7.Name = "RadioButton7"; - this.RadioButton7.Size = new System.Drawing.Size(95, 17); - this.RadioButton7.TabIndex = 18; - this.RadioButton7.TabStop = true; - this.RadioButton7.Text = "numero+tempo"; - this.RadioButton7.UseVisualStyleBackColor = true; + RadioButton7.AutoSize = true; + RadioButton7.Location = new Point(172, 62); + RadioButton7.Margin = new Padding(4, 5, 4, 5); + RadioButton7.Name = "RadioButton7"; + RadioButton7.Size = new Size(135, 24); + RadioButton7.TabIndex = 18; + RadioButton7.TabStop = true; + RadioButton7.Text = "numero+tempo"; + RadioButton7.UseVisualStyleBackColor = true; // // RadioButton4 // - this.RadioButton4.AutoSize = true; - this.RadioButton4.Location = new System.Drawing.Point(15, 40); - this.RadioButton4.Name = "RadioButton4"; - this.RadioButton4.Size = new System.Drawing.Size(95, 17); - this.RadioButton4.TabIndex = 15; - this.RadioButton4.TabStop = true; - this.RadioButton4.Text = "Aggiungi orario"; - this.RadioButton4.UseVisualStyleBackColor = true; + RadioButton4.AutoSize = true; + RadioButton4.Location = new Point(20, 62); + RadioButton4.Margin = new Padding(4, 5, 4, 5); + RadioButton4.Name = "RadioButton4"; + RadioButton4.Size = new Size(135, 24); + RadioButton4.TabIndex = 15; + RadioButton4.TabStop = true; + RadioButton4.Text = "Aggiungi orario"; + RadioButton4.UseVisualStyleBackColor = true; // // RadioButton6 // - this.RadioButton6.AutoSize = true; - this.RadioButton6.Location = new System.Drawing.Point(129, 16); - this.RadioButton6.Name = "RadioButton6"; - this.RadioButton6.Size = new System.Drawing.Size(83, 17); - this.RadioButton6.TabIndex = 17; - this.RadioButton6.TabStop = true; - this.RadioButton6.Text = "Numero foto"; - this.RadioButton6.UseVisualStyleBackColor = true; + RadioButton6.AutoSize = true; + RadioButton6.Location = new Point(172, 25); + RadioButton6.Margin = new Padding(4, 5, 4, 5); + RadioButton6.Name = "RadioButton6"; + RadioButton6.Size = new Size(116, 24); + RadioButton6.TabIndex = 17; + RadioButton6.TabStop = true; + RadioButton6.Text = "Numero foto"; + RadioButton6.UseVisualStyleBackColor = true; // // RadioButton5 // - this.RadioButton5.AutoSize = true; - this.RadioButton5.Location = new System.Drawing.Point(15, 65); - this.RadioButton5.Name = "RadioButton5"; - this.RadioButton5.Size = new System.Drawing.Size(84, 17); - this.RadioButton5.TabIndex = 16; - this.RadioButton5.TabStop = true; - this.RadioButton5.Text = "Tempo Gara"; - this.RadioButton5.UseVisualStyleBackColor = true; + RadioButton5.AutoSize = true; + RadioButton5.Location = new Point(20, 100); + RadioButton5.Margin = new Padding(4, 5, 4, 5); + RadioButton5.Name = "RadioButton5"; + RadioButton5.Size = new Size(111, 24); + RadioButton5.TabIndex = 16; + RadioButton5.TabStop = true; + RadioButton5.Text = "Tempo Gara"; + RadioButton5.UseVisualStyleBackColor = true; // // Label5 // - this.Label5.AutoSize = true; - this.Label5.ForeColor = System.Drawing.Color.Black; - this.Label5.Location = new System.Drawing.Point(24, 88); - this.Label5.Name = "Label5"; - this.Label5.Size = new System.Drawing.Size(41, 13); - this.Label5.TabIndex = 12; - this.Label5.Text = "Altezza"; + Label5.AutoSize = true; + Label5.ForeColor = Color.Black; + Label5.Location = new Point(32, 135); + Label5.Margin = new Padding(4, 0, 4, 0); + Label5.Name = "Label5"; + Label5.Size = new Size(58, 20); + Label5.TabIndex = 12; + Label5.Text = "Altezza"; // // TextBox5 // - this.TextBox5.Location = new System.Drawing.Point(72, 64); - this.TextBox5.Name = "TextBox5"; - this.TextBox5.Size = new System.Drawing.Size(88, 20); - this.TextBox5.TabIndex = 10; - this.TextBox5.Text = "TextBox5"; + TextBox5.Location = new Point(96, 98); + TextBox5.Margin = new Padding(4, 5, 4, 5); + TextBox5.Name = "TextBox5"; + TextBox5.Size = new Size(116, 27); + TextBox5.TabIndex = 10; + TextBox5.Text = "TextBox5"; // // Label6 // - this.Label6.AutoSize = true; - this.Label6.ForeColor = System.Drawing.Color.Black; - this.Label6.Location = new System.Drawing.Point(8, 64); - this.Label6.Name = "Label6"; - this.Label6.Size = new System.Drawing.Size(56, 13); - this.Label6.TabIndex = 13; - this.Label6.Text = "Larghezza"; + Label6.AutoSize = true; + Label6.ForeColor = Color.Black; + Label6.Location = new Point(11, 98); + Label6.Margin = new Padding(4, 0, 4, 0); + Label6.Name = "Label6"; + Label6.Size = new Size(76, 20); + Label6.TabIndex = 13; + Label6.Text = "Larghezza"; // // TextBox6 // - this.TextBox6.Location = new System.Drawing.Point(72, 88); - this.TextBox6.Name = "TextBox6"; - this.TextBox6.Size = new System.Drawing.Size(88, 20); - this.TextBox6.TabIndex = 11; - this.TextBox6.Text = "TextBox6"; + TextBox6.Location = new Point(96, 135); + TextBox6.Margin = new Padding(4, 5, 4, 5); + TextBox6.Name = "TextBox6"; + TextBox6.Size = new Size(116, 27); + TextBox6.TabIndex = 11; + TextBox6.Text = "TextBox6"; // // Label3 // - this.Label3.AutoSize = true; - this.Label3.ForeColor = System.Drawing.Color.Black; - this.Label3.Location = new System.Drawing.Point(24, 40); - this.Label3.Name = "Label3"; - this.Label3.Size = new System.Drawing.Size(44, 13); - this.Label3.TabIndex = 7; - this.Label3.Text = "Suffisso"; + Label3.AutoSize = true; + Label3.ForeColor = Color.Black; + Label3.Location = new Point(32, 62); + Label3.Margin = new Padding(4, 0, 4, 0); + Label3.Name = "Label3"; + Label3.Size = new Size(60, 20); + Label3.TabIndex = 7; + Label3.Text = "Suffisso"; // // TextBox3 // - this.TextBox3.Location = new System.Drawing.Point(72, 40); - this.TextBox3.Name = "TextBox3"; - this.TextBox3.Size = new System.Drawing.Size(88, 20); - this.TextBox3.TabIndex = 6; - this.TextBox3.Text = "TextBox3"; + TextBox3.Location = new Point(96, 62); + TextBox3.Margin = new Padding(4, 5, 4, 5); + TextBox3.Name = "TextBox3"; + TextBox3.Size = new Size(116, 27); + TextBox3.TabIndex = 6; + TextBox3.Text = "TextBox3"; // // CheckBox1 // - this.CheckBox1.ForeColor = System.Drawing.Color.Black; - this.CheckBox1.Location = new System.Drawing.Point(72, 16); - this.CheckBox1.Name = "CheckBox1"; - this.CheckBox1.Size = new System.Drawing.Size(104, 24); - this.CheckBox1.TabIndex = 5; - this.CheckBox1.Text = "Crea miniature"; + CheckBox1.ForeColor = Color.Black; + CheckBox1.Location = new Point(96, 25); + CheckBox1.Margin = new Padding(4, 5, 4, 5); + CheckBox1.Name = "CheckBox1"; + CheckBox1.Size = new Size(139, 37); + CheckBox1.TabIndex = 5; + CheckBox1.Text = "Crea miniature"; // // TabPage4 // - this.TabPage4.Controls.Add(this.GroupBox6); - this.TabPage4.Location = new System.Drawing.Point(4, 22); - this.TabPage4.Name = "TabPage4"; - this.TabPage4.Padding = new System.Windows.Forms.Padding(3); - this.TabPage4.Size = new System.Drawing.Size(513, 351); - this.TabPage4.TabIndex = 3; - this.TabPage4.Text = "Logo"; - this.TabPage4.UseVisualStyleBackColor = true; + TabPage4.Controls.Add(GroupBox6); + TabPage4.Location = new Point(4, 29); + TabPage4.Margin = new Padding(4, 5, 4, 5); + TabPage4.Name = "TabPage4"; + TabPage4.Padding = new Padding(4, 5, 4, 5); + TabPage4.Size = new Size(687, 547); + TabPage4.TabIndex = 3; + TabPage4.Text = "Logo"; + TabPage4.UseVisualStyleBackColor = true; // // GroupBox6 // - this.GroupBox6.Controls.Add(this.PictureBox2); - this.GroupBox6.Controls.Add(this._PictureBox1); - this.GroupBox6.Controls.Add(this.ComboBox5); - this.GroupBox6.Controls.Add(this.ComboBox4); - this.GroupBox6.Controls.Add(this.TextBox19); - this.GroupBox6.Controls.Add(this.Label28); - this.GroupBox6.Controls.Add(this.CheckBox5); - this.GroupBox6.Controls.Add(this.TextBox15); - this.GroupBox6.Controls.Add(this.TextBox14); - this.GroupBox6.Controls.Add(this.Label25); - this.GroupBox6.Controls.Add(this.TextBox16); - this.GroupBox6.Controls.Add(this.Label24); - this.GroupBox6.Controls.Add(this.Label22); - this.GroupBox6.Controls.Add(this.Label23); - this.GroupBox6.Controls.Add(this._Button4); - this.GroupBox6.Controls.Add(this.TextBox10); - this.GroupBox6.Controls.Add(this.Label29); - this.GroupBox6.Controls.Add(this.Label30); - this.GroupBox6.Controls.Add(this.PictureBox3); - this.GroupBox6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.GroupBox6.Location = new System.Drawing.Point(6, 6); - this.GroupBox6.Name = "GroupBox6"; - this.GroupBox6.Size = new System.Drawing.Size(496, 224); - this.GroupBox6.TabIndex = 42; - this.GroupBox6.TabStop = false; - this.GroupBox6.Text = "Logo"; + GroupBox6.Controls.Add(PictureBox2); + GroupBox6.Controls.Add(_PictureBox1); + GroupBox6.Controls.Add(ComboBox5); + GroupBox6.Controls.Add(ComboBox4); + GroupBox6.Controls.Add(TextBox19); + GroupBox6.Controls.Add(Label28); + GroupBox6.Controls.Add(CheckBox5); + GroupBox6.Controls.Add(TextBox15); + GroupBox6.Controls.Add(TextBox14); + GroupBox6.Controls.Add(Label25); + GroupBox6.Controls.Add(TextBox16); + GroupBox6.Controls.Add(Label24); + GroupBox6.Controls.Add(Label22); + GroupBox6.Controls.Add(Label23); + GroupBox6.Controls.Add(_Button4); + GroupBox6.Controls.Add(TextBox10); + GroupBox6.Controls.Add(Label29); + GroupBox6.Controls.Add(Label30); + GroupBox6.Controls.Add(PictureBox3); + GroupBox6.ForeColor = Color.FromArgb(0, 0, 192); + GroupBox6.Location = new Point(8, 9); + GroupBox6.Margin = new Padding(4, 5, 4, 5); + GroupBox6.Name = "GroupBox6"; + GroupBox6.Padding = new Padding(4, 5, 4, 5); + GroupBox6.Size = new Size(661, 345); + GroupBox6.TabIndex = 42; + GroupBox6.TabStop = false; + GroupBox6.Text = "Logo"; // // PictureBox2 // - this.PictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.PictureBox2.Location = new System.Drawing.Point(144, 192); - this.PictureBox2.Name = "PictureBox2"; - this.PictureBox2.Size = new System.Drawing.Size(24, 24); - this.PictureBox2.TabIndex = 44; - this.PictureBox2.TabStop = false; - this.PictureBox2.Visible = false; + PictureBox2.BorderStyle = BorderStyle.FixedSingle; + PictureBox2.Location = new Point(192, 295); + PictureBox2.Margin = new Padding(4, 5, 4, 5); + PictureBox2.Name = "PictureBox2"; + PictureBox2.Size = new Size(31, 36); + PictureBox2.TabIndex = 44; + PictureBox2.TabStop = false; + PictureBox2.Visible = false; // // _PictureBox1 // - this._PictureBox1.Cursor = System.Windows.Forms.Cursors.Cross; - this._PictureBox1.Location = new System.Drawing.Point(256, 56); - this._PictureBox1.Name = "_PictureBox1"; - this._PictureBox1.Size = new System.Drawing.Size(224, 160); - this._PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this._PictureBox1.TabIndex = 43; - this._PictureBox1.TabStop = false; - this._PictureBox1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.PictureBox1_MouseMove); - this._PictureBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PictureBox1_MouseUp); + _PictureBox1.Cursor = Cursors.Cross; + _PictureBox1.Location = new Point(341, 86); + _PictureBox1.Margin = new Padding(4, 5, 4, 5); + _PictureBox1.Name = "_PictureBox1"; + _PictureBox1.Size = new Size(299, 246); + _PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage; + _PictureBox1.TabIndex = 43; + _PictureBox1.TabStop = false; + _PictureBox1.MouseMove += PictureBox1_MouseMove; + _PictureBox1.MouseUp += PictureBox1_MouseUp; // // ComboBox5 // - this.ComboBox5.Location = new System.Drawing.Point(144, 168); - this.ComboBox5.Name = "ComboBox5"; - this.ComboBox5.Size = new System.Drawing.Size(96, 21); - this.ComboBox5.TabIndex = 42; - this.ComboBox5.Text = "ComboBox5"; + ComboBox5.Location = new Point(192, 258); + ComboBox5.Margin = new Padding(4, 5, 4, 5); + ComboBox5.Name = "ComboBox5"; + ComboBox5.Size = new Size(127, 28); + ComboBox5.TabIndex = 42; + ComboBox5.Text = "ComboBox5"; // // ComboBox4 // - this.ComboBox4.Location = new System.Drawing.Point(144, 144); - this.ComboBox4.Name = "ComboBox4"; - this.ComboBox4.Size = new System.Drawing.Size(96, 21); - this.ComboBox4.TabIndex = 41; - this.ComboBox4.Text = "ComboBox4"; + ComboBox4.Location = new Point(192, 222); + ComboBox4.Margin = new Padding(4, 5, 4, 5); + ComboBox4.Name = "ComboBox4"; + ComboBox4.Size = new Size(127, 28); + ComboBox4.TabIndex = 41; + ComboBox4.Text = "ComboBox4"; // // TextBox19 // - this.TextBox19.Location = new System.Drawing.Point(144, 96); - this.TextBox19.Name = "TextBox19"; - this.TextBox19.Size = new System.Drawing.Size(96, 20); - this.TextBox19.TabIndex = 40; - this.TextBox19.Text = "TextBox19"; + TextBox19.Location = new Point(192, 148); + TextBox19.Margin = new Padding(4, 5, 4, 5); + TextBox19.Name = "TextBox19"; + TextBox19.Size = new Size(127, 27); + TextBox19.TabIndex = 40; + TextBox19.Text = "TextBox19"; // // Label28 // - this.Label28.ForeColor = System.Drawing.Color.Black; - this.Label28.Location = new System.Drawing.Point(17, 97); - this.Label28.Name = "Label28"; - this.Label28.Size = new System.Drawing.Size(120, 16); - this.Label28.TabIndex = 39; - this.Label28.Text = "Trasparenza (0-100%)"; - this.Label28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + Label28.ForeColor = Color.Black; + Label28.Location = new Point(23, 149); + Label28.Margin = new Padding(4, 0, 4, 0); + Label28.Name = "Label28"; + Label28.Size = new Size(160, 25); + Label28.TabIndex = 39; + Label28.Text = "Trasparenza (0-100%)"; + Label28.TextAlign = ContentAlignment.MiddleLeft; // // CheckBox5 // - this.CheckBox5.ForeColor = System.Drawing.Color.Black; - this.CheckBox5.Location = new System.Drawing.Point(0, 26); - this.CheckBox5.Name = "CheckBox5"; - this.CheckBox5.Size = new System.Drawing.Size(72, 20); - this.CheckBox5.TabIndex = 38; - this.CheckBox5.Text = "Aggiungi"; + CheckBox5.ForeColor = Color.Black; + CheckBox5.Location = new Point(0, 40); + CheckBox5.Margin = new Padding(4, 5, 4, 5); + CheckBox5.Name = "CheckBox5"; + CheckBox5.Size = new Size(96, 31); + CheckBox5.TabIndex = 38; + CheckBox5.Text = "Aggiungi"; // // TextBox15 // - this.TextBox15.Location = new System.Drawing.Point(144, 72); - this.TextBox15.Name = "TextBox15"; - this.TextBox15.Size = new System.Drawing.Size(96, 20); - this.TextBox15.TabIndex = 19; - this.TextBox15.Text = "TextBox15"; + TextBox15.Location = new Point(192, 111); + TextBox15.Margin = new Padding(4, 5, 4, 5); + TextBox15.Name = "TextBox15"; + TextBox15.Size = new Size(127, 27); + TextBox15.TabIndex = 19; + TextBox15.Text = "TextBox15"; // // TextBox14 // - this.TextBox14.Location = new System.Drawing.Point(144, 48); - this.TextBox14.Name = "TextBox14"; - this.TextBox14.Size = new System.Drawing.Size(96, 20); - this.TextBox14.TabIndex = 18; - this.TextBox14.Text = "TextBox14"; + TextBox14.Location = new Point(192, 74); + TextBox14.Margin = new Padding(4, 5, 4, 5); + TextBox14.Name = "TextBox14"; + TextBox14.Size = new Size(127, 27); + TextBox14.TabIndex = 18; + TextBox14.Text = "TextBox14"; // // Label25 // - this.Label25.AutoSize = true; - this.Label25.ForeColor = System.Drawing.Color.Black; - this.Label25.Location = new System.Drawing.Point(17, 168); - this.Label25.Name = "Label25"; - this.Label25.Size = new System.Drawing.Size(95, 13); - this.Label25.TabIndex = 36; - this.Label25.Text = "Posizione verticale"; - this.Label25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + Label25.AutoSize = true; + Label25.ForeColor = Color.Black; + Label25.Location = new Point(23, 258); + Label25.Margin = new Padding(4, 0, 4, 0); + Label25.Name = "Label25"; + Label25.Size = new Size(131, 20); + Label25.TabIndex = 36; + Label25.Text = "Posizione verticale"; + Label25.TextAlign = ContentAlignment.MiddleLeft; // // TextBox16 // - this.TextBox16.Location = new System.Drawing.Point(144, 120); - this.TextBox16.Name = "TextBox16"; - this.TextBox16.Size = new System.Drawing.Size(96, 20); - this.TextBox16.TabIndex = 35; - this.TextBox16.Text = "TextBox16"; + TextBox16.Location = new Point(192, 185); + TextBox16.Margin = new Padding(4, 5, 4, 5); + TextBox16.Name = "TextBox16"; + TextBox16.Size = new Size(127, 27); + TextBox16.TabIndex = 35; + TextBox16.Text = "TextBox16"; // // Label24 // - this.Label24.AutoSize = true; - this.Label24.ForeColor = System.Drawing.Color.Black; - this.Label24.Location = new System.Drawing.Point(19, 123); - this.Label24.Name = "Label24"; - this.Label24.Size = new System.Drawing.Size(88, 13); - this.Label24.TabIndex = 34; - this.Label24.Text = "Margine (pixel/%)"; - this.Label24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + Label24.AutoSize = true; + Label24.ForeColor = Color.Black; + Label24.Location = new Point(25, 189); + Label24.Margin = new Padding(4, 0, 4, 0); + Label24.Name = "Label24"; + Label24.Size = new Size(128, 20); + Label24.TabIndex = 34; + Label24.Text = "Margine (pixel/%)"; + Label24.TextAlign = ContentAlignment.MiddleLeft; // // Label22 // - this.Label22.AutoSize = true; - this.Label22.ForeColor = System.Drawing.Color.Black; - this.Label22.Location = new System.Drawing.Point(19, 51); - this.Label22.Name = "Label22"; - this.Label22.Size = new System.Drawing.Size(41, 13); - this.Label22.TabIndex = 20; - this.Label22.Text = "Altezza"; - this.Label22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + Label22.AutoSize = true; + Label22.ForeColor = Color.Black; + Label22.Location = new Point(25, 78); + Label22.Margin = new Padding(4, 0, 4, 0); + Label22.Name = "Label22"; + Label22.Size = new Size(58, 20); + Label22.TabIndex = 20; + Label22.Text = "Altezza"; + Label22.TextAlign = ContentAlignment.MiddleLeft; // // Label23 // - this.Label23.AutoSize = true; - this.Label23.ForeColor = System.Drawing.Color.Black; - this.Label23.Location = new System.Drawing.Point(19, 75); - this.Label23.Name = "Label23"; - this.Label23.Size = new System.Drawing.Size(56, 13); - this.Label23.TabIndex = 21; - this.Label23.Text = "Larghezza"; - this.Label23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + Label23.AutoSize = true; + Label23.ForeColor = Color.Black; + Label23.Location = new Point(25, 115); + Label23.Margin = new Padding(4, 0, 4, 0); + Label23.Name = "Label23"; + Label23.Size = new Size(76, 20); + Label23.TabIndex = 21; + Label23.Text = "Larghezza"; + Label23.TextAlign = ContentAlignment.MiddleLeft; // // _Button4 // - this._Button4.Location = new System.Drawing.Point(464, 24); - this._Button4.Name = "_Button4"; - this._Button4.Size = new System.Drawing.Size(24, 20); - this._Button4.TabIndex = 8; - this._Button4.Text = "..."; - this._Button4.Click += new System.EventHandler(this.Button4_Click); + _Button4.Location = new Point(619, 37); + _Button4.Margin = new Padding(4, 5, 4, 5); + _Button4.Name = "_Button4"; + _Button4.Size = new Size(32, 31); + _Button4.TabIndex = 8; + _Button4.Text = "..."; + _Button4.Click += Button4_Click; // // TextBox10 // - this.TextBox10.Location = new System.Drawing.Point(144, 24); - this.TextBox10.Name = "TextBox10"; - this.TextBox10.Size = new System.Drawing.Size(312, 20); - this.TextBox10.TabIndex = 6; - this.TextBox10.Text = "TextBox10"; + TextBox10.Location = new Point(192, 37); + TextBox10.Margin = new Padding(4, 5, 4, 5); + TextBox10.Name = "TextBox10"; + TextBox10.Size = new Size(415, 27); + TextBox10.TabIndex = 6; + TextBox10.Text = "TextBox10"; // // Label29 // - this.Label29.AutoSize = true; - this.Label29.ForeColor = System.Drawing.Color.Black; - this.Label29.Location = new System.Drawing.Point(17, 147); - this.Label29.Name = "Label29"; - this.Label29.Size = new System.Drawing.Size(105, 13); - this.Label29.TabIndex = 36; - this.Label29.Text = "Posizione orizzontale"; - this.Label29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + Label29.AutoSize = true; + Label29.ForeColor = Color.Black; + Label29.Location = new Point(23, 226); + Label29.Margin = new Padding(4, 0, 4, 0); + Label29.Name = "Label29"; + Label29.Size = new Size(149, 20); + Label29.TabIndex = 36; + Label29.Text = "Posizione orizzontale"; + Label29.TextAlign = ContentAlignment.MiddleLeft; // // Label30 // - this.Label30.AutoSize = true; - this.Label30.ForeColor = System.Drawing.Color.Black; - this.Label30.Location = new System.Drawing.Point(19, 203); - this.Label30.Name = "Label30"; - this.Label30.Size = new System.Drawing.Size(93, 13); - this.Label30.TabIndex = 36; - this.Label30.Text = "Colore trasparente"; - this.Label30.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.Label30.Visible = false; + Label30.AutoSize = true; + Label30.ForeColor = Color.Black; + Label30.Location = new Point(25, 312); + Label30.Margin = new Padding(4, 0, 4, 0); + Label30.Name = "Label30"; + Label30.Size = new Size(132, 20); + Label30.TabIndex = 36; + Label30.Text = "Colore trasparente"; + Label30.TextAlign = ContentAlignment.MiddleLeft; + Label30.Visible = false; // // PictureBox3 // - this.PictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.PictureBox3.Location = new System.Drawing.Point(216, 192); - this.PictureBox3.Name = "PictureBox3"; - this.PictureBox3.Size = new System.Drawing.Size(24, 24); - this.PictureBox3.TabIndex = 44; - this.PictureBox3.TabStop = false; - this.PictureBox3.Visible = false; + PictureBox3.BorderStyle = BorderStyle.FixedSingle; + PictureBox3.Location = new Point(288, 295); + PictureBox3.Margin = new Padding(4, 5, 4, 5); + PictureBox3.Name = "PictureBox3"; + PictureBox3.Size = new Size(31, 36); + PictureBox3.TabIndex = 44; + PictureBox3.TabStop = false; + PictureBox3.Visible = false; // // _Label27 // - this._Label27.Location = new System.Drawing.Point(591, 378); - this._Label27.Name = "_Label27"; - this._Label27.Size = new System.Drawing.Size(140, 20); - this._Label27.TabIndex = 62; - this._Label27.Text = "Versione 2.2 2021"; - this._Label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this._Label27.Click += new System.EventHandler(this.Label27_Click); + _Label27.Location = new Point(788, 582); + _Label27.Margin = new Padding(4, 0, 4, 0); + _Label27.Name = "_Label27"; + _Label27.Size = new Size(187, 31); + _Label27.TabIndex = 62; + _Label27.Text = "Versione 2.2 2021"; + _Label27.TextAlign = ContentAlignment.MiddleRight; + _Label27.Click += Label27_Click; // // _Button7 // - this._Button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this._Button7.Location = new System.Drawing.Point(539, 120); - this._Button7.Name = "_Button7"; - this._Button7.Size = new System.Drawing.Size(192, 40); - this._Button7.TabIndex = 61; - this._Button7.Text = "stop creazione"; - this._Button7.Click += new System.EventHandler(this.Button7_Click); + _Button7.Font = new Font("Microsoft Sans Serif", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 0); + _Button7.Location = new Point(719, 185); + _Button7.Margin = new Padding(4, 5, 4, 5); + _Button7.Name = "_Button7"; + _Button7.Size = new Size(256, 62); + _Button7.TabIndex = 61; + _Button7.Text = "stop creazione"; + _Button7.Click += Button7_Click; // // _Button5 // - this._Button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this._Button5.Location = new System.Drawing.Point(539, 43); - this._Button5.Name = "_Button5"; - this._Button5.Size = new System.Drawing.Size(192, 32); - this._Button5.TabIndex = 60; - this._Button5.Text = "Salva impostazioni"; - this._Button5.Click += new System.EventHandler(this.Button5_Click); + _Button5.Font = new Font("Microsoft Sans Serif", 11F, FontStyle.Bold, GraphicsUnit.Point, 0); + _Button5.Location = new Point(719, 66); + _Button5.Margin = new Padding(4, 5, 4, 5); + _Button5.Name = "_Button5"; + _Button5.Size = new Size(256, 49); + _Button5.TabIndex = 60; + _Button5.Text = "Salva impostazioni"; + _Button5.Click += Button5_Click; // // Label20 // - this.Label20.AutoSize = true; - this.Label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label20.Location = new System.Drawing.Point(539, 294); - this.Label20.Name = "Label20"; - this.Label20.Size = new System.Drawing.Size(104, 16); - this.Label20.TabIndex = 59; - this.Label20.Text = "foto generate:"; + Label20.AutoSize = true; + Label20.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Bold, GraphicsUnit.Point, 0); + Label20.Location = new Point(719, 452); + Label20.Margin = new Padding(4, 0, 4, 0); + Label20.Name = "Label20"; + Label20.Size = new Size(126, 20); + Label20.TabIndex = 59; + Label20.Text = "foto generate:"; // // Label19 // - this.Label19.AutoSize = true; - this.Label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label19.Location = new System.Drawing.Point(539, 275); - this.Label19.Name = "Label19"; - this.Label19.Size = new System.Drawing.Size(80, 16); - this.Label19.TabIndex = 58; - this.Label19.Text = "foto totali: "; + Label19.AutoSize = true; + Label19.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Bold, GraphicsUnit.Point, 0); + Label19.Location = new Point(719, 423); + Label19.Margin = new Padding(4, 0, 4, 0); + Label19.Name = "Label19"; + Label19.Size = new Size(101, 20); + Label19.TabIndex = 58; + Label19.Text = "foto totali: "; // // Label18 // - this.Label18.AutoSize = true; - this.Label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label18.Location = new System.Drawing.Point(643, 294); - this.Label18.Name = "Label18"; - this.Label18.Size = new System.Drawing.Size(19, 20); - this.Label18.TabIndex = 57; - this.Label18.Text = "0"; + Label18.AutoSize = true; + Label18.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Bold, GraphicsUnit.Point, 0); + Label18.Location = new Point(857, 452); + Label18.Margin = new Padding(4, 0, 4, 0); + Label18.Name = "Label18"; + Label18.Size = new Size(24, 25); + Label18.TabIndex = 57; + Label18.Text = "0"; // // lblFotoTotaliNum // - this.lblFotoTotaliNum.AutoSize = true; - this.lblFotoTotaliNum.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblFotoTotaliNum.Location = new System.Drawing.Point(643, 275); - this.lblFotoTotaliNum.Name = "lblFotoTotaliNum"; - this.lblFotoTotaliNum.Size = new System.Drawing.Size(19, 20); - this.lblFotoTotaliNum.TabIndex = 56; - this.lblFotoTotaliNum.Text = "0"; + lblFotoTotaliNum.AutoSize = true; + lblFotoTotaliNum.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Bold, GraphicsUnit.Point, 0); + lblFotoTotaliNum.Location = new Point(857, 423); + lblFotoTotaliNum.Margin = new Padding(4, 0, 4, 0); + lblFotoTotaliNum.Name = "lblFotoTotaliNum"; + lblFotoTotaliNum.Size = new Size(24, 25); + lblFotoTotaliNum.TabIndex = 56; + lblFotoTotaliNum.Text = "0"; // // Label10 // - this.Label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label10.Location = new System.Drawing.Point(539, 163); - this.Label10.Name = "Label10"; - this.Label10.Size = new System.Drawing.Size(192, 72); - this.Label10.TabIndex = 55; - this.Label10.Text = "file"; + Label10.Font = new Font("Microsoft Sans Serif", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 0); + Label10.Location = new Point(719, 251); + Label10.Margin = new Padding(4, 0, 4, 0); + Label10.Name = "Label10"; + Label10.Size = new Size(256, 111); + Label10.TabIndex = 55; + Label10.Text = "file"; // // _Button6 // - this._Button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this._Button6.Location = new System.Drawing.Point(539, 12); - this._Button6.Name = "_Button6"; - this._Button6.Size = new System.Drawing.Size(192, 32); - this._Button6.TabIndex = 54; - this._Button6.Text = "Carica impostazioni"; - this._Button6.Click += new System.EventHandler(this.Button6_Click); + _Button6.Font = new Font("Microsoft Sans Serif", 11F, FontStyle.Bold, GraphicsUnit.Point, 0); + _Button6.Location = new Point(719, 18); + _Button6.Margin = new Padding(4, 5, 4, 5); + _Button6.Name = "_Button6"; + _Button6.Size = new Size(256, 49); + _Button6.TabIndex = 54; + _Button6.Text = "Carica impostazioni"; + _Button6.Click += Button6_Click; // // _btnCreaCatalogoAsync // - this._btnCreaCatalogoAsync.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this._btnCreaCatalogoAsync.Location = new System.Drawing.Point(539, 78); - this._btnCreaCatalogoAsync.Name = "_btnCreaCatalogoAsync"; - this._btnCreaCatalogoAsync.Size = new System.Drawing.Size(192, 38); - this._btnCreaCatalogoAsync.TabIndex = 68; - this._btnCreaCatalogoAsync.Text = "CREA"; - this._btnCreaCatalogoAsync.UseVisualStyleBackColor = true; - this._btnCreaCatalogoAsync.Click += new System.EventHandler(this.Button1_Click); + _btnCreaCatalogoAsync.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold, GraphicsUnit.Point, 0); + _btnCreaCatalogoAsync.Location = new Point(719, 120); + _btnCreaCatalogoAsync.Margin = new Padding(4, 5, 4, 5); + _btnCreaCatalogoAsync.Name = "_btnCreaCatalogoAsync"; + _btnCreaCatalogoAsync.Size = new Size(256, 58); + _btnCreaCatalogoAsync.TabIndex = 68; + _btnCreaCatalogoAsync.Text = "CREA"; + _btnCreaCatalogoAsync.UseVisualStyleBackColor = true; + _btnCreaCatalogoAsync.Click += Button1_Click; + // + // dataModelBindingSource1 + // + dataModelBindingSource1.DataSource = typeof(ImageCatalog_2.DataModel); // // MainForm // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(739, 401); - this.Controls.Add(this._btnCreaCatalogoAsync); - this.Controls.Add(this.ProgressBar1); - this.Controls.Add(this.CheckBox22); - this.Controls.Add(this.Label43); - this.Controls.Add(this.TabControl1); - this.Controls.Add(this._Label27); - this.Controls.Add(this._Button7); - this.Controls.Add(this._Button5); - this.Controls.Add(this.Label20); - this.Controls.Add(this.Label19); - this.Controls.Add(this.Label18); - this.Controls.Add(this.lblFotoTotaliNum); - this.Controls.Add(this.Label10); - this.Controls.Add(this._Button6); - this.MaximizeBox = false; - this.Name = "MainForm"; - this.Text = "Image Catalog"; - this.Load += new System.EventHandler(this.Form1_Load); - this.TabControl1.ResumeLayout(false); - this.TabPage5.ResumeLayout(false); - this.GroupBox11.ResumeLayout(false); - this.GroupBox11.PerformLayout(); - this.Panel3.ResumeLayout(false); - this.Panel3.PerformLayout(); - this.GroupBox3.ResumeLayout(false); - this.GroupBox3.PerformLayout(); - this.GroupBox8.ResumeLayout(false); - this.GroupBox8.PerformLayout(); - this.GroupBox7.ResumeLayout(false); - this.GroupBox7.PerformLayout(); - this.TabPage3.ResumeLayout(false); - this.GroupBox10.ResumeLayout(false); - this.GroupBox10.PerformLayout(); - this.GroupBox9.ResumeLayout(false); - this.GroupBox9.PerformLayout(); - this.GroupBox5.ResumeLayout(false); - this.GroupBox5.PerformLayout(); - this.GroupBox4.ResumeLayout(false); - this.GroupBox4.PerformLayout(); - this.TabPage2.ResumeLayout(false); - this.GroupBox2.ResumeLayout(false); - this.GroupBox2.PerformLayout(); - this.TabPage1.ResumeLayout(false); - this.Panel1.ResumeLayout(false); - this.Panel1.PerformLayout(); - this.GroupBox1.ResumeLayout(false); - this.GroupBox1.PerformLayout(); - this.Panel2.ResumeLayout(false); - this.Panel2.PerformLayout(); - this.TabPage4.ResumeLayout(false); - this.GroupBox6.ResumeLayout(false); - this.GroupBox6.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this._PictureBox1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(985, 617); + Controls.Add(_btnCreaCatalogoAsync); + Controls.Add(ProgressBar1); + Controls.Add(CheckBox22); + Controls.Add(Label43); + Controls.Add(TabControl1); + Controls.Add(_Label27); + Controls.Add(_Button7); + Controls.Add(_Button5); + Controls.Add(Label20); + Controls.Add(Label19); + Controls.Add(Label18); + Controls.Add(lblFotoTotaliNum); + Controls.Add(Label10); + Controls.Add(_Button6); + Margin = new Padding(4, 5, 4, 5); + MaximizeBox = false; + Name = "MainForm"; + Text = "Image Catalog"; + Load += Form1_Load; + TabControl1.ResumeLayout(false); + TabPage5.ResumeLayout(false); + GroupBox11.ResumeLayout(false); + GroupBox11.PerformLayout(); + Panel3.ResumeLayout(false); + Panel3.PerformLayout(); + GroupBox3.ResumeLayout(false); + GroupBox3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)bindingSource1).EndInit(); + ((System.ComponentModel.ISupportInitialize)dataModelBindingSource).EndInit(); + GroupBox8.ResumeLayout(false); + GroupBox8.PerformLayout(); + GroupBox7.ResumeLayout(false); + GroupBox7.PerformLayout(); + TabPage3.ResumeLayout(false); + GroupBox10.ResumeLayout(false); + GroupBox10.PerformLayout(); + GroupBox9.ResumeLayout(false); + GroupBox9.PerformLayout(); + GroupBox5.ResumeLayout(false); + GroupBox5.PerformLayout(); + GroupBox4.ResumeLayout(false); + GroupBox4.PerformLayout(); + TabPage2.ResumeLayout(false); + GroupBox2.ResumeLayout(false); + GroupBox2.PerformLayout(); + TabPage1.ResumeLayout(false); + Panel1.ResumeLayout(false); + Panel1.PerformLayout(); + GroupBox1.ResumeLayout(false); + GroupBox1.PerformLayout(); + Panel2.ResumeLayout(false); + Panel2.PerformLayout(); + TabPage4.ResumeLayout(false); + GroupBox6.ResumeLayout(false); + GroupBox6.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)PictureBox2).EndInit(); + ((System.ComponentModel.ISupportInitialize)_PictureBox1).EndInit(); + ((System.ComponentModel.ISupportInitialize)PictureBox3).EndInit(); + ((System.ComponentModel.ISupportInitialize)dataModelBindingSource1).EndInit(); + ResumeLayout(false); + PerformLayout(); } internal ProgressBar ProgressBar1; @@ -2131,6 +2302,9 @@ namespace ImageCatalog internal CheckBox chkSovrascriviFile; private Button _btnCreaCatalogoAsync; private System.Windows.Forms.Timer timer1; + private BindingSource dataModelBindingSource; + private BindingSource dataModelBindingSource1; + private BindingSource bindingSource1; internal Button btnCreaCatalogoAsync { diff --git a/imagecatalog/MainForm.cs b/imagecatalog/MainForm.cs index e074f8c..80b9eb5 100644 --- a/imagecatalog/MainForm.cs +++ b/imagecatalog/MainForm.cs @@ -11,6 +11,7 @@ using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using CatalogVbLib; +using ImageCatalog_2; using ImageCatalog_2.Services; using MaddoShared; using Microsoft.VisualBasic; @@ -23,13 +24,23 @@ namespace ImageCatalog public partial class MainForm { + + public DataModel Model { get; set; } + private readonly ITestService _service; public MainForm(ITestService testService) { _service = testService; - + + Model = new DataModel(); + InitializeComponent(); + + bindingSource1.DataSource = Model; + + BindControls(); + _Button3.Name = "Button3"; _Button2.Name = "Button2"; _Button8.Name = "Button8"; @@ -52,6 +63,12 @@ namespace ImageCatalog UiUpdateEvent += OnUiUpdateEvent; } + + protected void BindControls() + { + //txtSorgente.DataBindings.Add(new Binding("Text", SourcePath, "")); + } + private event EventHandler> UiUpdateEvent; delegate void SetTextCallback(Label target, string text); @@ -107,8 +124,9 @@ namespace ImageCatalog private void setDefaults() { - txtSorgente.Text = ""; - txtDestinazione.Text = ""; + //txtSorgente.Text = ""; + Model.SourcePath = string.Empty; + Model.DestinationPath = string.Empty; TextBox3.Text = "tn_"; TextBox4.Text = ""; TextBox5.Text = "350"; @@ -191,14 +209,14 @@ namespace ImageCatalog private void FixPaths() { - if (txtSorgente.Text.EndsWith(@"\") == false) + if (Model.SourcePath.EndsWith(@"\") == false) { - txtSorgente.Text += @"\"; + Model.SourcePath += @"\"; } - if (txtDestinazione.Text.EndsWith(@"\") == false) + if (Model.DestinationPath.EndsWith(@"\") == false) { - txtDestinazione.Text += @"\"; + Model.DestinationPath += @"\"; } } @@ -233,7 +251,7 @@ namespace ImageCatalog minThreads = Conversions.ToInteger(TextBox8.Text); if (rdbNuovoMetodo.Checked) { - setPicSettings(txtSorgente.Text, txtDestinazione.Text); + setPicSettings(Model.SourcePath, Model.DestinationPath); ProgressBar1.Minimum = 0; ProgressBar1.Step = 1; ProgressBar1.Value = 0; @@ -256,7 +274,7 @@ namespace ImageCatalog ContaImmaginiThread = 0; // creaImmaginiWithThreadMod(txtSorgente.Text, txtDestinazione.Text) - creaimmaginiWithThreadDict(txtSorgente.Text, txtDestinazione.Text); + creaimmaginiWithThreadDict(Model.SourcePath, Model.DestinationPath); ThreadPoolWorkItem ThAttivo = null; int i = 0; /* TODO ERROR: Skipped DefineDirectiveTrivia */ @@ -295,7 +313,7 @@ namespace ImageCatalog MyPool.StopThreadPool(); MyPool.StartThreadPool(minThreads, maxThreads); ContaImmaginiThread = 0; - CreaImmaginiWithThread(txtSorgente.Text, txtDestinazione.Text); + CreaImmaginiWithThread(Model.SourcePath, Model.DestinationPath); ThreadPoolWorkItem ThAttivo = null; int i = 0; while (i != ContaImmaginiThread) @@ -357,10 +375,10 @@ namespace ImageCatalog private void Button2_Click(object sender, EventArgs e) { - var dialogResult = SelectFolder(txtSorgente.Text); + var dialogResult = SelectFolder(Model.SourcePath); if (!string.IsNullOrWhiteSpace(dialogResult)) { - txtSorgente.Text = dialogResult; + Model.SourcePath = dialogResult; } //CommonOpenFileDialog dialog = new CommonOpenFileDialog(); @@ -393,10 +411,10 @@ namespace ImageCatalog private void Button3_Click(object sender, EventArgs e) { - var dialogResult = SelectFolder(txtDestinazione.Text); + var dialogResult = SelectFolder(Model.DestinationPath); if (!string.IsNullOrWhiteSpace(dialogResult)) { - txtDestinazione.Text = dialogResult; + Model.DestinationPath = dialogResult; } //var DirSearch = new FolderBrowserDialog(); @@ -448,8 +466,8 @@ namespace ImageCatalog { string IlNome = SaveFileDlg.FileName; Module1.SetupIni.NomeFileSetup = IlNome; - Module1.SetupIni.AggiornaParametro("DirSorgente", txtSorgente.Text); - Module1.SetupIni.AggiornaParametro("DirDestinazione", txtDestinazione.Text); + Module1.SetupIni.AggiornaParametro("DirSorgente", Model.SourcePath); + Module1.SetupIni.AggiornaParametro("DirDestinazione", Model.DestinationPath); Module1.SetupIni.AggiornaParametro("DirSottoDirectory", chkAggiornaSottodirectory.Checked); Module1.SetupIni.AggiornaParametro("DirDividiDestinazione", chkCreaSottocartelle.Checked); Module1.SetupIni.AggiornaParametro("DirDividiNumFile", txtFilePerCartella.Text); @@ -530,8 +548,8 @@ namespace ImageCatalog string IlNome = openFileDialog.FileName; Module1.SetupIni.NomeFileSetup = IlNome; Module1.SetupIni.CaricaParametriSetup(); - txtSorgente.Text = Module1.SetupIni.LeggiParametroString("DirSorgente"); - txtDestinazione.Text = Module1.SetupIni.LeggiParametroString("DirDestinazione"); + Model.SourcePath = Module1.SetupIni.LeggiParametroString("DirSorgente"); + Model.DestinationPath = Module1.SetupIni.LeggiParametroString("DirDestinazione"); chkAggiornaSottodirectory.Checked = Module1.SetupIni.LeggiParametroBoolean("DirSottoDirectory"); chkCreaSottocartelle.Checked = Module1.SetupIni.LeggiParametroBoolean("DirDividiDestinazione"); txtFilePerCartella.Text = Module1.SetupIni.LeggiParametroString("DirDividiNumFile"); @@ -626,8 +644,8 @@ namespace ImageCatalog var SourceDir = new DirectoryInfo(SourcePath); var DestDirStart = new DirectoryInfo(DestPath); DirectoryInfo DestDir = null; - PicSettings.DirectorySorgente = txtSorgente.Text; - PicSettings.DirectoryDestinazione = txtDestinazione.Text; + PicSettings.DirectorySorgente = SourcePath; + PicSettings.DirectoryDestinazione = Model.DestinationPath; // PicSettings.DestDir = DestDir // PicSettings.SourceDir = SourceDir @@ -1213,8 +1231,8 @@ namespace ImageCatalog Application.DoEvents(); var ClsCreaImmagine = new CreaImmagineSeparateThread(); - ClsCreaImmagine.DirectorySorgente = txtSorgente.Text; - ClsCreaImmagine.DirectoryDestinazione = txtDestinazione.Text; + ClsCreaImmagine.DirectorySorgente = SourcePath; + ClsCreaImmagine.DirectoryDestinazione = Model.DestinationPath; ClsCreaImmagine.DestDir = DestDir; ClsCreaImmagine.SourceDir = SourceDir; ClsCreaImmagine.DestDirStart = DestDirStart; @@ -1531,7 +1549,7 @@ namespace ImageCatalog lblFotoTotaliNum.Text = "0"; Label18.Text = "0"; Label43.Text = "-s"; - setPicSettings(txtSorgente.Text, txtDestinazione.Text); + setPicSettings(Model.SourcePath, Model.DestinationPath); ProgressBar1.Minimum = 0; ProgressBar1.Step = 1; ProgressBar1.Value = 0; @@ -1545,8 +1563,8 @@ namespace ImageCatalog imageCreationOptions.SuffissoCartelle = txtSuffissoCartelle.Text; imageCreationOptions.CifreContatore = Conversions.ToInteger(txtCifreContatore.Text); imageCreationOptions.NumerazioneType = GetNumerazioneEnum(); - imageCreationOptions.SourcePath = txtSorgente.Text; - imageCreationOptions.DestinationPath = txtDestinazione.Text; + imageCreationOptions.SourcePath = Model.SourcePath; + imageCreationOptions.DestinationPath = Model.DestinationPath; imageCreationOptions.MaxThreads = Conversions.ToInteger(TextBox7.Text); imageCreationOptions.ChunksSize = Conversions.ToInteger(TextBox8.Text); imageCreationOptions.LinearExecution = rdbVecchioMetodo.Checked; @@ -1611,8 +1629,8 @@ namespace ImageCatalog imageCreationOptions.SuffissoCartelle = txtSuffissoCartelle.Text; imageCreationOptions.CifreContatore = Conversions.ToInteger(txtCifreContatore.Text); imageCreationOptions.NumerazioneType = GetNumerazioneEnum(); - imageCreationOptions.SourcePath = txtSorgente.Text; - imageCreationOptions.DestinationPath = txtDestinazione.Text; + imageCreationOptions.SourcePath = Model.SourcePath; + imageCreationOptions.DestinationPath = Model.DestinationPath; await imgStf.CreaImmaginiParallel(imageCreationOptions, _results, UiUpdateEvent); // Await CreaImmaginiParallel(txtSorgente.Text, txtDestinazione.Text) diff --git a/imagecatalog/MainForm.resx b/imagecatalog/MainForm.resx index 1f666f2..a4e857a 100644 --- a/imagecatalog/MainForm.resx +++ b/imagecatalog/MainForm.resx @@ -1,17 +1,17 @@  - @@ -117,7 +117,16 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 586, 17 + + + 120, 17 + 17, 17 + + 349, 17 + \ No newline at end of file diff --git a/imagecatalog/Properties/DataSources/DataModel.datasource b/imagecatalog/Properties/DataSources/DataModel.datasource new file mode 100644 index 0000000..e6b82be --- /dev/null +++ b/imagecatalog/Properties/DataSources/DataModel.datasource @@ -0,0 +1,10 @@ + + + + ImageCatalog_2.DataModel, ImageCatalog 2, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/imagecatalog/ViewModelBase.cs b/imagecatalog/ViewModelBase.cs new file mode 100644 index 0000000..bedbb78 --- /dev/null +++ b/imagecatalog/ViewModelBase.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; + +namespace ImageCatalog_2 +{ + public class ViewModelBase : INotifyPropertyChanged + { + public event PropertyChangedEventHandler? PropertyChanged; + // This method is called by the Set accessor of each property. + // The CallerMemberName attribute that is applied to the optional propertyName + // parameter causes the property name of the caller to be substituted as an argument. + protected void NotifyPropertyChanged([CallerMemberName] String propertyName = "") + { + if (PropertyChanged != null) + { + PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); + } + } + + } +}