From 83f7f3da4d729aa5cfab4784af02440e22652d46 Mon Sep 17 00:00:00 2001 From: AndreStork Date: Thu, 29 Jan 2026 08:51:16 +0100 Subject: [PATCH] Aggiunta ComboBox stato --- GestionePizzeForm.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/GestionePizzeForm.cs b/GestionePizzeForm.cs index c03091b..7cf466b 100644 --- a/GestionePizzeForm.cs +++ b/GestionePizzeForm.cs @@ -10,7 +10,7 @@ namespace PizzaExpress_Client private readonly ListBox _lstPizze; private readonly TextBox _txtId, _txtNome, _txtPrezzo, _txtRicerca, _txtNote; - private readonly ComboBox _cmbCategoria; + private readonly ComboBox _cmbCategoria, _cmbStato; private readonly Button _btnAggiungi, _btnAggiorna, _btnElimina, _btnElenco, _btnCosto; @@ -166,6 +166,17 @@ namespace PizzaExpress_Client pnlRight.Controls.Add(_txtNote, 1, 5); + //Stato + pnlRight.Controls.Add(new Label { Text = "Stato:" }, 0, 6); + _cmbStato = new ComboBox + { + Width = 200, + DropDownStyle = ComboBoxStyle.DropDown, + Anchor = AnchorStyles.Left + }; + _cmbStato.Items.AddRange(new[] { "Rifiutata", "Ordinata", "In preparazione", "Preparata", "Servita"}); + pnlRight.Controls.Add(_cmbStato, 1, 6); + // ====================================================== // PANNELLO PULSANTI — ALLINEATO COL CAMPO NOME (SX) // ======================================================