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:
13
Inventario/App.config
Normal file
13
Inventario/App.config
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<configSections>
|
||||||
|
</configSections>
|
||||||
|
<connectionStrings>
|
||||||
|
<add name="Inventario.Properties.Settings.InventarioConnectionString"
|
||||||
|
connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\Inventario.accdb"
|
||||||
|
providerName="System.Data.OleDb" />
|
||||||
|
</connectionStrings>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
209
Inventario/Form/Articoli/ElencoArticoli.Designer.cs
generated
Normal file
209
Inventario/Form/Articoli/ElencoArticoli.Designer.cs
generated
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
51
Inventario/Form/Articoli/ElencoArticoli.cs
Normal file
51
Inventario/Form/Articoli/ElencoArticoli.cs
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
135
Inventario/Form/Articoli/ElencoArticoli.resx
Normal file
135
Inventario/Form/Articoli/ElencoArticoli.resx
Normal 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>
|
||||||
462
Inventario/Form/Articoli/ModificaArticoli.Designer.cs
generated
Normal file
462
Inventario/Form/Articoli/ModificaArticoli.Designer.cs
generated
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
236
Inventario/Form/Articoli/ModificaArticoli.cs
Normal file
236
Inventario/Form/Articoli/ModificaArticoli.cs
Normal 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)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
150
Inventario/Form/Articoli/ModificaArticoli.resx
Normal file
150
Inventario/Form/Articoli/ModificaArticoli.resx
Normal 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>
|
||||||
182
Inventario/Inventario.csproj
Normal file
182
Inventario/Inventario.csproj
Normal file
@@ -0,0 +1,182 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{B427E667-BBA7-4C22-AE87-7C29BA9542F7}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>Inventario</RootNamespace>
|
||||||
|
<AssemblyName>Inventario</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
<PublishUrl>C:\Users\balbo\Downloads\Easy Studio\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<ApplicationRevision>1</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManifestCertificateThumbprint>498A25B1FD4E5E424C21765EF191F1D2C3FEB917</ManifestCertificateThumbprint>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManifestKeyFile>Inventario_TemporaryKey.pfx</ManifestKeyFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<GenerateManifests>true</GenerateManifests>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<SignManifests>true</SignManifests>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<LangVersion>7.3</LangVersion>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||||
|
<OutputPath>bin\x86\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<LangVersion>7.3</LangVersion>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Form\Articoli\ElencoArticoli.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form\Articoli\ElencoArticoli.Designer.cs">
|
||||||
|
<DependentUpon>ElencoArticoli.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form\Articoli\ModificaArticoli.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form\Articoli\ModificaArticoli.Designer.cs">
|
||||||
|
<DependentUpon>ModificaArticoli.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="InventarioDataSet.cs">
|
||||||
|
<DependentUpon>InventarioDataSet.xsd</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="InventarioDataSet.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>InventarioDataSet.xsd</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Main.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Main.Designer.cs">
|
||||||
|
<DependentUpon>Main.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<EmbeddedResource Include="Form\Articoli\ElencoArticoli.resx">
|
||||||
|
<DependentUpon>ElencoArticoli.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Form\Articoli\ModificaArticoli.resx">
|
||||||
|
<DependentUpon>ModificaArticoli.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Main.resx">
|
||||||
|
<DependentUpon>Main.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<None Include="InventarioDataSet.xsc">
|
||||||
|
<DependentUpon>InventarioDataSet.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="InventarioDataSet.xsd">
|
||||||
|
<Generator>MSDataSetGenerator</Generator>
|
||||||
|
<LastGenOutput>InventarioDataSet.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<None Include="InventarioDataSet.xss">
|
||||||
|
<DependentUpon>InventarioDataSet.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.8">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4.8 %28x86 e x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
31
Inventario/Inventario.sln
Normal file
31
Inventario/Inventario.sln
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.31702.278
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Inventario", "Inventario.csproj", "{B427E667-BBA7-4C22-AE87-7C29BA9542F7}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{B427E667-BBA7-4C22-AE87-7C29BA9542F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B427E667-BBA7-4C22-AE87-7C29BA9542F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B427E667-BBA7-4C22-AE87-7C29BA9542F7}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
|
{B427E667-BBA7-4C22-AE87-7C29BA9542F7}.Debug|x86.Build.0 = Debug|x86
|
||||||
|
{B427E667-BBA7-4C22-AE87-7C29BA9542F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B427E667-BBA7-4C22-AE87-7C29BA9542F7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{B427E667-BBA7-4C22-AE87-7C29BA9542F7}.Release|x86.ActiveCfg = Release|x86
|
||||||
|
{B427E667-BBA7-4C22-AE87-7C29BA9542F7}.Release|x86.Build.0 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {80D58D75-96B1-41FB-A88D-4A2DA4E9011E}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
5101
Inventario/InventarioDataSet.Designer.cs
generated
Normal file
5101
Inventario/InventarioDataSet.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
12
Inventario/InventarioDataSet.cs
Normal file
12
Inventario/InventarioDataSet.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
namespace Inventario
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public partial class InventarioDataSet
|
||||||
|
{
|
||||||
|
partial class ArticoliDataTable
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
9
Inventario/InventarioDataSet.xsc
Normal file
9
Inventario/InventarioDataSet.xsc
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--<autogenerated>
|
||||||
|
This code was generated by a tool.
|
||||||
|
Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
the code is regenerated.
|
||||||
|
</autogenerated>-->
|
||||||
|
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
|
<TableUISettings />
|
||||||
|
</DataSetUISetting>
|
||||||
377
Inventario/InventarioDataSet.xsd
Normal file
377
Inventario/InventarioDataSet.xsd
Normal file
@@ -0,0 +1,377 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<xs:schema id="InventarioDataSet" targetNamespace="http://tempuri.org/InventarioDataSet.xsd" xmlns:mstns="http://tempuri.org/InventarioDataSet.xsd" xmlns="http://tempuri.org/InventarioDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||||
|
<xs:annotation>
|
||||||
|
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
|
<DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
|
<Connections>
|
||||||
|
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="InventarioConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="InventarioConnectionString (Settings)" PropertyReference="ApplicationSettings.Inventario.Properties.Settings.GlobalReference.Default.InventarioConnectionString" Provider="System.Data.OleDb" />
|
||||||
|
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="InventarioConnection" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="InventarioConnection (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Inventario.Properties.Settings.GlobalReference.Default.InventarioConnection" Provider="System.Data.SqlClient" />
|
||||||
|
</Connections>
|
||||||
|
<Tables>
|
||||||
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ArticoliTableAdapter" GeneratorDataComponentClassName="ArticoliTableAdapter" Name="Articoli" UserDataComponentName="ArticoliTableAdapter">
|
||||||
|
<MainSource>
|
||||||
|
<DbSource ConnectionRef="InventarioConnection (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||||
|
<CommandText>SELECT Articolo, Descrizione, [Note], InGiacenza, PrezzoAcquisto, PrezzoVendita, Fornitore, Condizione FROM Articoli</CommandText>
|
||||||
|
<Parameters />
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
</DbSource>
|
||||||
|
</MainSource>
|
||||||
|
<Mappings>
|
||||||
|
<Mapping SourceColumn="Articolo" DataSetColumn="Articolo" />
|
||||||
|
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
|
||||||
|
<Mapping SourceColumn="Note" DataSetColumn="Note" />
|
||||||
|
<Mapping SourceColumn="InGiacenza" DataSetColumn="InGiacenza" />
|
||||||
|
<Mapping SourceColumn="PrezzoAcquisto" DataSetColumn="PrezzoAcquisto" />
|
||||||
|
<Mapping SourceColumn="PrezzoVendita" DataSetColumn="PrezzoVendita" />
|
||||||
|
<Mapping SourceColumn="Fornitore" DataSetColumn="Fornitore" />
|
||||||
|
<Mapping SourceColumn="Condizione" DataSetColumn="Condizione" />
|
||||||
|
</Mappings>
|
||||||
|
<Sources />
|
||||||
|
</TableAdapter>
|
||||||
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FornitoriTableAdapter" GeneratorDataComponentClassName="FornitoriTableAdapter" Name="Fornitori" UserDataComponentName="FornitoriTableAdapter">
|
||||||
|
<MainSource>
|
||||||
|
<DbSource ConnectionRef="InventarioConnectionString (Settings)" DbObjectName="Fornitori" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||||
|
<DeleteCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>DELETE FROM `Fornitori` WHERE ((`Fornitore` = ?) AND ((? = 1 AND `Descrizione` IS NULL) OR (`Descrizione` = ?)))</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Fornitore" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Fornitore" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Descrizione" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Descrizione" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</DeleteCommand>
|
||||||
|
<InsertCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>INSERT INTO `Fornitori` (`Fornitore`, `Descrizione`, `Note`) VALUES (?, ?, ?)</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Fornitore" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Fornitore" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Descrizione" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Note" Precision="0" ProviderType="LongVarWChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</InsertCommand>
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>SELECT Fornitore, Descrizione, [Note] FROM Fornitori</CommandText>
|
||||||
|
<Parameters />
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
<UpdateCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>UPDATE `Fornitori` SET `Fornitore` = ?, `Descrizione` = ?, `Note` = ? WHERE ((`Fornitore` = ?) AND ((? = 1 AND `Descrizione` IS NULL) OR (`Descrizione` = ?)))</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Fornitore" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Fornitore" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Descrizione" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Note" Precision="0" ProviderType="LongVarWChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Fornitore" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Fornitore" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Descrizione" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Descrizione" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</UpdateCommand>
|
||||||
|
</DbSource>
|
||||||
|
</MainSource>
|
||||||
|
<Mappings>
|
||||||
|
<Mapping SourceColumn="Fornitore" DataSetColumn="Fornitore" />
|
||||||
|
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
|
||||||
|
<Mapping SourceColumn="Note" DataSetColumn="Note" />
|
||||||
|
</Mappings>
|
||||||
|
<Sources />
|
||||||
|
</TableAdapter>
|
||||||
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MovimentiTableAdapter" GeneratorDataComponentClassName="MovimentiTableAdapter" Name="Movimenti" UserDataComponentName="MovimentiTableAdapter">
|
||||||
|
<MainSource>
|
||||||
|
<DbSource ConnectionRef="InventarioConnectionString (Settings)" DbObjectName="Movimenti" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||||
|
<DeleteCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>DELETE FROM `Movimenti` WHERE ((`IDMovimento` = ?) AND ((? = 1 AND `Tipo` IS NULL) OR (`Tipo` = ?)) AND ((? = 1 AND `Articolo` IS NULL) OR (`Articolo` = ?)) AND ((? = 1 AND `Quantità` IS NULL) OR (`Quantità` = ?)) AND ((? = 1 AND `Data` IS NULL) OR (`Data` = ?)))</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_IDMovimento" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="IDMovimento" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Tipo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Tipo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Articolo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Articolo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Data" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_Data" Precision="0" ProviderType="DBTimeStamp" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</DeleteCommand>
|
||||||
|
<InsertCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>INSERT INTO `Movimenti` (`Tipo`, `Articolo`, `Quantità`, `Data`) VALUES (?, ?, ?, ?)</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Tipo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Articolo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Data" Precision="0" ProviderType="DBTimeStamp" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</InsertCommand>
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>SELECT IDMovimento, Tipo, Articolo, Quantità, Data FROM Movimenti</CommandText>
|
||||||
|
<Parameters />
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
<UpdateCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>UPDATE `Movimenti` SET `Tipo` = ?, `Articolo` = ?, `Quantità` = ?, `Data` = ? WHERE ((`IDMovimento` = ?) AND ((? = 1 AND `Tipo` IS NULL) OR (`Tipo` = ?)) AND ((? = 1 AND `Articolo` IS NULL) OR (`Articolo` = ?)) AND ((? = 1 AND `Quantità` IS NULL) OR (`Quantità` = ?)) AND ((? = 1 AND `Data` IS NULL) OR (`Data` = ?)))</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Tipo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Articolo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Data" Precision="0" ProviderType="DBTimeStamp" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_IDMovimento" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="IDMovimento" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Tipo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Tipo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Articolo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Articolo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Articolo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Quantità" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Quantità" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Data" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_Data" Precision="0" ProviderType="DBTimeStamp" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</UpdateCommand>
|
||||||
|
</DbSource>
|
||||||
|
</MainSource>
|
||||||
|
<Mappings>
|
||||||
|
<Mapping SourceColumn="IDMovimento" DataSetColumn="IDMovimento" />
|
||||||
|
<Mapping SourceColumn="Tipo" DataSetColumn="Tipo" />
|
||||||
|
<Mapping SourceColumn="Articolo" DataSetColumn="Articolo" />
|
||||||
|
<Mapping SourceColumn="Quantità" DataSetColumn="Quantità" />
|
||||||
|
<Mapping SourceColumn="Data" DataSetColumn="Data" />
|
||||||
|
</Mappings>
|
||||||
|
<Sources />
|
||||||
|
</TableAdapter>
|
||||||
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GiacenzeTableAdapter" GeneratorDataComponentClassName="GiacenzeTableAdapter" Name="Giacenze" UserDataComponentName="GiacenzeTableAdapter">
|
||||||
|
<MainSource>
|
||||||
|
<DbSource ConnectionRef="InventarioConnectionString (Settings)" DbObjectName="Giacenze" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||||
|
<CommandText>SELECT Giacenze.*
|
||||||
|
FROM Giacenze</CommandText>
|
||||||
|
<Parameters />
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
</DbSource>
|
||||||
|
</MainSource>
|
||||||
|
<Mappings>
|
||||||
|
<Mapping SourceColumn="Giacenza" DataSetColumn="Giacenza" />
|
||||||
|
<Mapping SourceColumn="Articolo" DataSetColumn="Articolo" />
|
||||||
|
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
|
||||||
|
</Mappings>
|
||||||
|
<Sources />
|
||||||
|
</TableAdapter>
|
||||||
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MovimentiCaricoTableAdapter" GeneratorDataComponentClassName="MovimentiCaricoTableAdapter" Name="MovimentiCarico" UserDataComponentName="MovimentiCaricoTableAdapter">
|
||||||
|
<MainSource>
|
||||||
|
<DbSource ConnectionRef="InventarioConnectionString (Settings)" DbObjectName="MovimentiCarico" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>SELECT Articolo, GiacenzaScarico FROM MovimentiCarico</CommandText>
|
||||||
|
<Parameters />
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
</DbSource>
|
||||||
|
</MainSource>
|
||||||
|
<Mappings>
|
||||||
|
<Mapping SourceColumn="Articolo" DataSetColumn="Articolo" />
|
||||||
|
<Mapping SourceColumn="GiacenzaScarico" DataSetColumn="GiacenzaScarico" />
|
||||||
|
</Mappings>
|
||||||
|
<Sources />
|
||||||
|
</TableAdapter>
|
||||||
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MovimentiScaricoTableAdapter" GeneratorDataComponentClassName="MovimentiScaricoTableAdapter" Name="MovimentiScarico" UserDataComponentName="MovimentiScaricoTableAdapter">
|
||||||
|
<MainSource>
|
||||||
|
<DbSource ConnectionRef="InventarioConnectionString (Settings)" DbObjectName="MovimentiScarico" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>SELECT Articolo, GiacenzaCarico FROM MovimentiScarico</CommandText>
|
||||||
|
<Parameters />
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
</DbSource>
|
||||||
|
</MainSource>
|
||||||
|
<Mappings>
|
||||||
|
<Mapping SourceColumn="Articolo" DataSetColumn="Articolo" />
|
||||||
|
<Mapping SourceColumn="GiacenzaCarico" DataSetColumn="GiacenzaCarico" />
|
||||||
|
</Mappings>
|
||||||
|
<Sources />
|
||||||
|
</TableAdapter>
|
||||||
|
</Tables>
|
||||||
|
<Sources />
|
||||||
|
</DataSource>
|
||||||
|
</xs:appinfo>
|
||||||
|
</xs:annotation>
|
||||||
|
<xs:element name="InventarioDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="InventarioDataSet" msprop:Generator_UserDSName="InventarioDataSet">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xs:element name="Articoli" msprop:Generator_TableClassName="ArticoliDataTable" msprop:Generator_TableVarName="tableArticoli" msprop:Generator_RowChangedName="ArticoliRowChanged" msprop:Generator_TablePropName="Articoli" msprop:Generator_RowDeletingName="ArticoliRowDeleting" msprop:Generator_RowChangingName="ArticoliRowChanging" msprop:Generator_RowEvHandlerName="ArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="ArticoliRowDeleted" msprop:Generator_RowClassName="ArticoliRow" msprop:Generator_UserTableName="Articoli" msprop:Generator_RowEvArgName="ArticoliRowChangeEvent">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="Articolo" msprop:Generator_ColumnVarNameInTable="columnArticolo" msprop:Generator_ColumnPropNameInRow="Articolo" msprop:Generator_ColumnPropNameInTable="ArticoloColumn" msprop:Generator_UserColumnName="Articolo">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="32" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="255" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="536870910" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="InGiacenza" msprop:Generator_ColumnVarNameInTable="columnInGiacenza" msprop:Generator_ColumnPropNameInRow="InGiacenza" msprop:Generator_ColumnPropNameInTable="InGiacenzaColumn" msprop:Generator_UserColumnName="InGiacenza" type="xs:int" minOccurs="0" />
|
||||||
|
<xs:element name="PrezzoAcquisto" msprop:Generator_ColumnVarNameInTable="columnPrezzoAcquisto" msprop:Generator_ColumnPropNameInRow="PrezzoAcquisto" msprop:Generator_ColumnPropNameInTable="PrezzoAcquistoColumn" msprop:Generator_UserColumnName="PrezzoAcquisto" type="xs:decimal" minOccurs="0" />
|
||||||
|
<xs:element name="PrezzoVendita" msprop:Generator_ColumnVarNameInTable="columnPrezzoVendita" msprop:Generator_ColumnPropNameInRow="PrezzoVendita" msprop:Generator_ColumnPropNameInTable="PrezzoVenditaColumn" msprop:Generator_UserColumnName="PrezzoVendita" type="xs:decimal" minOccurs="0" />
|
||||||
|
<xs:element name="Fornitore" msprop:Generator_ColumnVarNameInTable="columnFornitore" msprop:Generator_ColumnPropNameInRow="Fornitore" msprop:Generator_ColumnPropNameInTable="FornitoreColumn" msprop:Generator_UserColumnName="Fornitore" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="255" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Condizione" msprop:Generator_ColumnVarNameInTable="columnCondizione" msprop:Generator_ColumnPropNameInRow="Condizione" msprop:Generator_ColumnPropNameInTable="CondizioneColumn" msprop:Generator_UserColumnName="Condizione" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="1" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Fornitori" msprop:Generator_TableClassName="FornitoriDataTable" msprop:Generator_TableVarName="tableFornitori" msprop:Generator_RowChangedName="FornitoriRowChanged" msprop:Generator_TablePropName="Fornitori" msprop:Generator_RowDeletingName="FornitoriRowDeleting" msprop:Generator_RowChangingName="FornitoriRowChanging" msprop:Generator_RowEvHandlerName="FornitoriRowChangeEventHandler" msprop:Generator_RowDeletedName="FornitoriRowDeleted" msprop:Generator_RowClassName="FornitoriRow" msprop:Generator_UserTableName="Fornitori" msprop:Generator_RowEvArgName="FornitoriRowChangeEvent">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="Fornitore" msprop:Generator_ColumnVarNameInTable="columnFornitore" msprop:Generator_ColumnPropNameInRow="Fornitore" msprop:Generator_ColumnPropNameInTable="FornitoreColumn" msprop:Generator_UserColumnName="Fornitore">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="32" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="255" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="536870910" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Movimenti" msprop:Generator_TableClassName="MovimentiDataTable" msprop:Generator_TableVarName="tableMovimenti" msprop:Generator_RowChangedName="MovimentiRowChanged" msprop:Generator_TablePropName="Movimenti" msprop:Generator_RowDeletingName="MovimentiRowDeleting" msprop:Generator_RowChangingName="MovimentiRowChanging" msprop:Generator_RowEvHandlerName="MovimentiRowChangeEventHandler" msprop:Generator_RowDeletedName="MovimentiRowDeleted" msprop:Generator_RowClassName="MovimentiRow" msprop:Generator_UserTableName="Movimenti" msprop:Generator_RowEvArgName="MovimentiRowChangeEvent">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="IDMovimento" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnIDMovimento" msprop:Generator_ColumnPropNameInRow="IDMovimento" msprop:Generator_ColumnPropNameInTable="IDMovimentoColumn" msprop:Generator_UserColumnName="IDMovimento" type="xs:int" />
|
||||||
|
<xs:element name="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" msprop:Generator_UserColumnName="Tipo" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="1" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Articolo" msprop:Generator_ColumnVarNameInTable="columnArticolo" msprop:Generator_ColumnPropNameInRow="Articolo" msprop:Generator_ColumnPropNameInTable="ArticoloColumn" msprop:Generator_UserColumnName="Articolo" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="32" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Quantità" msprop:Generator_ColumnVarNameInTable="columnQuantità" msprop:Generator_ColumnPropNameInRow="Quantità" msprop:Generator_ColumnPropNameInTable="QuantitàColumn" msprop:Generator_UserColumnName="Quantità" type="xs:int" minOccurs="0" />
|
||||||
|
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" minOccurs="0" />
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Giacenze" msprop:Generator_TableClassName="GiacenzeDataTable" msprop:Generator_TableVarName="tableGiacenze" msprop:Generator_RowChangedName="GiacenzeRowChanged" msprop:Generator_TablePropName="Giacenze" msprop:Generator_RowDeletingName="GiacenzeRowDeleting" msprop:Generator_RowChangingName="GiacenzeRowChanging" msprop:Generator_RowEvHandlerName="GiacenzeRowChangeEventHandler" msprop:Generator_RowDeletedName="GiacenzeRowDeleted" msprop:Generator_RowClassName="GiacenzeRow" msprop:Generator_UserTableName="Giacenze" msprop:Generator_RowEvArgName="GiacenzeRowChangeEvent">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="Giacenza" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnGiacenza" msprop:Generator_ColumnPropNameInRow="Giacenza" msprop:Generator_ColumnPropNameInTable="GiacenzaColumn" msprop:Generator_UserColumnName="Giacenza" type="xs:double" minOccurs="0" />
|
||||||
|
<xs:element name="Articolo" msprop:Generator_ColumnVarNameInTable="columnArticolo" msprop:Generator_ColumnPropNameInRow="Articolo" msprop:Generator_ColumnPropNameInTable="ArticoloColumn" msprop:Generator_UserColumnName="Articolo" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="32" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="255" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="MovimentiCarico" msprop:Generator_TableClassName="MovimentiCaricoDataTable" msprop:Generator_TableVarName="tableMovimentiCarico" msprop:Generator_RowChangedName="MovimentiCaricoRowChanged" msprop:Generator_TablePropName="MovimentiCarico" msprop:Generator_RowDeletingName="MovimentiCaricoRowDeleting" msprop:Generator_RowChangingName="MovimentiCaricoRowChanging" msprop:Generator_RowEvHandlerName="MovimentiCaricoRowChangeEventHandler" msprop:Generator_RowDeletedName="MovimentiCaricoRowDeleted" msprop:Generator_RowClassName="MovimentiCaricoRow" msprop:Generator_UserTableName="MovimentiCarico" msprop:Generator_RowEvArgName="MovimentiCaricoRowChangeEvent">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="Articolo" msprop:Generator_ColumnVarNameInTable="columnArticolo" msprop:Generator_ColumnPropNameInRow="Articolo" msprop:Generator_ColumnPropNameInTable="ArticoloColumn" msprop:Generator_UserColumnName="Articolo" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="32" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="GiacenzaScarico" msprop:Generator_ColumnVarNameInTable="columnGiacenzaScarico" msprop:Generator_ColumnPropNameInRow="GiacenzaScarico" msprop:Generator_ColumnPropNameInTable="GiacenzaScaricoColumn" msprop:Generator_UserColumnName="GiacenzaScarico" type="xs:double" minOccurs="0" />
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="MovimentiScarico" msprop:Generator_TableClassName="MovimentiScaricoDataTable" msprop:Generator_TableVarName="tableMovimentiScarico" msprop:Generator_RowChangedName="MovimentiScaricoRowChanged" msprop:Generator_TablePropName="MovimentiScarico" msprop:Generator_RowDeletingName="MovimentiScaricoRowDeleting" msprop:Generator_RowChangingName="MovimentiScaricoRowChanging" msprop:Generator_RowEvHandlerName="MovimentiScaricoRowChangeEventHandler" msprop:Generator_RowDeletedName="MovimentiScaricoRowDeleted" msprop:Generator_RowClassName="MovimentiScaricoRow" msprop:Generator_UserTableName="MovimentiScarico" msprop:Generator_RowEvArgName="MovimentiScaricoRowChangeEvent">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="Articolo" msprop:Generator_ColumnVarNameInTable="columnArticolo" msprop:Generator_ColumnPropNameInRow="Articolo" msprop:Generator_ColumnPropNameInTable="ArticoloColumn" msprop:Generator_UserColumnName="Articolo" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="32" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="GiacenzaCarico" msprop:Generator_ColumnVarNameInTable="columnGiacenzaCarico" msprop:Generator_ColumnPropNameInRow="GiacenzaCarico" msprop:Generator_ColumnPropNameInTable="GiacenzaCaricoColumn" msprop:Generator_UserColumnName="GiacenzaCarico" type="xs:double" minOccurs="0" />
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:choice>
|
||||||
|
</xs:complexType>
|
||||||
|
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||||
|
<xs:selector xpath=".//mstns:Articoli" />
|
||||||
|
<xs:field xpath="mstns:Articolo" />
|
||||||
|
</xs:unique>
|
||||||
|
<xs:unique name="Fornitori_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||||
|
<xs:selector xpath=".//mstns:Fornitori" />
|
||||||
|
<xs:field xpath="mstns:Fornitore" />
|
||||||
|
</xs:unique>
|
||||||
|
<xs:unique name="Movimenti_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||||
|
<xs:selector xpath=".//mstns:Movimenti" />
|
||||||
|
<xs:field xpath="mstns:IDMovimento" />
|
||||||
|
</xs:unique>
|
||||||
|
</xs:element>
|
||||||
|
<xs:annotation>
|
||||||
|
<xs:appinfo>
|
||||||
|
<msdata:Relationship name="FornitoriArticoli" msdata:parent="Fornitori" msdata:child="Articoli" msdata:parentkey="Fornitore" msdata:childkey="Fornitore" msprop:Generator_UserChildTable="Articoli" msprop:Generator_ChildPropName="GetArticoliRows" msprop:Generator_UserRelationName="FornitoriArticoli" msprop:Generator_ParentPropName="FornitoriRow" msprop:Generator_RelationVarName="relationFornitoriArticoli" msprop:Generator_UserParentTable="Fornitori" />
|
||||||
|
<msdata:Relationship name="ArticoliMovimenti" msdata:parent="Articoli" msdata:child="Movimenti" msdata:parentkey="Articolo" msdata:childkey="Articolo" msprop:Generator_UserChildTable="Movimenti" msprop:Generator_ChildPropName="GetMovimentiRows" msprop:Generator_UserRelationName="ArticoliMovimenti" msprop:Generator_RelationVarName="relationArticoliMovimenti" msprop:Generator_UserParentTable="Articoli" msprop:Generator_ParentPropName="ArticoliRow" />
|
||||||
|
</xs:appinfo>
|
||||||
|
</xs:annotation>
|
||||||
|
</xs:schema>
|
||||||
46
Inventario/InventarioDataSet.xss
Normal file
46
Inventario/InventarioDataSet.xss
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--<autogenerated>
|
||||||
|
This code was generated by a tool to store the dataset designer's layout information.
|
||||||
|
Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
the code is regenerated.
|
||||||
|
</autogenerated>-->
|
||||||
|
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||||
|
<Shapes>
|
||||||
|
<Shape ID="DesignTable:Articoli" ZOrder="8" X="70" Y="70" Height="229" Width="187" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="24" SplitterPosition="178" />
|
||||||
|
<Shape ID="DesignTable:Fornitori" ZOrder="7" X="327" Y="70" Height="134" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||||
|
<Shape ID="DesignTable:Movimenti" ZOrder="6" X="327" Y="274" Height="172" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||||
|
<Shape ID="DesignTable:Giacenze" ZOrder="5" X="605" Y="70" Height="115" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||||
|
<Shape ID="DesignTable:MovimentiCarico" ZOrder="4" X="871" Y="70" Height="115" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||||
|
<Shape ID="DesignTable:MovimentiScarico" ZOrder="3" X="1185" Y="70" Height="115" Width="249" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||||
|
</Shapes>
|
||||||
|
<Connectors>
|
||||||
|
<Connector ID="DesignRelation:FornitoriArticoli" ZOrder="2" LineWidth="11">
|
||||||
|
<RoutePoints>
|
||||||
|
<Point>
|
||||||
|
<X>327</X>
|
||||||
|
<Y>137</Y>
|
||||||
|
</Point>
|
||||||
|
<Point>
|
||||||
|
<X>257</X>
|
||||||
|
<Y>137</Y>
|
||||||
|
</Point>
|
||||||
|
</RoutePoints>
|
||||||
|
</Connector>
|
||||||
|
<Connector ID="DesignRelation:ArticoliMovimenti" ZOrder="1" LineWidth="11">
|
||||||
|
<RoutePoints>
|
||||||
|
<Point>
|
||||||
|
<X>240</X>
|
||||||
|
<Y>299</Y>
|
||||||
|
</Point>
|
||||||
|
<Point>
|
||||||
|
<X>240</X>
|
||||||
|
<Y>307</Y>
|
||||||
|
</Point>
|
||||||
|
<Point>
|
||||||
|
<X>327</X>
|
||||||
|
<Y>307</Y>
|
||||||
|
</Point>
|
||||||
|
</RoutePoints>
|
||||||
|
</Connector>
|
||||||
|
</Connectors>
|
||||||
|
</DiagramLayout>
|
||||||
263
Inventario/Main.Designer.cs
generated
Normal file
263
Inventario/Main.Designer.cs
generated
Normal file
@@ -0,0 +1,263 @@
|
|||||||
|
|
||||||
|
namespace Inventario
|
||||||
|
{
|
||||||
|
partial class Main
|
||||||
|
{
|
||||||
|
/// <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.components = new System.ComponentModel.Container();
|
||||||
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||||
|
this.giacenzaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.articoloDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.Descrizione = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.giacenzeBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.inventarioDataSet = new Inventario.InventarioDataSet();
|
||||||
|
this.ButtonInserisciArticoli = new System.Windows.Forms.Button();
|
||||||
|
this.ButtonInserisciFornitori = new System.Windows.Forms.Button();
|
||||||
|
this.ButtonInserisciMovimenti = new System.Windows.Forms.Button();
|
||||||
|
this.inventarioDataSetBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.giacenzeTableAdapter = new Inventario.InventarioDataSetTableAdapters.GiacenzeTableAdapter();
|
||||||
|
this.ButtonElencoArticoli = new System.Windows.Forms.Button();
|
||||||
|
this.ButtonElencoFornitori = new System.Windows.Forms.Button();
|
||||||
|
this.ButtonElencoMovimenti = new System.Windows.Forms.Button();
|
||||||
|
this.ButtonAggiorna = new System.Windows.Forms.Button();
|
||||||
|
this.ButtonCerca = new System.Windows.Forms.Button();
|
||||||
|
this.TextCerca = new System.Windows.Forms.TextBox();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.giacenzeBindingSource)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.inventarioDataSet)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.inventarioDataSetBindingSource)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// dataGridView1
|
||||||
|
//
|
||||||
|
this.dataGridView1.AllowDrop = true;
|
||||||
|
this.dataGridView1.AllowUserToAddRows = false;
|
||||||
|
this.dataGridView1.AllowUserToDeleteRows = 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.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.giacenzaDataGridViewTextBoxColumn,
|
||||||
|
this.articoloDataGridViewTextBoxColumn,
|
||||||
|
this.Descrizione});
|
||||||
|
this.dataGridView1.DataSource = this.giacenzeBindingSource;
|
||||||
|
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2;
|
||||||
|
this.dataGridView1.Enabled = false;
|
||||||
|
this.dataGridView1.Location = new System.Drawing.Point(12, 154);
|
||||||
|
this.dataGridView1.Name = "dataGridView1";
|
||||||
|
this.dataGridView1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||||
|
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
||||||
|
this.dataGridView1.Size = new System.Drawing.Size(910, 218);
|
||||||
|
this.dataGridView1.TabIndex = 0;
|
||||||
|
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
|
||||||
|
//
|
||||||
|
// giacenzaDataGridViewTextBoxColumn
|
||||||
|
//
|
||||||
|
this.giacenzaDataGridViewTextBoxColumn.DataPropertyName = "Giacenza";
|
||||||
|
this.giacenzaDataGridViewTextBoxColumn.HeaderText = "Giacenza";
|
||||||
|
this.giacenzaDataGridViewTextBoxColumn.Name = "giacenzaDataGridViewTextBoxColumn";
|
||||||
|
this.giacenzaDataGridViewTextBoxColumn.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// articoloDataGridViewTextBoxColumn
|
||||||
|
//
|
||||||
|
this.articoloDataGridViewTextBoxColumn.DataPropertyName = "Articolo";
|
||||||
|
this.articoloDataGridViewTextBoxColumn.HeaderText = "Articolo";
|
||||||
|
this.articoloDataGridViewTextBoxColumn.Name = "articoloDataGridViewTextBoxColumn";
|
||||||
|
//
|
||||||
|
// Descrizione
|
||||||
|
//
|
||||||
|
this.Descrizione.DataPropertyName = "Descrizione";
|
||||||
|
this.Descrizione.HeaderText = "Descrizione";
|
||||||
|
this.Descrizione.Name = "Descrizione";
|
||||||
|
//
|
||||||
|
// giacenzeBindingSource
|
||||||
|
//
|
||||||
|
this.giacenzeBindingSource.DataMember = "Giacenze";
|
||||||
|
this.giacenzeBindingSource.DataSource = this.inventarioDataSet;
|
||||||
|
//
|
||||||
|
// inventarioDataSet
|
||||||
|
//
|
||||||
|
this.inventarioDataSet.DataSetName = "InventarioDataSet";
|
||||||
|
this.inventarioDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
|
// ButtonInserisciArticoli
|
||||||
|
//
|
||||||
|
this.ButtonInserisciArticoli.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
|
this.ButtonInserisciArticoli.Location = new System.Drawing.Point(12, 12);
|
||||||
|
this.ButtonInserisciArticoli.Name = "ButtonInserisciArticoli";
|
||||||
|
this.ButtonInserisciArticoli.Size = new System.Drawing.Size(300, 50);
|
||||||
|
this.ButtonInserisciArticoli.TabIndex = 2;
|
||||||
|
this.ButtonInserisciArticoli.Text = "INSERISCI ARTICOLI";
|
||||||
|
this.ButtonInserisciArticoli.UseVisualStyleBackColor = true;
|
||||||
|
this.ButtonInserisciArticoli.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// ButtonInserisciFornitori
|
||||||
|
//
|
||||||
|
this.ButtonInserisciFornitori.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
|
this.ButtonInserisciFornitori.Location = new System.Drawing.Point(318, 12);
|
||||||
|
this.ButtonInserisciFornitori.Name = "ButtonInserisciFornitori";
|
||||||
|
this.ButtonInserisciFornitori.Size = new System.Drawing.Size(300, 50);
|
||||||
|
this.ButtonInserisciFornitori.TabIndex = 3;
|
||||||
|
this.ButtonInserisciFornitori.Text = "INSERISCI FORNITORI";
|
||||||
|
this.ButtonInserisciFornitori.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// ButtonInserisciMovimenti
|
||||||
|
//
|
||||||
|
this.ButtonInserisciMovimenti.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
|
this.ButtonInserisciMovimenti.Location = new System.Drawing.Point(624, 12);
|
||||||
|
this.ButtonInserisciMovimenti.Name = "ButtonInserisciMovimenti";
|
||||||
|
this.ButtonInserisciMovimenti.Size = new System.Drawing.Size(300, 50);
|
||||||
|
this.ButtonInserisciMovimenti.TabIndex = 4;
|
||||||
|
this.ButtonInserisciMovimenti.Text = "INSERISCI MOVIMENTI";
|
||||||
|
this.ButtonInserisciMovimenti.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// inventarioDataSetBindingSource
|
||||||
|
//
|
||||||
|
this.inventarioDataSetBindingSource.DataSource = this.inventarioDataSet;
|
||||||
|
this.inventarioDataSetBindingSource.Position = 0;
|
||||||
|
//
|
||||||
|
// giacenzeTableAdapter
|
||||||
|
//
|
||||||
|
this.giacenzeTableAdapter.ClearBeforeFill = true;
|
||||||
|
//
|
||||||
|
// ButtonElencoArticoli
|
||||||
|
//
|
||||||
|
this.ButtonElencoArticoli.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
|
this.ButtonElencoArticoli.Location = new System.Drawing.Point(12, 68);
|
||||||
|
this.ButtonElencoArticoli.Name = "ButtonElencoArticoli";
|
||||||
|
this.ButtonElencoArticoli.Size = new System.Drawing.Size(300, 50);
|
||||||
|
this.ButtonElencoArticoli.TabIndex = 5;
|
||||||
|
this.ButtonElencoArticoli.Text = "ELENCO ARTICOLI";
|
||||||
|
this.ButtonElencoArticoli.UseVisualStyleBackColor = true;
|
||||||
|
this.ButtonElencoArticoli.Click += new System.EventHandler(this.ButtonElencoArticoli_Click);
|
||||||
|
//
|
||||||
|
// ButtonElencoFornitori
|
||||||
|
//
|
||||||
|
this.ButtonElencoFornitori.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
|
this.ButtonElencoFornitori.Location = new System.Drawing.Point(318, 68);
|
||||||
|
this.ButtonElencoFornitori.Name = "ButtonElencoFornitori";
|
||||||
|
this.ButtonElencoFornitori.Size = new System.Drawing.Size(300, 50);
|
||||||
|
this.ButtonElencoFornitori.TabIndex = 6;
|
||||||
|
this.ButtonElencoFornitori.Text = "ELENCO FORNITORI";
|
||||||
|
this.ButtonElencoFornitori.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// ButtonElencoMovimenti
|
||||||
|
//
|
||||||
|
this.ButtonElencoMovimenti.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
|
this.ButtonElencoMovimenti.Location = new System.Drawing.Point(624, 68);
|
||||||
|
this.ButtonElencoMovimenti.Name = "ButtonElencoMovimenti";
|
||||||
|
this.ButtonElencoMovimenti.Size = new System.Drawing.Size(300, 50);
|
||||||
|
this.ButtonElencoMovimenti.TabIndex = 7;
|
||||||
|
this.ButtonElencoMovimenti.Text = "ELENCO MOVIMENTI";
|
||||||
|
this.ButtonElencoMovimenti.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// ButtonAggiorna
|
||||||
|
//
|
||||||
|
this.ButtonAggiorna.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
|
this.ButtonAggiorna.Location = new System.Drawing.Point(722, 122);
|
||||||
|
this.ButtonAggiorna.Name = "ButtonAggiorna";
|
||||||
|
this.ButtonAggiorna.Size = new System.Drawing.Size(200, 25);
|
||||||
|
this.ButtonAggiorna.TabIndex = 8;
|
||||||
|
this.ButtonAggiorna.Text = "AGGIORNA";
|
||||||
|
this.ButtonAggiorna.UseVisualStyleBackColor = true;
|
||||||
|
this.ButtonAggiorna.Click += new System.EventHandler(this.ButtonAggiorna_Click);
|
||||||
|
//
|
||||||
|
// ButtonCerca
|
||||||
|
//
|
||||||
|
this.ButtonCerca.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
|
this.ButtonCerca.Location = new System.Drawing.Point(12, 122);
|
||||||
|
this.ButtonCerca.Name = "ButtonCerca";
|
||||||
|
this.ButtonCerca.Size = new System.Drawing.Size(200, 25);
|
||||||
|
this.ButtonCerca.TabIndex = 9;
|
||||||
|
this.ButtonCerca.Text = "CERCA PER ARTICOLO";
|
||||||
|
this.ButtonCerca.UseVisualStyleBackColor = true;
|
||||||
|
this.ButtonCerca.Click += new System.EventHandler(this.ButtonCerca_Click);
|
||||||
|
//
|
||||||
|
// TextCerca
|
||||||
|
//
|
||||||
|
this.TextCerca.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
|
this.TextCerca.Location = new System.Drawing.Point(218, 125);
|
||||||
|
this.TextCerca.Name = "TextCerca";
|
||||||
|
this.TextCerca.Size = new System.Drawing.Size(498, 20);
|
||||||
|
this.TextCerca.TabIndex = 10;
|
||||||
|
//
|
||||||
|
// Main
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.AutoSize = true;
|
||||||
|
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||||
|
this.ClientSize = new System.Drawing.Size(934, 384);
|
||||||
|
this.Controls.Add(this.TextCerca);
|
||||||
|
this.Controls.Add(this.ButtonCerca);
|
||||||
|
this.Controls.Add(this.ButtonAggiorna);
|
||||||
|
this.Controls.Add(this.ButtonElencoMovimenti);
|
||||||
|
this.Controls.Add(this.ButtonElencoFornitori);
|
||||||
|
this.Controls.Add(this.ButtonElencoArticoli);
|
||||||
|
this.Controls.Add(this.ButtonInserisciMovimenti);
|
||||||
|
this.Controls.Add(this.ButtonInserisciFornitori);
|
||||||
|
this.Controls.Add(this.ButtonInserisciArticoli);
|
||||||
|
this.Controls.Add(this.dataGridView1);
|
||||||
|
this.MinimumSize = new System.Drawing.Size(950, 423);
|
||||||
|
this.Name = "Main";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Gestione Inventario - Carrozzeria Brancato [2021 - Alberto Balbo - v1.0]";
|
||||||
|
this.Load += new System.EventHandler(this.Main_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.giacenzeBindingSource)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.inventarioDataSet)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.inventarioDataSetBindingSource)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
private System.Windows.Forms.BindingSource inventarioDataSetBindingSource;
|
||||||
|
private InventarioDataSet inventarioDataSet;
|
||||||
|
private System.Windows.Forms.BindingSource giacenzeBindingSource;
|
||||||
|
private InventarioDataSetTableAdapters.GiacenzeTableAdapter giacenzeTableAdapter;
|
||||||
|
private System.Windows.Forms.Button ButtonInserisciArticoli;
|
||||||
|
private System.Windows.Forms.Button ButtonInserisciFornitori;
|
||||||
|
private System.Windows.Forms.Button ButtonInserisciMovimenti;
|
||||||
|
private System.Windows.Forms.Button ButtonElencoArticoli;
|
||||||
|
private System.Windows.Forms.Button ButtonElencoFornitori;
|
||||||
|
private System.Windows.Forms.Button ButtonElencoMovimenti;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn giacenzaDataGridViewTextBoxColumn;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn articoloDataGridViewTextBoxColumn;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn Descrizione;
|
||||||
|
private System.Windows.Forms.DataGridView dataGridView1;
|
||||||
|
private System.Windows.Forms.Button ButtonAggiorna;
|
||||||
|
private System.Windows.Forms.Button ButtonCerca;
|
||||||
|
private System.Windows.Forms.TextBox TextCerca;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
75
Inventario/Main.cs
Normal file
75
Inventario/Main.cs
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
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 Main : Form
|
||||||
|
{
|
||||||
|
public Main()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Main_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.WindowState = FormWindowState.Maximized;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
this.giacenzeTableAdapter.Fill(this.inventarioDataSet.Giacenze);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show(ex.Message + "\nImpossibile leggere il database.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void label1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ModificaArticoli form = new ModificaArticoli();
|
||||||
|
form.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ButtonElencoArticoli_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ElencoArticoli form = new ElencoArticoli();
|
||||||
|
form.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ButtonCerca_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ButtonAggiorna_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
this.giacenzeTableAdapter.Fill(this.inventarioDataSet.Giacenze);
|
||||||
|
|
||||||
|
MessageBox.Show("Giacenze aggiornate.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show(ex.Message + "\nImpossibile leggere il database.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
135
Inventario/Main.resx
Normal file
135
Inventario/Main.resx
Normal 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="Descrizione.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="giacenzeBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>566, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="inventarioDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>190, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="inventarioDataSetBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>339, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="giacenzeTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
22
Inventario/Program.cs
Normal file
22
Inventario/Program.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Inventario
|
||||||
|
{
|
||||||
|
static class Program
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Punto di ingresso principale dell'applicazione.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
Application.Run(new Main());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
Inventario/Properties/AssemblyInfo.cs
Normal file
36
Inventario/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// Le informazioni generali relative a un assembly sono controllate dal seguente
|
||||||
|
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
|
||||||
|
// associate a un assembly.
|
||||||
|
[assembly: AssemblyTitle("Inventario")]
|
||||||
|
[assembly: AssemblyDescription("Gestione Invetario Gomme per Carrozzeria Brancato")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("Alberto Balbo")]
|
||||||
|
[assembly: AssemblyProduct("Inventario")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2021")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili
|
||||||
|
// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da
|
||||||
|
// COM, impostare su true l'attributo ComVisible per tale tipo.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// Se il progetto viene esposto a COM, il GUID seguente verrà utilizzato come ID della libreria dei tipi
|
||||||
|
[assembly: Guid("b427e667-bba7-4c22-ae87-7c29ba9542f7")]
|
||||||
|
|
||||||
|
// Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori:
|
||||||
|
//
|
||||||
|
// Versione principale
|
||||||
|
// Versione secondaria
|
||||||
|
// Numero di build
|
||||||
|
// Revisione
|
||||||
|
//
|
||||||
|
// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
|
||||||
|
// usando l'asterisco '*' come illustrato di seguito:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
63
Inventario/Properties/Resources.Designer.cs
generated
Normal file
63
Inventario/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Il codice è stato generato da uno strumento.
|
||||||
|
// Versione runtime:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
|
||||||
|
// il codice viene rigenerato.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Inventario.Properties {
|
||||||
|
using System;
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via.
|
||||||
|
/// </summary>
|
||||||
|
// Questa classe è stata generata automaticamente dalla classe StronglyTypedResourceBuilder.
|
||||||
|
// tramite uno strumento quale ResGen o Visual Studio.
|
||||||
|
// Per aggiungere o rimuovere un membro, modificare il file con estensione ResX ed eseguire nuovamente ResGen
|
||||||
|
// con l'opzione /str oppure ricompilare il progetto VS.
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
internal class Resources {
|
||||||
|
|
||||||
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
|
internal Resources() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Restituisce l'istanza di ResourceManager nella cache utilizzata da questa classe.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
|
get {
|
||||||
|
if (object.ReferenceEquals(resourceMan, null)) {
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Inventario.Properties.Resources", typeof(Resources).Assembly);
|
||||||
|
resourceMan = temp;
|
||||||
|
}
|
||||||
|
return resourceMan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte le
|
||||||
|
/// ricerche di risorse eseguite utilizzando questa classe di risorse fortemente tipizzata.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Globalization.CultureInfo Culture {
|
||||||
|
get {
|
||||||
|
return resourceCulture;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
resourceCulture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
117
Inventario/Properties/Resources.resx
Normal file
117
Inventario/Properties/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
<?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.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: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" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</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" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
36
Inventario/Properties/Settings.Designer.cs
generated
Normal file
36
Inventario/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Il codice è stato generato da uno strumento.
|
||||||
|
// Versione runtime:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
|
||||||
|
// il codice viene rigenerato.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Inventario.Properties {
|
||||||
|
|
||||||
|
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")]
|
||||||
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||||
|
|
||||||
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
|
public static Settings Default {
|
||||||
|
get {
|
||||||
|
return defaultInstance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\\Inventario.accdb")]
|
||||||
|
public string InventarioConnectionString {
|
||||||
|
get {
|
||||||
|
return ((string)(this["InventarioConnectionString"]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
14
Inventario/Properties/Settings.settings
Normal file
14
Inventario/Properties/Settings.settings
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Inventario.Properties" GeneratedClassName="Settings">
|
||||||
|
<Profiles />
|
||||||
|
<Settings>
|
||||||
|
<Setting Name="InventarioConnectionString" Type="(Connection string)" Scope="Application">
|
||||||
|
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||||
|
<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<ConnectionString>Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\Inventario.accdb</ConnectionString>
|
||||||
|
<ProviderName>System.Data.OleDb</ProviderName>
|
||||||
|
</SerializableConnectionString></DesignTimeValue>
|
||||||
|
<Value Profile="(Default)">Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\Inventario.accdb</Value>
|
||||||
|
</Setting>
|
||||||
|
</Settings>
|
||||||
|
</SettingsFile>
|
||||||
Reference in New Issue
Block a user