Files
Callisto/Inventario/Form/Articoli/ModificaArticoli.Designer.cs
Alberto Balbo 1bd26507af 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.
2025-08-17 22:37:15 +02:00

462 lines
23 KiB
C#

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;
}
}