Aggiunta configurazione e gestione del dataset Inventario

Sono stati aggiunti nuovi file di configurazione e progetto per l'applicazione "Inventario", inclusi `App.config` per la connessione al database Access e `Inventario.csproj` per la struttura del progetto.

È stata creata una soluzione di Visual Studio con configurazioni per diverse piattaforme.

In `InventarioDataSet.Designer.cs`, sono state definite classi per gestire le entità dell'inventario, inclusi articoli e fornitori, con metodi per operazioni di database.

È stata implementata una nuova interfaccia utente per la gestione degli articoli, con funzionalità per aggiungere, modificare ed eliminare articoli, e migliorata la gestione degli errori con messaggi informativi.
This commit is contained in:
2025-08-17 22:37:15 +02:00
parent 182d557d33
commit 1bd26507af
23 changed files with 7775 additions and 0 deletions

View File

@@ -0,0 +1,209 @@
namespace Inventario
{
partial class ElencoArticoli
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.ButtonAggiorna = new System.Windows.Forms.Button();
this.TextCerca = new System.Windows.Forms.TextBox();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.articoloDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.descrizioneDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.noteDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.prezzoAcquistoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.prezzoVenditaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.fornitoreDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.condizioneDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.articoliBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.inventarioDataSet = new Inventario.InventarioDataSet();
this.articoliTableAdapter = new Inventario.InventarioDataSetTableAdapters.ArticoliTableAdapter();
this.ButtonCerca = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.articoliBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.inventarioDataSet)).BeginInit();
this.SuspendLayout();
//
// ButtonAggiorna
//
this.ButtonAggiorna.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ButtonAggiorna.Location = new System.Drawing.Point(1117, 12);
this.ButtonAggiorna.Name = "ButtonAggiorna";
this.ButtonAggiorna.Size = new System.Drawing.Size(123, 23);
this.ButtonAggiorna.TabIndex = 0;
this.ButtonAggiorna.Text = "AGGIORNA";
this.ButtonAggiorna.UseVisualStyleBackColor = true;
this.ButtonAggiorna.Click += new System.EventHandler(this.ButtonAggiorna_Click);
//
// TextCerca
//
this.TextCerca.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.TextCerca.Location = new System.Drawing.Point(167, 14);
this.TextCerca.Name = "TextCerca";
this.TextCerca.Size = new System.Drawing.Size(944, 20);
this.TextCerca.TabIndex = 1;
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToOrderColumns = true;
this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dataGridView1.AutoGenerateColumns = false;
this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.articoloDataGridViewTextBoxColumn,
this.descrizioneDataGridViewTextBoxColumn,
this.noteDataGridViewTextBoxColumn,
this.prezzoAcquistoDataGridViewTextBoxColumn,
this.prezzoVenditaDataGridViewTextBoxColumn,
this.fornitoreDataGridViewTextBoxColumn,
this.condizioneDataGridViewTextBoxColumn});
this.dataGridView1.DataSource = this.articoliBindingSource;
this.dataGridView1.Location = new System.Drawing.Point(12, 41);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dataGridView1.Size = new System.Drawing.Size(1228, 397);
this.dataGridView1.TabIndex = 2;
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
//
// articoloDataGridViewTextBoxColumn
//
this.articoloDataGridViewTextBoxColumn.DataPropertyName = "Articolo";
this.articoloDataGridViewTextBoxColumn.HeaderText = "Articolo";
this.articoloDataGridViewTextBoxColumn.Name = "articoloDataGridViewTextBoxColumn";
this.articoloDataGridViewTextBoxColumn.ReadOnly = true;
//
// descrizioneDataGridViewTextBoxColumn
//
this.descrizioneDataGridViewTextBoxColumn.DataPropertyName = "Descrizione";
this.descrizioneDataGridViewTextBoxColumn.HeaderText = "Descrizione";
this.descrizioneDataGridViewTextBoxColumn.Name = "descrizioneDataGridViewTextBoxColumn";
this.descrizioneDataGridViewTextBoxColumn.ReadOnly = true;
//
// noteDataGridViewTextBoxColumn
//
this.noteDataGridViewTextBoxColumn.DataPropertyName = "Note";
this.noteDataGridViewTextBoxColumn.HeaderText = "Note";
this.noteDataGridViewTextBoxColumn.Name = "noteDataGridViewTextBoxColumn";
this.noteDataGridViewTextBoxColumn.ReadOnly = true;
//
// prezzoAcquistoDataGridViewTextBoxColumn
//
this.prezzoAcquistoDataGridViewTextBoxColumn.DataPropertyName = "PrezzoAcquisto";
this.prezzoAcquistoDataGridViewTextBoxColumn.HeaderText = "PrezzoAcquisto";
this.prezzoAcquistoDataGridViewTextBoxColumn.Name = "prezzoAcquistoDataGridViewTextBoxColumn";
this.prezzoAcquistoDataGridViewTextBoxColumn.ReadOnly = true;
//
// prezzoVenditaDataGridViewTextBoxColumn
//
this.prezzoVenditaDataGridViewTextBoxColumn.DataPropertyName = "PrezzoVendita";
this.prezzoVenditaDataGridViewTextBoxColumn.HeaderText = "PrezzoVendita";
this.prezzoVenditaDataGridViewTextBoxColumn.Name = "prezzoVenditaDataGridViewTextBoxColumn";
this.prezzoVenditaDataGridViewTextBoxColumn.ReadOnly = true;
//
// fornitoreDataGridViewTextBoxColumn
//
this.fornitoreDataGridViewTextBoxColumn.DataPropertyName = "Fornitore";
this.fornitoreDataGridViewTextBoxColumn.HeaderText = "Fornitore";
this.fornitoreDataGridViewTextBoxColumn.Name = "fornitoreDataGridViewTextBoxColumn";
this.fornitoreDataGridViewTextBoxColumn.ReadOnly = true;
//
// condizioneDataGridViewTextBoxColumn
//
this.condizioneDataGridViewTextBoxColumn.DataPropertyName = "Condizione";
this.condizioneDataGridViewTextBoxColumn.HeaderText = "Condizione";
this.condizioneDataGridViewTextBoxColumn.Name = "condizioneDataGridViewTextBoxColumn";
this.condizioneDataGridViewTextBoxColumn.ReadOnly = true;
//
// articoliBindingSource
//
this.articoliBindingSource.DataMember = "Articoli";
this.articoliBindingSource.DataSource = this.inventarioDataSet;
//
// inventarioDataSet
//
this.inventarioDataSet.DataSetName = "InventarioDataSet";
this.inventarioDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// articoliTableAdapter
//
this.articoliTableAdapter.ClearBeforeFill = true;
//
// ButtonCerca
//
this.ButtonCerca.Location = new System.Drawing.Point(12, 12);
this.ButtonCerca.Name = "ButtonCerca";
this.ButtonCerca.Size = new System.Drawing.Size(149, 23);
this.ButtonCerca.TabIndex = 3;
this.ButtonCerca.Text = "CERCA PER ARTICOLO";
this.ButtonCerca.UseVisualStyleBackColor = true;
//
// ElencoArticoli
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1252, 450);
this.Controls.Add(this.ButtonCerca);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.TextCerca);
this.Controls.Add(this.ButtonAggiorna);
this.Name = "ElencoArticoli";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Elenco Articoli - Carrozzeria Brancato [2021 - Alberto Balbo - v1.0]";
this.Load += new System.EventHandler(this.ElencoArticoli_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.articoliBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.inventarioDataSet)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button ButtonAggiorna;
private System.Windows.Forms.TextBox TextCerca;
private System.Windows.Forms.DataGridView dataGridView1;
private InventarioDataSet inventarioDataSet;
private System.Windows.Forms.BindingSource articoliBindingSource;
private InventarioDataSetTableAdapters.ArticoliTableAdapter articoliTableAdapter;
private System.Windows.Forms.DataGridViewTextBoxColumn articoloDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn descrizioneDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn noteDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn prezzoAcquistoDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn prezzoVenditaDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn fornitoreDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn condizioneDataGridViewTextBoxColumn;
private System.Windows.Forms.Button ButtonCerca;
}
}

View File

@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Inventario
{
public partial class ElencoArticoli : Form
{
public ElencoArticoli()
{
InitializeComponent();
}
private void ElencoArticoli_Load(object sender, EventArgs e)
{
try
{
this.articoliTableAdapter.Fill(this.inventarioDataSet.Articoli);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message + "\nImpossibile leggere il database.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
}
private void ButtonAggiorna_Click(object sender, EventArgs e)
{
try
{
this.articoliTableAdapter.Fill(this.inventarioDataSet.Articoli);
MessageBox.Show("Articoli aggiornati.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message + "\nImpossibile leggere il database.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}

View File

@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="articoliBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>166, 17</value>
</metadata>
<metadata name="articoliBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>166, 17</value>
</metadata>
<metadata name="inventarioDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="inventarioDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="articoliTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>333, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,462 @@
namespace Inventario
{
partial class ModificaArticoli
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.TextCodice = new System.Windows.Forms.TextBox();
this.articoliBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.inventarioDataSet = new Inventario.InventarioDataSet();
this.label1 = new System.Windows.Forms.Label();
this.articoliTableAdapter = new Inventario.InventarioDataSetTableAdapters.ArticoliTableAdapter();
this.label2 = new System.Windows.Forms.Label();
this.TextDescrizione = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.TextNote = new System.Windows.Forms.TextBox();
this.fornitoriBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.fornitoriTableAdapter = new Inventario.InventarioDataSetTableAdapters.FornitoriTableAdapter();
this.ButtonNuovo = new System.Windows.Forms.Button();
this.ButtonModifica = new System.Windows.Forms.Button();
this.ButtonAnnulla = new System.Windows.Forms.Button();
this.ButtonSalva = new System.Windows.Forms.Button();
this.ComboCondizione = new System.Windows.Forms.ComboBox();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.movimentiTableAdapter = new Inventario.InventarioDataSetTableAdapters.MovimentiTableAdapter();
this.articoliBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.articoliMovimentiBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.ButtonPrimo = new System.Windows.Forms.Button();
this.ButtonUltimo = new System.Windows.Forms.Button();
this.ButtonAvanti = new System.Windows.Forms.Button();
this.ButtonIndietro = new System.Windows.Forms.Button();
this.ButtonElimina = new System.Windows.Forms.Button();
this.label10 = new System.Windows.Forms.Label();
this.NumericPrezzoAcquisto = new System.Windows.Forms.NumericUpDown();
this.NumericPrezzoVendita = new System.Windows.Forms.NumericUpDown();
this.ComboFornitore = new System.Windows.Forms.ComboBox();
((System.ComponentModel.ISupportInitialize)(this.articoliBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.inventarioDataSet)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fornitoriBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.articoliBindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.articoliMovimentiBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.NumericPrezzoAcquisto)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.NumericPrezzoVendita)).BeginInit();
this.SuspendLayout();
//
// TextCodice
//
this.TextCodice.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.articoliBindingSource, "Articolo", true));
this.TextCodice.Location = new System.Drawing.Point(90, 81);
this.TextCodice.Name = "TextCodice";
this.TextCodice.Size = new System.Drawing.Size(337, 20);
this.TextCodice.TabIndex = 0;
//
// articoliBindingSource
//
this.articoliBindingSource.DataMember = "Articoli";
this.articoliBindingSource.DataSource = this.inventarioDataSet;
//
// inventarioDataSet
//
this.inventarioDataSet.DataSetName = "InventarioDataSet";
this.inventarioDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(42, 84);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(42, 13);
this.label1.TabIndex = 1;
this.label1.Text = "Articolo";
this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// articoliTableAdapter
//
this.articoliTableAdapter.ClearBeforeFill = true;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(22, 110);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(62, 13);
this.label2.TabIndex = 3;
this.label2.Text = "Descrizione";
this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// TextDescrizione
//
this.TextDescrizione.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.articoliBindingSource, "Descrizione", true));
this.TextDescrizione.Location = new System.Drawing.Point(90, 107);
this.TextDescrizione.Multiline = true;
this.TextDescrizione.Name = "TextDescrizione";
this.TextDescrizione.Size = new System.Drawing.Size(337, 49);
this.TextDescrizione.TabIndex = 2;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(498, 85);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(83, 13);
this.label3.TabIndex = 5;
this.label3.Text = "Prezzo Acquisto";
this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(36, 165);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(48, 13);
this.label4.TabIndex = 7;
this.label4.Text = "Fornitore";
this.label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(503, 110);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(78, 13);
this.label5.TabIndex = 9;
this.label5.Text = "Prezzo Vendita";
this.label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(522, 136);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(59, 13);
this.label6.TabIndex = 11;
this.label6.Text = "Condizione";
this.label6.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(54, 191);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(30, 13);
this.label7.TabIndex = 13;
this.label7.Text = "Note";
this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// TextNote
//
this.TextNote.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.articoliBindingSource, "Articolo", true));
this.TextNote.Location = new System.Drawing.Point(90, 188);
this.TextNote.Multiline = true;
this.TextNote.Name = "TextNote";
this.TextNote.Size = new System.Drawing.Size(337, 98);
this.TextNote.TabIndex = 12;
this.TextNote.TextChanged += new System.EventHandler(this.TextNote_TextChanged);
//
// fornitoriBindingSource
//
this.fornitoriBindingSource.DataMember = "Fornitori";
this.fornitoriBindingSource.DataSource = this.inventarioDataSet;
//
// fornitoriTableAdapter
//
this.fornitoriTableAdapter.ClearBeforeFill = true;
//
// ButtonNuovo
//
this.ButtonNuovo.Location = new System.Drawing.Point(166, 12);
this.ButtonNuovo.Name = "ButtonNuovo";
this.ButtonNuovo.Size = new System.Drawing.Size(100, 40);
this.ButtonNuovo.TabIndex = 14;
this.ButtonNuovo.Text = "NUOVO";
this.ButtonNuovo.UseVisualStyleBackColor = true;
this.ButtonNuovo.Click += new System.EventHandler(this.ButtonNuovo_Click);
//
// ButtonModifica
//
this.ButtonModifica.Location = new System.Drawing.Point(269, 12);
this.ButtonModifica.Name = "ButtonModifica";
this.ButtonModifica.Size = new System.Drawing.Size(100, 40);
this.ButtonModifica.TabIndex = 15;
this.ButtonModifica.Text = "MODIFICA";
this.ButtonModifica.UseVisualStyleBackColor = true;
this.ButtonModifica.Click += new System.EventHandler(this.ButtonModifica_Click);
//
// ButtonAnnulla
//
this.ButtonAnnulla.Location = new System.Drawing.Point(587, 12);
this.ButtonAnnulla.Name = "ButtonAnnulla";
this.ButtonAnnulla.Size = new System.Drawing.Size(100, 40);
this.ButtonAnnulla.TabIndex = 16;
this.ButtonAnnulla.Text = "ANNULLA";
this.ButtonAnnulla.UseVisualStyleBackColor = true;
this.ButtonAnnulla.Click += new System.EventHandler(this.ButtonAnnulla_Click);
//
// ButtonSalva
//
this.ButtonSalva.Location = new System.Drawing.Point(375, 12);
this.ButtonSalva.Name = "ButtonSalva";
this.ButtonSalva.Size = new System.Drawing.Size(100, 40);
this.ButtonSalva.TabIndex = 17;
this.ButtonSalva.Text = "SALVA";
this.ButtonSalva.UseVisualStyleBackColor = true;
this.ButtonSalva.Click += new System.EventHandler(this.ButtonSalva_Click);
//
// ComboCondizione
//
this.ComboCondizione.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.articoliBindingSource, "Condizione", true));
this.ComboCondizione.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.fornitoriBindingSource, "Fornitore", true));
this.ComboCondizione.ForeColor = System.Drawing.SystemColors.WindowText;
this.ComboCondizione.FormattingEnabled = true;
this.ComboCondizione.Items.AddRange(new object[] {
"N",
"U"});
this.ComboCondizione.Location = new System.Drawing.Point(587, 133);
this.ComboCondizione.MaxLength = 1;
this.ComboCondizione.Name = "ComboCondizione";
this.ComboCondizione.Size = new System.Drawing.Size(78, 21);
this.ComboCondizione.TabIndex = 19;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(671, 85);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(13, 13);
this.label8.TabIndex = 20;
this.label8.Text = "€";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(671, 110);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(13, 13);
this.label9.TabIndex = 21;
this.label9.Text = "€";
//
// movimentiTableAdapter
//
this.movimentiTableAdapter.ClearBeforeFill = true;
//
// articoliBindingSource1
//
this.articoliBindingSource1.DataMember = "Articoli";
this.articoliBindingSource1.DataSource = this.inventarioDataSet;
//
// articoliMovimentiBindingSource
//
this.articoliMovimentiBindingSource.DataMember = "ArticoliMovimenti";
this.articoliMovimentiBindingSource.DataSource = this.articoliBindingSource;
//
// ButtonPrimo
//
this.ButtonPrimo.Location = new System.Drawing.Point(12, 12);
this.ButtonPrimo.Name = "ButtonPrimo";
this.ButtonPrimo.Size = new System.Drawing.Size(30, 40);
this.ButtonPrimo.TabIndex = 22;
this.ButtonPrimo.Text = "<<";
this.ButtonPrimo.UseVisualStyleBackColor = true;
this.ButtonPrimo.Click += new System.EventHandler(this.ButtonPrimo_Click);
//
// ButtonUltimo
//
this.ButtonUltimo.Location = new System.Drawing.Point(128, 12);
this.ButtonUltimo.Name = "ButtonUltimo";
this.ButtonUltimo.Size = new System.Drawing.Size(30, 40);
this.ButtonUltimo.TabIndex = 23;
this.ButtonUltimo.Text = ">>";
this.ButtonUltimo.UseVisualStyleBackColor = true;
this.ButtonUltimo.Click += new System.EventHandler(this.ButtonUltimo_Click);
//
// ButtonAvanti
//
this.ButtonAvanti.Location = new System.Drawing.Point(90, 12);
this.ButtonAvanti.Name = "ButtonAvanti";
this.ButtonAvanti.Size = new System.Drawing.Size(30, 40);
this.ButtonAvanti.TabIndex = 24;
this.ButtonAvanti.Text = ">";
this.ButtonAvanti.UseVisualStyleBackColor = true;
this.ButtonAvanti.Click += new System.EventHandler(this.ButtonAvanti_Click);
//
// ButtonIndietro
//
this.ButtonIndietro.Location = new System.Drawing.Point(50, 12);
this.ButtonIndietro.Name = "ButtonIndietro";
this.ButtonIndietro.Size = new System.Drawing.Size(30, 40);
this.ButtonIndietro.TabIndex = 25;
this.ButtonIndietro.Text = "<";
this.ButtonIndietro.UseVisualStyleBackColor = true;
this.ButtonIndietro.Click += new System.EventHandler(this.ButtonIndietro_Click);
//
// ButtonElimina
//
this.ButtonElimina.Location = new System.Drawing.Point(481, 12);
this.ButtonElimina.Name = "ButtonElimina";
this.ButtonElimina.Size = new System.Drawing.Size(100, 40);
this.ButtonElimina.TabIndex = 26;
this.ButtonElimina.Text = "ELIMINA";
this.ButtonElimina.UseVisualStyleBackColor = true;
this.ButtonElimina.Click += new System.EventHandler(this.ButtonElimina_Click);
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(12, 55);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(673, 13);
this.label10.TabIndex = 27;
this.label10.Text = "_________________________________________________________________________________" +
"______________________________";
//
// NumericPrezzoAcquisto
//
this.NumericPrezzoAcquisto.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.articoliBindingSource, "PrezzoAcquisto", true));
this.NumericPrezzoAcquisto.DecimalPlaces = 2;
this.NumericPrezzoAcquisto.Location = new System.Drawing.Point(587, 82);
this.NumericPrezzoAcquisto.Name = "NumericPrezzoAcquisto";
this.NumericPrezzoAcquisto.Size = new System.Drawing.Size(78, 20);
this.NumericPrezzoAcquisto.TabIndex = 28;
this.NumericPrezzoAcquisto.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// NumericPrezzoVendita
//
this.NumericPrezzoVendita.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.articoliBindingSource, "PrezzoVendita", true));
this.NumericPrezzoVendita.DecimalPlaces = 2;
this.NumericPrezzoVendita.ImeMode = System.Windows.Forms.ImeMode.On;
this.NumericPrezzoVendita.Location = new System.Drawing.Point(587, 108);
this.NumericPrezzoVendita.Name = "NumericPrezzoVendita";
this.NumericPrezzoVendita.Size = new System.Drawing.Size(78, 20);
this.NumericPrezzoVendita.TabIndex = 29;
this.NumericPrezzoVendita.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// ComboFornitore
//
this.ComboFornitore.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.articoliBindingSource, "Condizione", true));
this.ComboFornitore.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.fornitoriBindingSource, "Fornitore", true));
this.ComboFornitore.ForeColor = System.Drawing.SystemColors.WindowText;
this.ComboFornitore.FormattingEnabled = true;
this.ComboFornitore.Location = new System.Drawing.Point(90, 162);
this.ComboFornitore.MaxLength = 1;
this.ComboFornitore.Name = "ComboFornitore";
this.ComboFornitore.Size = new System.Drawing.Size(337, 21);
this.ComboFornitore.TabIndex = 30;
//
// ModificaArticoli
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(698, 301);
this.Controls.Add(this.ComboFornitore);
this.Controls.Add(this.NumericPrezzoVendita);
this.Controls.Add(this.NumericPrezzoAcquisto);
this.Controls.Add(this.label10);
this.Controls.Add(this.ButtonElimina);
this.Controls.Add(this.ButtonIndietro);
this.Controls.Add(this.ButtonAvanti);
this.Controls.Add(this.ButtonUltimo);
this.Controls.Add(this.ButtonPrimo);
this.Controls.Add(this.label9);
this.Controls.Add(this.label8);
this.Controls.Add(this.ComboCondizione);
this.Controls.Add(this.ButtonSalva);
this.Controls.Add(this.ButtonAnnulla);
this.Controls.Add(this.ButtonModifica);
this.Controls.Add(this.ButtonNuovo);
this.Controls.Add(this.label7);
this.Controls.Add(this.TextNote);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.TextDescrizione);
this.Controls.Add(this.label1);
this.Controls.Add(this.TextCodice);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ModificaArticoli";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Modifica Articoli - Carrozzeria Brancato [2021 - Alberto Balbo - v1.0]";
this.Load += new System.EventHandler(this.Articoli_Load);
((System.ComponentModel.ISupportInitialize)(this.articoliBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.inventarioDataSet)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fornitoriBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.articoliBindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.articoliMovimentiBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.NumericPrezzoAcquisto)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.NumericPrezzoVendita)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox TextCodice;
private System.Windows.Forms.Label label1;
private InventarioDataSet inventarioDataSet;
private System.Windows.Forms.BindingSource articoliBindingSource;
private InventarioDataSetTableAdapters.ArticoliTableAdapter articoliTableAdapter;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox TextDescrizione;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox TextNote;
private System.Windows.Forms.BindingSource fornitoriBindingSource;
private InventarioDataSetTableAdapters.FornitoriTableAdapter fornitoriTableAdapter;
private System.Windows.Forms.Button ButtonNuovo;
private System.Windows.Forms.Button ButtonModifica;
private System.Windows.Forms.Button ButtonAnnulla;
private System.Windows.Forms.Button ButtonSalva;
private System.Windows.Forms.ComboBox ComboCondizione;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.BindingSource articoliMovimentiBindingSource;
private InventarioDataSetTableAdapters.MovimentiTableAdapter movimentiTableAdapter;
private System.Windows.Forms.BindingSource articoliBindingSource1;
private System.Windows.Forms.Button ButtonPrimo;
private System.Windows.Forms.Button ButtonUltimo;
private System.Windows.Forms.Button ButtonAvanti;
private System.Windows.Forms.Button ButtonIndietro;
private System.Windows.Forms.Button ButtonElimina;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.NumericUpDown NumericPrezzoAcquisto;
private System.Windows.Forms.NumericUpDown NumericPrezzoVendita;
private System.Windows.Forms.ComboBox ComboFornitore;
}
}

View File

@@ -0,0 +1,236 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Inventario
{
public partial class ModificaArticoli : Form
{
static int STATO_BROWSE = 0;
static int STATO_NUOVO = 1;
static int STATO_MODIFICA = 2;
//Default
int Stato = STATO_BROWSE;
public ModificaArticoli()
{
InitializeComponent();
}
private void SetControls()
{
if(Stato == STATO_BROWSE)
{
ButtonSalva.Enabled = false;
ButtonAnnulla.Enabled = false;
ButtonNuovo.Enabled = true;
ButtonModifica.Enabled = true;
ButtonElimina.Enabled = true;
ButtonPrimo.Enabled = true;
ButtonAvanti.Enabled = true;
ButtonIndietro.Enabled = true;
ButtonUltimo.Enabled = true;
TextCodice.Enabled = false;
TextDescrizione.Enabled = false;
NumericPrezzoAcquisto.Enabled = false;
ComboFornitore.Enabled = false;
NumericPrezzoVendita.Enabled = false;
ComboCondizione.Enabled = false;
TextNote.Enabled = false;
}
else if (Stato == STATO_NUOVO)
{
ButtonSalva.Enabled = true;
ButtonAnnulla.Enabled = true;
ButtonNuovo.Enabled = false;
ButtonModifica.Enabled = false;
ButtonElimina.Enabled = false;
ButtonPrimo.Enabled = false;
ButtonAvanti.Enabled = false;
ButtonIndietro.Enabled = false;
ButtonUltimo.Enabled = false;
TextCodice.Enabled = true;
TextDescrizione.Enabled = true;
NumericPrezzoAcquisto.Enabled = true;
ComboFornitore.Enabled = true;
NumericPrezzoVendita.Enabled = true;
ComboCondizione.Enabled = true;
TextNote.Enabled = true;
TextCodice.Clear();
TextDescrizione.Clear();
NumericPrezzoAcquisto.ResetText();
ComboFornitore.ResetText();
NumericPrezzoVendita.ResetText();
TextNote.Clear();
TextCodice.Focus();
}
else if (Stato == STATO_MODIFICA)
{
ButtonSalva.Enabled = true;
ButtonAnnulla.Enabled = true;
ButtonNuovo.Enabled = false;
ButtonModifica.Enabled = false;
ButtonElimina.Enabled = false;
ButtonPrimo.Enabled = false;
ButtonAvanti.Enabled = false;
ButtonIndietro.Enabled = false;
ButtonUltimo.Enabled = false;
TextCodice.Enabled = true;
TextDescrizione.Enabled = true;
NumericPrezzoAcquisto.Enabled = true;
ComboFornitore.Enabled = true;
NumericPrezzoVendita.Enabled = true;
ComboCondizione.Enabled = true;
TextNote.Enabled = true;
}
}
private void Articoli_Load(object sender, EventArgs e)
{
Stato = STATO_BROWSE;
SetControls();
}
private void ButtonNuovo_Click(object sender, EventArgs e)
{
Stato = STATO_NUOVO;
SetControls();
}
private void ButtonModifica_Click(object sender, EventArgs e)
{
Stato = STATO_MODIFICA;
SetControls();
}
private void ButtonAnnulla_Click(object sender, EventArgs e)
{
try
{
//Mi metto sull'ultimo record
articoliBindingSource.MoveLast();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Message", MessageBoxButtons.OK, MessageBoxIcon.Error);
articoliBindingSource.ResetBindings(false);
}
Stato = STATO_BROWSE;
SetControls();
}
private void ButtonSalva_Click(object sender, EventArgs e)
{
if (Stato == STATO_NUOVO)
{
try
{
this.articoliTableAdapter.Insert(TextCodice.Text.ToString(),
TextDescrizione.Text.ToString(),
TextNote.Text.ToString(),
0,
NumericPrezzoAcquisto.Value,
NumericPrezzoVendita.Value,
null, //ComboFornitore.Text.ToString(),
ComboCondizione.Text.ToString());
MessageBox.Show("Salvataggio avvenuto con successo.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message + "\n Errore al salvataggio dei dati.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Error);
articoliBindingSource.ResetBindings(false);
}
}
else if (Stato == STATO_MODIFICA)
{
try
{
this.articoliTableAdapter.Update(this.inventarioDataSet.Articoli);
MessageBox.Show("Modifica avvenuta con successo.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message + "\n Errore al salvataggio dei dati.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Error);
articoliBindingSource.ResetBindings(false);
}
}
//ResettoStato
Stato = STATO_BROWSE;
SetControls();
}
private void ButtonPrimo_Click(object sender, EventArgs e)
{
articoliBindingSource.MoveFirst();
this.articoliTableAdapter.Fill(this.inventarioDataSet.Articoli);
}
private void ButtonIndietro_Click(object sender, EventArgs e)
{
articoliBindingSource.MovePrevious();
this.articoliTableAdapter.Fill(this.inventarioDataSet.Articoli);
}
private void ButtonAvanti_Click(object sender, EventArgs e)
{
articoliBindingSource.MoveNext();
this.articoliTableAdapter.Fill(this.inventarioDataSet.Articoli);
}
private void ButtonUltimo_Click(object sender, EventArgs e)
{
articoliBindingSource.MoveLast();
this.articoliTableAdapter.Fill(this.inventarioDataSet.Articoli);
}
private void ButtonElimina_Click(object sender, EventArgs e)
{
try
{
this.articoliTableAdapter.Delete(TextCodice.Text.ToString(),
TextDescrizione.Text.ToString(),
0,
NumericPrezzoAcquisto.Value,
NumericPrezzoVendita.Value,
ComboFornitore.Text.ToString(),
ComboCondizione.Text.ToString());
MessageBox.Show("Modifica avvenuta con successo.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message + "\n Errore al salvataggio dei dati.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Error);
articoliBindingSource.ResetBindings(false);
}
}
private void TextNote_TextChanged(object sender, EventArgs e)
{
}
}
}

View File

@@ -0,0 +1,150 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="articoliBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>166, 17</value>
</metadata>
<metadata name="articoliBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>166, 17</value>
</metadata>
<metadata name="inventarioDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="inventarioDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="articoliTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>333, 17</value>
</metadata>
<metadata name="fornitoriBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>494, 17</value>
</metadata>
<metadata name="fornitoriTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>669, 17</value>
</metadata>
<metadata name="movimentiTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1064, 17</value>
</metadata>
<metadata name="articoliBindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1247, 17</value>
</metadata>
<metadata name="articoliMovimentiBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>838, 17</value>
</metadata>
</root>