188 lines
8.9 KiB
C#
188 lines
8.9 KiB
C#
namespace CSVToXML
|
|
{
|
|
partial class frmCSVToXML
|
|
{
|
|
/// <summary>
|
|
/// Variabile di progettazione necessaria.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Pulire le risorse in uso.
|
|
/// </summary>
|
|
/// <param name="disposing">ha valore true se le risorse gestite devono essere eliminate, false in caso contrario.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Codice generato da Progettazione Windows Form
|
|
|
|
/// <summary>
|
|
/// Metodo necessario per il supporto della finestra di progettazione. Non modificare
|
|
/// il contenuto del metodo con l'editor di codice.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.txtArea = new System.Windows.Forms.TextBox();
|
|
this.lblCSV = new System.Windows.Forms.Label();
|
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|
this.txtFile = new System.Windows.Forms.TextBox();
|
|
this.btnCercaFile = new System.Windows.Forms.Button();
|
|
this.btnConverti = new System.Windows.Forms.Button();
|
|
this.lblCodAzi = new System.Windows.Forms.Label();
|
|
this.lblData = new System.Windows.Forms.Label();
|
|
this.txtCodAzi = new System.Windows.Forms.TextBox();
|
|
this.dtpAnnoMese = new System.Windows.Forms.DateTimePicker();
|
|
this.btnXmlInv = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// txtArea
|
|
//
|
|
this.txtArea.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtArea.Location = new System.Drawing.Point(17, 181);
|
|
this.txtArea.Multiline = true;
|
|
this.txtArea.Name = "txtArea";
|
|
this.txtArea.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.txtArea.Size = new System.Drawing.Size(604, 324);
|
|
this.txtArea.TabIndex = 7;
|
|
//
|
|
// lblCSV
|
|
//
|
|
this.lblCSV.AutoSize = true;
|
|
this.lblCSV.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblCSV.Location = new System.Drawing.Point(15, 91);
|
|
this.lblCSV.Name = "lblCSV";
|
|
this.lblCSV.Size = new System.Drawing.Size(124, 15);
|
|
this.lblCSV.TabIndex = 1;
|
|
this.lblCSV.Text = "File CSV da convertire:";
|
|
//
|
|
// openFileDialog1
|
|
//
|
|
this.openFileDialog1.FileName = "openFileDialog1";
|
|
this.openFileDialog1.InitialDirectory = "@\"C:\\\"";
|
|
this.openFileDialog1.RestoreDirectory = true;
|
|
//
|
|
// txtFile
|
|
//
|
|
this.txtFile.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtFile.Location = new System.Drawing.Point(17, 109);
|
|
this.txtFile.Name = "txtFile";
|
|
this.txtFile.Size = new System.Drawing.Size(516, 23);
|
|
this.txtFile.TabIndex = 3;
|
|
//
|
|
// btnCercaFile
|
|
//
|
|
this.btnCercaFile.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnCercaFile.Location = new System.Drawing.Point(540, 109);
|
|
this.btnCercaFile.Name = "btnCercaFile";
|
|
this.btnCercaFile.Size = new System.Drawing.Size(82, 23);
|
|
this.btnCercaFile.TabIndex = 4;
|
|
this.btnCercaFile.Text = "Cerca";
|
|
this.btnCercaFile.UseVisualStyleBackColor = true;
|
|
this.btnCercaFile.Click += new System.EventHandler(this.btnCercaFile_Click);
|
|
//
|
|
// btnConverti
|
|
//
|
|
this.btnConverti.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnConverti.Location = new System.Drawing.Point(18, 148);
|
|
this.btnConverti.Name = "btnConverti";
|
|
this.btnConverti.Size = new System.Drawing.Size(79, 27);
|
|
this.btnConverti.TabIndex = 5;
|
|
this.btnConverti.Text = "Genera XML";
|
|
this.btnConverti.UseVisualStyleBackColor = true;
|
|
this.btnConverti.Click += new System.EventHandler(this.btnConverti_Click);
|
|
//
|
|
// lblCodAzi
|
|
//
|
|
this.lblCodAzi.AutoSize = true;
|
|
this.lblCodAzi.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblCodAzi.Location = new System.Drawing.Point(15, 15);
|
|
this.lblCodAzi.Name = "lblCodAzi";
|
|
this.lblCodAzi.Size = new System.Drawing.Size(92, 15);
|
|
this.lblCodAzi.TabIndex = 6;
|
|
this.lblCodAzi.Text = "Codice Azienda:";
|
|
//
|
|
// lblData
|
|
//
|
|
this.lblData.AutoSize = true;
|
|
this.lblData.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblData.Location = new System.Drawing.Point(15, 57);
|
|
this.lblData.Name = "lblData";
|
|
this.lblData.Size = new System.Drawing.Size(75, 15);
|
|
this.lblData.TabIndex = 7;
|
|
this.lblData.Text = "Data calcolo:";
|
|
//
|
|
// txtCodAzi
|
|
//
|
|
this.txtCodAzi.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtCodAzi.Location = new System.Drawing.Point(113, 12);
|
|
this.txtCodAzi.MaxLength = 4;
|
|
this.txtCodAzi.Name = "txtCodAzi";
|
|
this.txtCodAzi.Size = new System.Drawing.Size(98, 23);
|
|
this.txtCodAzi.TabIndex = 1;
|
|
this.txtCodAzi.Leave += new System.EventHandler(this.txtCodAzi_Leave);
|
|
//
|
|
// dtpAnnoMese
|
|
//
|
|
this.dtpAnnoMese.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.dtpAnnoMese.Location = new System.Drawing.Point(113, 53);
|
|
this.dtpAnnoMese.Name = "dtpAnnoMese";
|
|
this.dtpAnnoMese.Size = new System.Drawing.Size(194, 23);
|
|
this.dtpAnnoMese.TabIndex = 2;
|
|
//
|
|
// btnXmlInv
|
|
//
|
|
this.btnXmlInv.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnXmlInv.Location = new System.Drawing.Point(103, 148);
|
|
this.btnXmlInv.Name = "btnXmlInv";
|
|
this.btnXmlInv.Size = new System.Drawing.Size(84, 27);
|
|
this.btnXmlInv.TabIndex = 6;
|
|
this.btnXmlInv.Text = "XML Inv.";
|
|
this.btnXmlInv.UseVisualStyleBackColor = true;
|
|
this.btnXmlInv.Click += new System.EventHandler(this.btnXmlInv_Click);
|
|
//
|
|
// frmCSVToXML
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(633, 517);
|
|
this.Controls.Add(this.btnXmlInv);
|
|
this.Controls.Add(this.dtpAnnoMese);
|
|
this.Controls.Add(this.txtCodAzi);
|
|
this.Controls.Add(this.lblData);
|
|
this.Controls.Add(this.lblCodAzi);
|
|
this.Controls.Add(this.btnConverti);
|
|
this.Controls.Add(this.btnCercaFile);
|
|
this.Controls.Add(this.txtFile);
|
|
this.Controls.Add(this.lblCSV);
|
|
this.Controls.Add(this.txtArea);
|
|
this.Name = "frmCSVToXML";
|
|
this.ShowIcon = false;
|
|
this.Text = "Converti da CSV a XML";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox txtArea;
|
|
private System.Windows.Forms.Label lblCSV;
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
|
private System.Windows.Forms.TextBox txtFile;
|
|
private System.Windows.Forms.Button btnCercaFile;
|
|
private System.Windows.Forms.Button btnConverti;
|
|
private System.Windows.Forms.Label lblCodAzi;
|
|
private System.Windows.Forms.Label lblData;
|
|
private System.Windows.Forms.TextBox txtCodAzi;
|
|
private System.Windows.Forms.DateTimePicker dtpAnnoMese;
|
|
private System.Windows.Forms.Button btnXmlInv;
|
|
}
|
|
}
|
|
|